Bug 265571

Summary: Desktop Grid ignores stopped activities.
Product: [Plasma] kwin Reporter: Saleel Velankar <svelanka>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: etienne.rebetez, lari.natri
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Saleel Velankar 2011-02-06 04:09:54 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

When activities are stopped, the windows associated with those activities are also stopped. The rest of the desktop simply stops showing them. Yet when desktopgrid is triggered, those windows are painted invisibly, and are able to trigger the stopped activities.

Reproducible: Always

Steps to Reproduce:
1. Spawn 4 desktops: W,X,Y,Z.
2. Spawn 2 activities: A,B.
3. Open up 5 windows: 1,2,3,4,5.
4. Associate 1,2,3 with A; 4,5 with B.
5. In B, trigger desktop grid; toss 4 into W, 5 into X.
6. Stop B activity
7. In A, trigger desktop grid; move 1,2,3 into Y.



Actual Results:  
a. W, and X look blank, but clicking on them restarts activity B.
b. Tossing 1/2/3 into W or X shows that the windows 4,5 are still there but being painted invisble.


Expected Results:  
Grid should ignore windows from stopped activities. When activity B is stopped, the windows from that activity should stop interfering with user window management in activity A.
Comment 1 Etienne 2011-03-06 02:46:03 UTC
I can confirm this.

The issue with the invisible windows is also there with activ activities.

With two Activities and at least two desktops:
1. open one window on desktop one activity one.
2. open one window on desktop one activity two.
3. while in activity one trigger desktop grid
4. desktop one shows a normal window and an invisible window.
5. click on the free desktop space where the invisible window is (or the visible window of the other activity should be).
6. Activity of that invisible window is beeing activated.

I think desktop grid should show only the windows of the current activity.

Current Arch 4.6.1 packages. Nvidia binary driver.

Thanks
Comment 2 Lari Natri 2011-03-25 02:36:08 UTC
I'm experiencing the same problem (with KDE 4.6.0 and 4.6.1).

This problem also exists with the Present Windows effect, but is not limited to it: disabling "Use Present Windows effect to layout the windows" in Desktop Grid settings does *not* rid Desktop Grid of the problem.
Comment 3 Martin Flöser 2011-03-25 23:39:47 UTC

*** This bug has been marked as a duplicate of bug 242555 ***