GNOME Bugzilla – Bug 143102
gThumb SHOULD save sizes when window is maximized
Last modified: 2005-01-12 18:07:58 UTC
Contrary to bug 114070, gThumb _should_ save sizes when the main window is maximized. In GNOME 2.6 (metacity 2.8), when an application requests a size equal to or great than than what it would normally get when maximized, metacity seems to maximize the window. This seems acceptable, but with gthumb's current behaviour of not saving size settings when maximized, it causes the following problem: 1. Open gthumb, and resize window to be as large or larger than it would be in a maximzed state. (This is possible by moving the top left corner of the window a few pixels off the edge of the screen, and then resizing to fill the enter screen.) 2. Close gthumb. Because the window is not technically maximized at this point, gthumb will save the size of the window and the content panels. 3. Open gthumb. It will request this new size, but the window manager will simply maximize it. 4. Use gthumb and resize the sidebar panel and content pane. 5. Close gthumb. It will not save the new size settings, even though the user never explicitly maximized the window. The main rationale for not saving settings when the window is maximized is that when starting gthumb in maximized state, clicking unmaximize won't do anything useful. In fact, metacity 2.8 seems to do the right thing, and unmaximize the window to some reasonable size. I therefore suggest the changes made to fix bug 114070 are reverted.
Created attachment 28004 [details] [review] Removes the "if maximized" checks. This removes the maximized check when closing down to cause gthumb to save positioning info when its window is maximized. Everything works just fine at least with metacity 2.8.
fixed now, thank you.