[window management] Minimizing and restoring a large window automatically maximizes it

Bug #778111 reported by Colin Law
6
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-0ubuntu2~bzr558 from daily build ppa on Ubuntu 11.04. If a window is too large to fit completely on the screen (at least I think that is the trigger) then using Super D twice results in the window being maximised.
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.

Revision history for this message
Olivier Tilloy (osomon) wrote :

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

Changed in unity-2d:
status: New → Confirmed
summary: - Super D twice maximises large windows
+ [window management] Minimizing and restoring a large window
+ automatically maximizes it
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 report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.