Bug 179723

Summary: regression: window switcher does not respect Net::SkipTaskbar
Product: [Plasma] kwin Reporter: Will Stephenson <wstephenson>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: marcus, mike, ultr, vedran.furac, whynot
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Will Stephenson 2009-01-05 15:59:50 UTC
Version:            (using Devel)
OS:                I Don't Know
Installed from:    Compiled sources

Some apps, like knotes, set Net::SkipTaskbar on their windows.  In KDE 3, this flag is interpreted by kwin as "do not show in window switcher" as well. In trunk and 4.1 kwin, notes are always included in the switcher window list regardless of this setting.

Steps to reproduce

Add a new KNote or 2

In the note preferences (right click its title bar) ensure that "Show in task bar" is not set.  

Alt+tab.

Alternatively, set SkipTaskbar in Special Window Settings.
Comment 1 Martin Flöser 2009-04-10 11:33:34 UTC
*** Bug 189253 has been marked as a duplicate of this bug. ***
Comment 2 Marcus Harrison 2009-06-30 11:20:15 UTC
I can confirm this behaviour, and it brings with it another problem: the window switcher now displays Plasma pop-ups in switching, such as alerts or the Kicker menu, when this is undesirable.
Comment 3 Hannes Schniepp 2009-10-07 12:12:03 UTC
This also means that the newer, re-designed versions of alltray do not work as designed. I am currently using alltray 0.74dev with karmic beta (KDE 4.3.2), and the docked windows incorrectly show up in the alt-tab switcher.
Comment 4 Martin Flöser 2009-12-18 15:27:25 UTC
*** Bug 219117 has been marked as a duplicate of this bug. ***
Comment 5 Martin Flöser 2010-05-03 22:00:16 UTC
SVN commit 1122404 by graesslin:

Window specific setting to skip window switchers (tabbox, present windows, desktop grid).
FEATURE: 171192
CCBUG: 179723

 M  +9 -0      client.cpp  
 M  +9 -0      client.h  
 M  +7 -0      effects.cpp  
 M  +2 -0      effects.h  
 M  +2 -2      effects/desktopgrid/desktopgrid.cpp  
 M  +2 -0      effects/presentwindows/presentwindows.cpp  
 M  +5 -0      kcmkwin/kwinrules/ruleswidget.cpp  
 M  +1 -0      kcmkwin/kwinrules/ruleswidget.h  
 M  +103 -80   kcmkwin/kwinrules/ruleswidgetbase.ui  
 M  +7 -1      lib/kwineffects.h  
 M  +2 -0      manage.cpp  
 M  +13 -0     rules.cpp  
 M  +4 -0      rules.h  
 M  +2 -0      sm.cpp  
 M  +1 -0      sm.h  
 M  +1 -1      tabbox.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1122404
Comment 6 Martin Flöser 2010-07-26 17:55:43 UTC
*** Bug 245800 has been marked as a duplicate of this bug. ***
Comment 7 Thomas Lübking 2012-03-18 13:34:42 UTC
Closing as wontfix - while "invalid" would likely cut it as well.

Reason:
a) Net::SkipTaskbar was never interpreted this way, the combination of Net::SkipTaskbar and Net::SkipPager was - not by spec but silent agreement at best.
b) that's been a kludge
c) aside that skipping taskbar -as suggested by the setting- works, that would not be a WM issue ;-)
d) setting a proper window type as NET_WM_WINDOW_TYPE_UTILITY would ignore it in the pager
e) windows with improper types can be controlled by rules to either fix type or SkipSwitcher

-> There's nothing such as a Net::SkipSwitcher and while it probably should be added to NETWM, that's not a KWin bug.