I have two monitors : one 13'' 1920x1080 a second 27'' 3480x2160 When I plug the second monitor in, everything works fine. If I plug it out, the space for the panels will not be reserved anymore. Here is what wmctrl -d gives : With only the first monitor working : 0 - DG: 1920x1080 VP: N/A WA: 0,31 1920x1018 Workspace 1 1 - DG: 1920x1080 VP: N/A WA: 0,31 1920x1018 Workspace 2 2 * DG: 1920x1080 VP: 0,0 WA: 0,31 1920x1018 Workspace 3 3 - DG: 1920x1080 VP: N/A WA: 0,31 1920x1018 Workspace 4 After plugging in the second monitor : 0 - DG: 5760x2160 VP: N/A WA: 0,31 5760x1018 Workspace 1 1 - DG: 5760x2160 VP: N/A WA: 0,31 5760x1018 Workspace 2 2 * DG: 5760x2160 VP: 0,0 WA: 0,31 5760x1018 Workspace 3 3 - DG: 5760x2160 VP: N/A WA: 0,31 5760x1018 Workspace 4 After unplugging the second monitor (buggy): 0 - DG: 1920x1080 VP: N/A WA: 0,0 1920x1049 Workspace 1 1 - DG: 1920x1080 VP: N/A WA: 0,0 1920x1049 Workspace 2 2 * DG: 1920x1080 VP: 0,0 WA: 0,0 1920x1049 Workspace 3 3 - DG: 1920x1080 VP: N/A WA: 0,0 1920x1049 Workspace 4 After plugging inn the second monitor again (still buggy): 0 - DG: 5760x2160 VP: N/A WA: 0,0 5760x1049 Workspace 1 1 - DG: 5760x2160 VP: N/A WA: 0,0 5760x1049 Workspace 2 2 * DG: 5760x2160 VP: 0,0 WA: 0,0 5760x1049 Workspace 3 3 - DG: 5760x2160 VP: N/A WA: 0,0 5760x1049 Workspace 4 Thanks !
Which exact version of xfwm4 and xfce4-panel are you using? What monitor layout do you use before and after unplugging your monitor (as seen by xrandr)? Where is the xfce4-panel located?
Oh, and please provide as well the output of "xprop _NET_WM_STRUT_PARTIAL" captured on all your panels before and after plugging/unplugging your monitor.
I am using : xfce4-panel 4.12.0-r1 xfwm4 4.12.3-r1 The xfce panels (one on top, one on the bottom, each 30 pixels of height) is on the first (1920x1080) screen everytime, no cross-display xrandr correct before plugging in : Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767 eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 290mm x 170mm 1920x1080 60.01*+ 40.00 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 HDMI1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) xrandr correct after plugging in: Screen 0: minimum 8 x 8, current 5760 x 2160, maximum 32767 x 32767 eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 290mm x 170mm 1920x1080 60.01*+ 40.00 1400x1050 59.98 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 HDMI1 connected 3840x2160+1920+0 (normal left inverted right x axis y axis) 597mm x 336mm 3840x2160 30.00*+ 25.00 24.00 29.97 23.98 1920x1200 59.95 1920x1080 60.00 60.00 50.00 59.94 24.00 23.98 1920x1080i 60.00 50.00 59.94 1600x1200 60.00 1680x1050 59.88 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1280x720 60.00 50.00 59.94 1024x768 75.08 60.00 800x600 75.00 60.32 720x576 50.00 720x576i 50.00 720x480 60.00 59.94 720x480i 60.00 59.94 640x480 75.00 60.00 59.94 720x400 70.08 VIRTUAL1 disconnected (normal left inverted right x axis y axis) The output of xrandr doesn't change after unplugging xprop _NET_WM_STRUT_PARTIAL: monitor unplugged (correct): panel 1: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 31, 0, 0, 0, 0, 0, 0, 1919, 0, 0 panel 2: _NET_WM_STRUT_PARTIAL(CARDINAL) = 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 1919 The output doesn't change when plugging in /out the monitor.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/195. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev