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 567332 - Docks do not minimize when set as a Utility Window
Docks do not minimize when set as a Utility Window
Status: RESOLVED INCOMPLETE
Product: GIMP
Classification: Other
Component: User Interface
2.6.4
Other Windows
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 597960 601255 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-01-11 05:50 UTC by Ryto
Modified: 2012-04-20 04:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryto 2009-01-11 05:50:22 UTC
Please describe the problem:
This problem exists on Windows Vista Home Premium with SP1.

If I minimize GIMP's main window, any dock (including the Toolbox) set as a "Utility window" will remain visible.  If I use the Show Desktop command (Windows key + D), the docks will disappear, but will immediately reappear underneath the next window that activates.

Steps to reproduce:
1. Open GIMP
2. Verify that docks are set to behave as Utility windows
   a. In GIMP, Edit > Preferences > Window Management
   b. Set "Hint for the toolbox" and "Hint for other docks" to "Utility window"
   c. Click "OK"
3. Minimize the main GIMP window by any method OR use the Windows "Show Desktop" function

Actual results:
The main GIMP window minimizes, but any docks remain visible.

Expected results:
All GIMP docks should minimize once all GIMP editor windows have been minimized.

Does this happen every time?
Yes

Other information:
I have read http://bugzilla.gnome.org/show_bug.cgi?id=159359 and http://bugzilla.gnome.org/show_bug.cgi?id=159378, but since this behavior is now occurring in a different Operating System, I felt it was appropriate to file a new bug (the metacity bug thread seems to be focusing on a fix local to metacity).

This is not a serious bug, but it is certainly a nuisance when I want those docks to hide (for whatever reason).  Otherwise, the docks are very useful:  less taskbar clutter, always present, and easily accessible.  But when no GIMP windows are in a minimized state, I think that the docks should hide.
Comment 1 Ryto 2009-01-11 06:08:22 UTC
The descriptions of http://bugzilla.gnome.org/show_bug.cgi?id=562602 and http://bugzilla.gnome.org/show_bug.cgi?id=556896 are pretty much on par with what happens on my machine.  Though, is this behavior by design?


Also, I should clarify:

3. Minimize the main GIMP window by any method OR use the Windows "Show
Desktop" function

If you minimize the main GIMP window (the image window), the docks remains visible.  If you use "Show Desktop", the docks will disappear, but they will reappear underneath the next window that becomes active.
Comment 2 Michael Schumacher 2009-01-12 13:04:28 UTC
Please do reference other bugs as "bug #<id>". Then we will get links that do have their summaries set as the title attribute.

That's bug bug #159359, bug #159378, bug #562602, bug #556896.
Comment 3 Michael Schumacher 2009-01-12 16:28:43 UTC
The utility window hint is specified (http://standards.freedesktop.org/wm-spec/wm-spec-1.3.html#id2507144) as:

"_NET_WM_WINDOW_TYPE_UTILITY indicates a small persistent utility window, such as a palette or toolbox. It is distinct from type TOOLBAR because it does not correspond to a toolbar torn off from the main application. It's distinct from type DIALOG because it isn't a transient dialog, the user will probably keep it open while they're working. Windows of this type may set the WM_TRANSIENT_FOR hint indicating the main application window. "

Comment 4 Michael Schumacher 2009-10-09 22:44:30 UTC
*** Bug 597960 has been marked as a duplicate of this bug. ***
Comment 5 Brittany Dunlap 2009-10-09 22:54:12 UTC
I can confirm this bug using the Windows version 2.6.7 in Windows 7 RC.
Comment 6 Brittany Dunlap 2009-10-09 23:52:11 UTC
I reset the window position preferences, and restarted Gimp and now everything minimizes properly.
Comment 7 Brittany Dunlap 2009-10-10 00:04:15 UTC
Nevermind, sorry. It quit working after one try.
Comment 8 Michael Schumacher 2009-10-17 22:41:44 UTC
This seems to work with GTK+ 2.18.
Comment 9 Michael Schumacher 2009-11-09 14:02:33 UTC
*** Bug 601255 has been marked as a duplicate of this bug. ***
Comment 10 b8bv2uhu 2010-03-15 21:31:23 UTC
I would like to confirm this bug's existence.

OS: Windows Vista
GIMP version: 2.6.8
Replication process:
1) Open GIMP.
2) Insure that a dock(s) is open or open one (or more) if not.
3) Minimize GIMP.
4) Observe the bug (eg. the dock/docks remain visible despite GIMP being minimized).
Screenshot: https://docs.google.com/leaf?id=0B0qOqWzppgqYY2YyOGNlMWYtMTg1Zi00MzgyLTk2N2QtNWQyZDZjOWNmNTBm&hl=en
Comments:
While this bug is more of an irritation then a serous problem I think as it happens to all users (at lest Windows users) whenever they use GIMP and it is very obvious it ought to have a higher priority.
Comment 11 Michael Schumacher 2010-03-16 07:54:44 UTC
As I wrote in comment #8, this seems to work as intended with GTK+ 2.18. 
So if some more people could test GIMP with GTK+ 2.18 (ftp://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.18/), any remaining issues may be found.

Please note that 2.18 breaks tablet support for me, so you may want to be cautious and have 2.16 handy if you want to revert.
Comment 12 b8bv2uhu 2010-03-16 13:47:51 UTC
Thanks for adding a link.  I would be more then interested in testing GIMP with GTK+ 2.18 however there are no instructions with the linked packages on how to do so (the packages are meant for developers/packers who already know what they are doing).  While I am quite conferrable not having a windows GUI installer I do need something more to go on (most of the packages don't even have a readme and the two or three that do leave a lot to be desired).
Comment 13 Michael Natterer 2012-01-08 22:27:15 UTC
Please try GIMP 2.7.4 and report back, we won't fix 2.6 bugs any longer.
Comment 14 Akhil Laddha 2012-02-22 09:31:52 UTC
Could you please try to reproduce problem with GIMP 2.7.4 or later version and update the bug report with your findings, tia.
Comment 15 Akhil Laddha 2012-04-20 04:31:44 UTC
Please feel free to reopen this bug if the problem still occurs with a newer
version of GIMP.