! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
When plugging in and out an second monitor, the space for the panels is not r...
Status:
RESOLVED: MOVED

Comments

Description Benjamin Schubert 2015-07-23 10:51:52 CEST
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 !
Comment 1 Olivier Fourdan editbugs 2015-07-23 11:07:01 CEST
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?
Comment 2 Olivier Fourdan editbugs 2015-07-23 11:09:02 CEST
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.
Comment 3 Benjamin Schubert 2015-07-23 11:16:32 CEST
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.
Comment 4 Git Bot editbugs 2020-05-29 12:07:50 CEST
-- 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

Bug #12085

Reported by:
Benjamin Schubert
Reported on: 2015-07-23
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information