Desktop doesn't render properly when using glib-thumbnailer.patch
Patch in question can be found here: https://gist.github.com/Dudemanguy/d199759b46a79782cc1b301649dec8a5
It's purpose is to trigger thumbnail generation from outside file manager using dbus (e.g. from file open dialog). Using glib2 patched with this patch causes XFCE4 (4.16, possibly earlier versions too) to display only a black background that cannot be interacted with (e.g. no right click menu). If the desktop icons are disabled, wallpaper is displayed normally. I should add that no errors appear in the system logs while this patch is active, in fact, no difference in system logs whatsoever to a session started with "vanilla" glib2.
I'm aware this glib2 patch isn't officially supported and I'm aware that you, the XFCE4 developers, have every right to close this ticket since this glib2 configuration is a hack. However, looking at the code of the glib2 patch, I'm left wondering: why does it break XFCE4's desktop?
Thank you for reading this.