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 308518 - Restoring a maximised window from the system tray gives window of wrong size
Restoring a maximised window from the system tray gives window of wrong size
Status: RESOLVED DUPLICATE of bug 137185
Product: metacity
Classification: Other
Component: general
2.8.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2005-06-21 12:56 UTC by John Pye
Modified: 2005-08-26 22:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description John Pye 2005-06-21 12:56:01 UTC
Version details: 2.8.6-2 (FC3), libgnome 2.8.0-2 (FC3)
Distribution/Version: Fedora Core 3 / FC3

I have tested this with both GAIM and amaroK. When either of these applications
is maximised and then 'closed' (clicking '[X]') to the system track, and then
restored (clicking the application's icon in the system tray), the application
cmes back NOT minimised. In fact, it comes back /almost maximised/ - it's
top-left position is correct, and the height is correct, but the window width is
about 8 pixels too wide, such that the right-hand-side of the window hangs off
the edge of the screen. Also, instead of the window showing a 'restore' icon in
the middle icon of the top right of the window, it shows a 'maximise' icon,
indicating that it's forgotten that it was previously maximused.

I reported this over in KDE bugs originally, but I'm using GNOME (under FC3) so
 I think that I actually should report here. Sorry if it's already been
reported. I couldn't find it anywhere in bugzilla here.

Also, just noticed: when I start up Synaptic having previously run it maximised,
this same too-large-window thing happens as well.

extra keywords: maximize maximized, minimize minimized.
Comment 1 Havoc Pennington 2005-06-24 21:44:20 UTC
It's most likely an application bug. If the app unmaps the window, metacity
won't track it across the unmap.

The apps should probably be minimizing themselves rather than hiding/unmapping.
They could set skip_taskbar if the tray icon is enabled.

Alternatively the apps could unmap but record the state (including maximized)
across the unmap.
Comment 2 John Pye 2005-06-25 06:04:35 UTC
FYI
http://bugs.kde.org/show_bug.cgi?id=107844
Comment 3 John Pye 2005-06-25 06:11:29 UTC
Also note that Lubos Lunak thought this issue could be related to another issue
with maximised applications forgetting their 'always on top' status. Could it be
some strange interaction between KDE & GNOME going on?

http://bugs.kde.org/show_bug.cgi?id=59572

Any thoughts?
Comment 4 Elijah Newren 2005-07-14 22:44:30 UTC
Actually, metacity messes up on unmap with maximized windows.  I'm fairly sure
that this is a duplicate of bug 137185.  John: Any chance you could test whether
the patch in that bug fixes this problem for you?
Comment 5 Elijah Newren 2005-08-26 22:14:35 UTC
No response, I'll assume it's a dupe of bug 137185.

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