Skip to content

When plugging in and out an second monitor, the space for the panels is not reserved anymore

Submitted by Benjamin Schubert

Assigned to Olivier Fourdan @olivier

Link to original bug (#12085)

Description

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 !