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 557816 - GIMP Utility windows under compiz
GIMP Utility windows under compiz
Status: RESOLVED NOTABUG
Product: GIMP
Classification: Other
Component: User Interface
2.6.1
Other Linux
: Normal minor
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-24 21:34 UTC by William Witt
Modified: 2008-10-25 14:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Witt 2008-10-24 21:34:33 UTC
Please describe the problem:
Utility windows produce task bar items using compiz, but not in metacity.  

Steps to reproduce:
1. Enable utility windows in GIMP
2. Enable desktop effects
3. Restart GIMP


Actual results:
Utility windows get their own task bar items

Expected results:
Utility windows should not get their own task bar items

Does this happen every time?
yes

Other information:
Filed a bug for utility window behaviour for Fedora rawhide.  The rendering of the windows was fixed, but the task bar issue was not sighting skip_taskbar hint not being set by GIMP.
  
https://bugzilla.redhat.com/show_bug.cgi?id=466622
Comment 1 Martin Nordholts 2008-10-25 07:39:53 UTC
Hi!

We can't set skip_taskbar because in window managers that supports skip_taskbar but not Utility window you are quite likely to end up in a situation where the toolbox and dock are completely hidden behind the image window. Since they are not shown in the taskbar, there is nothing that hints "you have more windows than the image window on your desktop" which obviously is confusing.

Also, there's a comment in the redhat bug report:

"GIMP expects that utility windows will not show up in the taskbar, which is wrong."

What specification says that it is wrong?
Comment 2 drago01 2008-10-25 08:26:24 UTC
(In reply to comment #1)

> 
> What specification says that it is wrong?
> 

Let me correct this, nothing guarantees that the wm will set skip_taskbar for utility windows, so its wrong to assume that they will not show up in the taskbar.

(afaik only metacity does this).
Comment 3 Martin Nordholts 2008-10-25 08:36:29 UTC
Window managers are of course free to interpret the Utility window hint as they wish (as long as it is within the scope of the relevant specifications), but don't you agree that the interpretation metacity (and the Windows backend for GTK+ since a couple of weeks back) does is reasonable? Why should Utility windows be shown in the taskbar?
Comment 4 Sven Neumann 2008-10-25 09:37:18 UTC
I agree with Martin here. We can't set skip-taskbar for the reasons given in comment #1. In my interpretation of a utility window, it should not have a taskbar item, so that should be a side-effect of setting the utility window hint. Of course if a window manager wants to interpret this differently, it is free to do that. The GIMP user experience will suffer from that though.
Comment 5 Danny Baumann 2008-10-25 14:30:04 UTC
(In reply to comment #4)
> I agree with Martin here. We can't set skip-taskbar for the reasons given in
> comment #1. In my interpretation of a utility window, it should not have a
> taskbar item, so that should be a side-effect of setting the utility window
> hint. 

In that case, Gimp should set skip_taskbar because it obviously is the window behaviour you intend. If a WM doesn't handle Utility as a group transient (such as Compiz until recently), the best idea probably would be to file a bug against the WM (and configure Gimp to use Normal as type for the windows).

If we assume that skip_taskbar should be a side-effect of Utility window type, it would even make a lot of sense if the taskbar did that assumption.