GNOME Bugzilla – Bug 573250
Metacity does not take into account new display size when maximizing applications
Last modified: 2009-04-02 07:06:07 UTC
Please describe the problem: After moving gnome-panels with alt-drag, maximizing an application does not take into account the new situation. Instead, the applications are maximized as if the gnome-panels were still on their old location Steps to reproduce: 1. Move gnome-panels from one monitor on dual screen setup to another with alt + drag 2. Start an application on the monitor where you moved the gnome-panels to 3. Maximize application Actual results: The application's window decoration and status bar are covered by the gnome-panels. Expected results: The application uses the maximum space between the two gnome-panels, and not the whole screen Does this happen every time? Other information: Applications which get maximized on the screen where I moved the gnome-panels away from, don't get maximized to the full screen, but to the space which was available when the gnome-panels were still there.
Created attachment 130334 [details] Screenshot illustrating the panel overlap problem of a vertical dual-monitor setup.
I'm not sure if this is related, but the symptoms are the same. I have a vertical dual monitor setup (as opposed to side-by-side). I'm using the intel Xorg driver with a virtual screen size of 1680x2400. The top monitor takes up 1600x1200 and the bottom is 1680x1050. Both panels show up on my top (primary) display. This puts the bottom "taskbar" panel somewhere in the middle of the virtual screen; the bottom portion of any maximized window is hidden by the panel. I've attached a screenshot (Panel-Overlap.png) illustrating my setup. Notice the bottom Firefox window has a status bar that shows up fine, but the status bar of the top Firefox window is hidden by the panel.
I believe this was bug 572573; please let us know whether tonight's forthcoming release solves your problems. *** This bug has been marked as a duplicate of 572573 ***
Unfortunately the problem described in this bug report still happens in metacity 2.26.0: move a gnome-panel from one monitor to another, maximize an application on the monitor where you moved the panel to: the applications gets partly covered by the panel you moved.
I found an even simpler way to reproduce: in GNOME use System - Preferences - Display (or just xrandr), to set the display to a lower resolution. After that, put it back to the original resolution. Now try to maximize an application: it will only maximize to the size of the lower resolution.
The patch from bug #572573 really fixes this problem, however it seems that this patch is not included yet in 2.26.0? *** This bug has been marked as a duplicate of 572573 ***