"Move window to x monitor" WM keyboard binds slowly break xfdesktop's alignment and rendering.
Hi team,
I've discovered a strange one.
I frequently make use of Window Manager bindings Move window to left monitor
and Move window to right monitor
bound to Shift+Ctrl+Alt+Left and Shift+Ctrl+Alt+Right respectively. It helps me move my windows around quickly when desired.
I noticed this afternoon that my desktop background's stopped rendering on my monitors as I was switching workspaces(2 monitors, 2 workspaces). Instead of my wallpapers drawing as usual, there was a black void-space due to being drawn there. Dragging a window over the negative space left a hall of mirrors effect where the the void space retained pixels of whatever was drawn to that area last.
I found out I can reproduce this behavior by clicking on the empty Desktop area (xfdesktop) and repeatedly tapping the bindings to move a "Window" to the left and right monitor. Xfdesktop slowly shifts more and more pixels to the right with each repetition instead of returning to its true 0,0 position in Xorg. (Let alone the complication that Xfdesktop can be "shifted" to another monitor at all!). This results in the aforementioned void rendering problem I experienced in the beginning.
It seems running pkill xfdesktop ; xfdesktop & exit
in my terminal is enough to undo this abnormality without having to restart lightdm.
I'm running a 3900x CPU with a 2080Ti GPU. Kernel 6.5.9 and NVIDIA 545.29.02 using xfce4 on lightdm.