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 493399 - Window size problem after maximize/unmaximize
Window size problem after maximize/unmaximize
Status: RESOLVED DUPLICATE of bug 461927
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-11-04 15:46 UTC by Peter Bloomfield
Modified: 2007-11-05 11:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
test case (2.13 KB, text/plain)
2007-11-05 04:22 UTC, Peter Bloomfield
Details

Description Peter Bloomfield 2007-11-04 15:46:58 UTC
If a GtkWindow is maximized using gtk_window_maximize(), then unmaximized by the user, using the window decoration, a later change in its content sometimes causes the window to be resized to fill the screen, although not maximized.

The following test program shows the bug.  The window is initially maximized.  Unmaximize it using the window decoration--it returns to its default size.  Then click one of the buttons.  One adds a short label which fits within the default size--but the window is resized to fill the screen.

Start over, but click the other button--the window correctly grows (with my settings) enough to show the new content.

I'm not sure whether the bug is in Gtk, Gdk, X, or Metacity, but the test program is pure Gtk, so I'm starting here!
Comment 1 Peter Bloomfield 2007-11-05 04:22:43 UTC
Created attachment 98544 [details]
test case

test program
Comment 2 Christian Persch 2007-11-05 09:57:58 UTC
Might be metacity bug 461927.
Comment 3 Peter Bloomfield 2007-11-05 11:46:25 UTC
Yes, that's exactly what I see...resolving as a dup.

Sorry for the noise!

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