Bug 247532 - Task Switcher 'include desktop' switches virtual desktop when "different widgets per desktop" enabled
Summary: Task Switcher 'include desktop' switches virtual desktop when "different widg...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 17:23 UTC by Will Stephenson
Modified: 2010-08-12 18:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.5.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Stephenson 2010-08-12 17:23:47 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

In 4.5, Plasma allows different widget/wallpaper sets per virtual desktop by using multiple containments (desktop windows).  If the new 'include desktop' feature is enabled so alt-tab includes a show desktop item, this shows the wrong virtual desktop, by showing the previous desktop and hiding its windows.

Reproducible: Didn't try

Steps to Reproduce:
In Task Switcher kcm, enable 'Include Desktop'.
In Virtual Desktops kcm, enable 'Different widgets per desktop'.
Change the wallpaper on one desktop so you can see the difference.
Alt-tab to the show desktop item.

Actual Results:  
Switch to previous virtual desktop and its windows hide.  NB it may be actually just bringing the wrong desktop window to the front but not switching virtual desktops.

Expected Results:  
Current desktop's windows hide
Comment 1 Martin Flöser 2010-08-12 18:22:00 UTC
SVN commit 1162775 by graesslin:

Include the first desktop window which is on current desktop in tabbox.
This fixes a bug that tabbox switches to a random desktop if there is a desktop window on each virtual desktop.
If there is only one desktop window it is on all virtual desktops and will be used.
If there is one desktop window per virtual desktop only that one will be used.
BUG: 247532
FIXED-IN: 4.5.1



 M  +1 -1      tabbox.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1162775
Comment 2 Martin Flöser 2010-08-12 18:23:57 UTC
SVN commit 1162777 by graesslin:

Forward port rev 1162775:
Include the first desktop window which is on current desktop in tabbox.
This fixes a bug that tabbox switches to a random desktop if there is a desktop window on each virtual desktop.
If there is only one desktop window it is on all virtual desktops and will be used.
If there is one desktop window per virtual desktop only that one will be used.
CCBUG: 247532

 M  +1 -1      tabbox.cpp  


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