Desktop doesn't adapt to the external monitor
Submitted by drasar
Assigned to Xfce Bug Triage
Description
Created attachment 9407 Debug files
Hello,
I have a laptop running Debian bullseye and Xfce. A few days ago (after some packages update) I can see a strange behaviour of my desktop.
Laptop's screen resolution is 1920x1080 and external monitor has 1920x1200. Laptop is configured to disable the internal display when lid is closed.
If I login to the Xfce, connect the external display, and close the lid, then everything work fine - desktop adapts to the external display correctly as expected.
In the attached display_debug-ok.txt file you can find .xsession-errors output after closing the lid (when external display is already connected and laptop's screen switches off).
But after some time (cannot determine what happens) if I disconnect the external monitor and connect it back, then something goes wrong and desktop doesn't adapt again - desktop remains at 1920x1080, so the bottom panel doesn't go down the screen. See display_debug-fail.txt - there are less events than in the previous case. display_desktop.png shows the desktop at that time and display_settings_laptop.png and display_settings_monitor.png show the display settings.
If I re-login to Xfce, then everything work perfectly again for a while.
Here is the list of recently upgraded packages that might be involved:
- xfce4-settings:amd64 (4.14.1-1, 4.14.2-1)
- xfce4-session:amd64 (4.14.0-1+b1, 4.14.1-1)
- libxfce4panel-2.0-4:amd64 (4.14.1-1, 4.14.3-1)
- xfce4-panel:amd64 (4.14.1-1, 4.14.3-1)
- xserver-xorg-core:amd64 (2:1.20.6-1, 2:1.20.7-2)
Thanks Zbynek
Attachment 9407, "Debug files":
debug_files.tar.gz
Version: 4.14.2