Bug 91194

Summary: ksnapshot invisible in ALT + Tab window
Product: [Applications] ksnapshot Reporter: Giovanni Venturi <giovanni>
Component: generalAssignee: Richard Moore <rich>
Status: RESOLVED FIXED    
Severity: normal CC: l.lunak
Priority: NOR    
Version: 0.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Giovanni Venturi 2004-10-12 18:55:09 UTC
Version:           0.7 (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.3.4
OS:                Linux (i686) release 2.6.8.1

When I reduce to icon KSnapShot and I press ALT + Tab I cannot see KSnapShot into the application list.
Comment 1 Wilco Greven 2004-10-13 00:18:56 UTC
The window isn't shown in the Alt-Tab popup because the WM_TRANSIENT_FOR property is set. But I think it should be possible to restore every minimized window. So shouldn't ksnapshot set the WM_TRANSIENT_FOR property, or it is a bug / usability issue in kwin?
Comment 2 Lubos Lunak 2004-10-13 12:27:51 UTC
After I start KSnapshot, I have no problem minimizing it, seeing it in Alt+Tab or restoring it. How exactly should I reproduce the problem?

Comment 3 Giovanni Venturi 2004-10-13 21:37:58 UTC
Start KSnapShot minimize it so you cannot see on the screen that press ALT + 
TAB. Is KSnapShot in that list? With my KDE 3.3.0 and KDE 3.3.1 no I cannot 
see it into the list. I'm going to try this with HEAD than I let you know if 
the problem is also for the HEAD. Or is it a wanted behaviour? In this case 
this bug is not valid, but if it's not so than it's a bug.

Comment 4 Lubos Lunak 2004-10-14 11:16:01 UTC
CVS commit by lunakl: 

Show even minimized dialogs in Alt+Tab. Apparently this was intentional,
but I don't see the point.
CCMAIL: 91194-done@bugs.kde.org


  M +1 -1      tabbox.cpp   1.43


--- kdebase/kwin/tabbox.cpp  #1.42:1.43
@@ -96,5 +96,5 @@ void TabBox::createClientList(ClientList
         {
         if ( ((desktop == -1) || c->isOnDesktop(desktop))
-             && (!c->isMinimized() || !c->isTransient() || c->isUtility()) && c->wantsTabFocus() )
+             && c->wantsTabFocus() )
             {
             if ( start == c )