dock icon indicating copy to clipboard operation
dock copied to clipboard

Cannot move window to display below dock.

Open ikogan opened this issue 6 years ago • 1 comments

I have 3 displays arranged like this:

Screenshot from 2019-04-17 23-33-31

I'm completely unable to move any window onto the "Build-in display". My cursor will move below the dock but the window will be stuck above it, eventually "snapping" on to the right side:

output

ikogan avatar Apr 18 '19 04:04 ikogan

same problem as elementary/gala#7

The dock reserves from space starting from its top to the bottom of the Gdk.Screen area: https://github.com/elementary/dock/blob/dabae41e4acea69a7afcc1940d570398e2e0478e/lib/PositionManager.vala#L1505-L1531

Slice 1

Therefore all space below the dock is blocked. The fix which worked for the wingpanel, doesn't work here, because the dock does not span the whole monitor width.

Related to https://github.com/elementary/wingpanel/issues/315 See also: https://gitlab.gnome.org/GNOME/mutter/-/issues/452#note_706118

To fix this the _GNOME_WM_STRUT_AREA specification could be used. It can be used to reserve rectangles starting from individual monitors instead of the entire screen. But it has to be implemented in mutter first.

felix-andreas avatar Jun 01 '20 14:06 felix-andreas