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 569812 - Undecorating a maximised window leaves a $SIZE_OF_TITLEBAR gap at the bottom of screen
Undecorating a maximised window leaves a $SIZE_OF_TITLEBAR gap at the bottom ...
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2009-01-30 12:24 UTC by Neil Jagdish Patel
Modified: 2009-02-05 01:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch to queue a resize on undecorate (439 bytes, patch)
2009-01-30 12:27 UTC, Neil Jagdish Patel
committed Details | Review

Description Neil Jagdish Patel 2009-01-30 12:24:55 UTC
Please describe the problem:
When an undecorate request is sent to a maximised window, the window will be repositioned to (0,0), however it doesn't get resized, so you have a 23px gap at the bottom of the screen.

I can't find the original bug that was reported for this, but [1] describes the issue. You can reproduce the issue by using something like Maximus[2] and starting a bunch of nautilus windows, at least one will not be sized properly after undecorate.

[1] https://bugs.launchpad.net/netbook-remix/+bug/283447
[2] https://launchpad.net/maximus

Steps to reproduce:
1. Use Maximus with /apps/maximus/undecorate in gconf enabled
2. Open Nautilus/Firefox and start pressing Ctrl+N
3. Some of the windows will not be maximised correctly


Actual results:
Some windows, which are maximised when undecorated, will not resize to take up the available space after undecoration.

Expected results:
The should take up the space.

Does this happen every time?
I see it 2/5 windows.

Other information:
Comment 1 Neil Jagdish Patel 2009-01-30 12:27:13 UTC
Created attachment 127535 [details] [review]
Patch to queue a resize on undecorate
Comment 2 Thomas Thurman 2009-02-05 01:06:44 UTC
Seems reasonable to me.  Committed with thanks.
http://svn.gnome.org/viewvc/metacity?rev=4114&view=rev