Skip to content

since Xfce 4.20, icons are drawn on the wrong screen when switching display profiles

Issue Description

Hi, I'm on gentoo. A few days ago Xfce was update to 4.20 (xfce-base/xfdesktop-4.20.0).

I have two screens, and with xfce4-display-settings I setted up several profiles which allow me to quickly disable/enable some screens.

desktop_both_screens desktop_both_screens_profile

When using the configuration in the two screenshots above, I set up icons to be drawn on the left screen, see the following screenshot :

both_screens

Now, I often switch from a display profile to another. This allow me disable a screen to physically unplug it. In the three screenshots below, I switch to right_screen display profile, and the icons are redrawn to the remaining screen.

desktop_right_screen desktop_right_screen_profile right_screen

Here comes the problem. When switching back to desktop_both_screens profile, with both screens enabled, icons are staying on the right screen :

desktop_both_screens desktop_both_screens_profile both_screens_back

This is 100% reproductible, and it didn't happen with Xfce 4.18. I would like that xfdesktop to be able to recognize the previous configuration. It should redraw the icons on the left screen with their position. If needed I can test patchs by recompiling xfdesktop. Thank you.

Environment & Versions

  • OS distribution and version: Gentoo
  • Overall Xfce version: 4.20
  • xfdesktop version (git hash if not a release): 4.20.0
  • Windowing system (X11/Wayland): X11