GNOME Bugzilla – Bug 493399
Window size problem after maximize/unmaximize
Last modified: 2007-11-05 11:46:25 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!
Created attachment 98544 [details] test case test program
Might be metacity bug 461927.
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 ***