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 563029 - Closing maximized image doesn't restore document window size
Closing maximized image doesn't restore document window size
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.6.1
Other Linux
: Normal normal
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-12-02 21:09 UTC by Mathias Hasselmann (IRC: tbf)
Modified: 2009-06-17 19:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathias Hasselmann (IRC: tbf) 2008-12-02 21:09:46 UTC
1. Start GIMP
2. Resize empty document window to be very small
3. Load an image
4. Let the window manager maximize the image window
5. Close the image

Expected behavior:

Empty document window becomes small again.

Current behavior:

Empty document window remains maximized.
Comment 1 Michael Natterer 2008-12-03 18:17:01 UTC
Easily fixable by setting the window state accordingly.
Comment 2 Michael Natterer 2009-06-17 19:32:32 UTC
Fixed in master and gimp-2-6:

commit d93941df7c7035da0ded7fe7f30e261d12076401
Author: Michael Natterer <mitch@gimp.org>
Date:   Wed Jun 17 21:29:08 2009 +0200

    Bug 563029 - Closing maximized image doesn't restore document window size
    
    (gimp_display_shell_empty): Call gtk_window_unmaximize() before
    setting the empty display's size.

 app/display/gimpdisplayshell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)