After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 572921 - When visible area changes size, windows don't adapt
When visible area changes size, windows don't adapt
Status: RESOLVED DUPLICATE of bug 572573
Product: metacity
Classification: Other
Component: general
trunk
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2009-02-23 23:26 UTC by Ori Avtalion
Modified: 2009-03-12 01:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Ori Avtalion 2009-02-23 23:26:16 UTC
Please describe the problem:
When the visible desktop area changes size, e.g. when adding/removing a panel, the windows don't seem to mind.

Currently maximized windows will not change their dimensions to adapt to the new area, even after unmaximizing and maximizing them again resizing and maximizing windows.

Steps to reproduce:
1. Start metacity while a gnome-panel is visible.
2. Maximize a window.
3. Right click on the panel and delete it, or choose "properties" and change its orientation.



Actual results:
The window will not change dimensions.

Expected results:
The window should change dimensions to fit the new visible area.

Does this happen every time?
Yes

Other information:
The first metacity revision that displays this behavior is r4090.

Adding new panels *does* cause the windows to change their dimensions.
I am not sure whether this is a problem of gnome-panel sending two kinds of "visible area changed" messages, one of which metacity no longer support, or whether it's a problem with metacity no longer responding to one of those messages.
Comment 1 Ori Avtalion 2009-02-23 23:34:10 UTC
I did some more testing:

In some cases, deleting a panel does update the windows.

Case I:
Add a new panel and delete it. The maximized window will resize twice.

Case II:
1. Move a top-positioned panel to the bottom. The maximized window will not resize.
2. Add a new panel (by right clicking on an existing panel and choose "new".
3. Delete that panel.

The maximized window will resize to fill the area of the newly-deleted panel, but not the top area, and its bottom will still be hidden by the moved panel.
Comment 2 Thomas Thurman 2009-03-12 01:15:40 UTC
You seem to have nailed it.  I'm making these all dupes of 572573.

*** This bug has been marked as a duplicate of 572573 ***