Bug 177025 - Task panel fails to pick up GIMP image windows
Summary: Task panel fails to pick up GIMP image windows
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-taskbar (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 00:56 UTC by kgw
Modified: 2008-12-17 07:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kgw 2008-12-06 00:56:55 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When opening The Gimp (current 2.6.3) from a commandline or from a gwenview browser window there only is a 50% chance that both the toolbox and the image window will be listed by the task panel. Most of the times the toolbox gets picked up but the image window is not. Opening another image window opens this in the same gimp window but it isn't grouped together with the gimp toolbox.
I'd expect all Gimp windows to be picked up by the task panel and they should all be grouped together under the toolbox heading.
Comment 1 Aaron J. Seigo 2008-12-06 23:57:22 UTC
I can't reproduce this with 4.2. What version of KDE are you using, and on what OS?
Comment 2 kgw 2008-12-07 00:30:59 UTC
I'm using KDE4 SVN trunk compiled on 2008-12-05, a new compile is currently working.
Comment 3 kgw 2008-12-07 00:54:28 UTC
I have found out some additional things. Opening from the console with a small image seems to work reliable. Browsing with gwenview and opening a large image (10 Mp straight as it comes off a DSLR) does the trick. I now have a current KDE4 compiled about half an hour ago and the bug persists. The image window of the first large image loaded from gwenview doesn't appear in the task panel but it is picked up by whatever list is used by the ALT-Tab window switcher...
Comment 4 kgw 2008-12-07 01:09:32 UTC
Another interesting tidbit: I can now reliably prevent the gimp toolbox to be picked up by the ALT-Tab keyboard switching dialog. Simply start the gimp (with gimp not running) from either the command line or gwenview with a large image. While the image is loading you press ALT-Tab and keep the ALT-key depressed. You can see how the image window is entered as "GNU Image Manipulation Program" into the task list and in the end gets renamed to the image name. The toolbox - which opens alongside isn't picked up. 
Comment 5 kgw 2008-12-07 14:27:16 UTC
I investigated still further and found out that gimp-2.6 marks the toolbox per default as a utility window, changing the window hint to normal window does remedy the situation I described above. 
I still think that there is an inconsistency lurking here as the task panel shows the utility window and sometimes fails to pick up the normal window whereas the normal window is picked up by the ALT-Tab switcher but not the utility window.
Some documentation or warning would be nice because GIMP users normally use the window management presets and those are triggering this inconsistent and unworkable behaviour.
Comment 6 Aaron J. Seigo 2008-12-17 02:44:15 UTC
the taskbar does not show utility windows, and we can only go by what the application marks its windows as. so the alt-tab and the taskbar do reflect each other's behaviour.

i think this behaviour is perhaps a little dubious on the gimp's part, but it's certainly up to them, not us =)
Comment 7 kgw 2008-12-17 07:29:10 UTC
So you think that the inconsistent and in turn unworkable behaviour of the alt-tab and taskbar in regard to utility windows is ok, especially as I demonstrated that these windows are handled differently depending on the things you do while they are created?