Bug 240730

Summary: Pressing alt-tab with only one window of the desktop disables the 'present windows from all desktops' ( Ctrl-F10 ) effect.
Product: [Plasma] kwin Reporter: David Sibai <david.sibai>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.4.5

Description David Sibai 2010-06-04 15:32:38 UTC
Version:           unspecified (using KDE 4.4.3) 
OS:                Linux

Opening a second window and pressing alt-tab again reenables it.



Reproducible: Always

Steps to Reproduce:
 - desktop effects are activated, effect for window-switching = present windows.
 - open one window on  desktop 1 and 2 ( say one instance of kwrite on each desktop )
 - go to desktop 1, press alt-tab
 - now press Ctrl-F10 ( present windows on all desktop ) => nothing appears. Now, for all intents and purposes, the 'present windows from all desktops' effect is dead. You can add more windows, switch desktops, etc, to no avail.
 - now, on desktop 1 again, add a second window. ( say two instances of kwrite on desktop 1, one on desktop 2 )
 - press alt-tab. It should display both windows
 - now, press Ctrl-F10 again : 'present windows from all desktops' effect works again. It will work as long as alt-tab is not pressed when there's only one  window on the desktop.

to summarize : 'alt-tab when there's only one window on the desktop' activates/deactivates the 'present windows from all desktops' effect
Comment 1 Martin Flöser 2010-06-10 20:56:15 UTC
interesting bug, but I can reproduce
Comment 2 Martin Flöser 2010-06-10 22:52:29 UTC
SVN commit 1136822 by graesslin:

If presentwindows does not get activated, we have to revert the tabbox state or next activation is not possible.
BUG: 240730
FIXED-IN: 4.4.5



 M  +2 -0      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1136822
Comment 3 Martin Flöser 2010-06-10 22:53:49 UTC
SVN commit 1136823 by graesslin:

Forward port rev 1136822:
If presentwindows does not get activated, we have to revert the tabbox state or next activation is not possible.
CCBUG: 240730

 M  +2 -0      presentwindows.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1136823