Created attachment 8368 Screenshot showing background displacement I had GTK_OSD=1 set in /etc/environment in 3 of my four computers running an up-to-date Manjaro distribution and xfdesktop 4.13.3. For those computers, the background image was displaced to the left and up. See attached screenshot. The desktop icon were in their normal locations but the hotspots for those icons were also displaced to the left and up. Removing GTK_OSD=1 restored the background image and hotspots to their correct locations. My 4th computer did not have GTK_OSD=1 set and xfdesktop presented normally. This issue was previously discussed in http://forum.xfce.org/viewtopic.php?id=12417. I filed a bug report because the abnormal behaviour is annoying (especially since the grey bars in my screenshot get filled up with the remnants of any windows that cover them). The issue is also very hard to debug unless you can find the previous discussion.
Fumble fingers strikes again (compounded by copy/paste). GTK_OSD=1 should be GTK_CSD=1
I assume that the easiest solution would be to just unset GTK_CSD in the xfdesktop code.
I've removed the setting GTK_CSD on all my systems with no noticeable impact other than restoring xfdesktop's normal behaviour. Why it got set in the first place is a mystery to me. Unsetting or ignoring that variable would be the best approach. Whether GTK will allow that or not is another mystery. It is my hope that this report will save some other poor soul's time.
Created attachment 8628 proposed patch
Theo Linkspfeifer referenced this bugreport in commit bb2a2fae9e3da79434c1c1e71a30755cc23fd50e Ensure that CSD is not applied to desktop window (Bug #15241) https://git.xfce.org/xfce/xfdesktop/commit?id=bb2a2fae9e3da79434c1c1e71a30755cc23fd50e
With GTK_CSD=1 here icons are far from borders and rubberband is completely broken, Theo's patch solved the problem, thanks.