[window management] Minimizing and restoring a large window automatically maximizes it
Bug #778111 reported by
Colin Law
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-2d |
Invalid
|
Medium
|
Unassigned | ||
unity-2d (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using unity-2d 3.8.4.1-
I see this easily as I have two screens side by side, one taller than the other. If I make a window on the tall screen close to full height, drag it to the smaller screen, then hit Super D twice the window is maximised.
The symptom can be reproduced on a single screen by making the window nearly full height, dragging the window down so half of it is off the bottom of the screen, then expanding the top of the window up. Then Super D twice.
Changed in unity-2d: | |
importance: | Undecided → Medium |
Changed in unity-2d (Ubuntu): | |
status: | New → Confirmed |
Changed in unity-2d: | |
status: | Confirmed → Invalid |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → Invalid |
To post a comment you must log in.
This is actually a different mechanism at work, but the issue is real.
What happens is that by default metacity maximizes windows that occupy more than 75% of the screen space when they are mapped. The main use case is when opening new windows on a small screen (typically a netbook) in order to minimize unused space.
The bug here is that it also happens when a window is minimized and then restored, and it probably shouldn’t (the window is re-mapped when restored, but that’s definitely a different case from opening a new window).
Note that this default behaviour can be disabled by setting /apps/metacity/ general/ auto_maximize_ windows to false:
gconftool-2 --type bool --set /apps/metacity/ general/ auto_maximize_ windows false