Bug 280513

Summary: When I close a non-active window, it is first made active and then closed.
Product: [Plasma] kwin Reporter: Yogesh Marwaha <yogeshm.007>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: NOR    
Version: 4.7.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Yogesh Marwaha 2011-08-21 11:05:49 UTC
Version:           4.7.0 (using KDE 4.7.0) 
OS:                Linux

When I close a non-active window (using context menu in taskbar), it is first made active and then closed. As a result, if the application was maximised, it looks like the whole desktop has flickered. Closing the window while keeping it inactive should be ok.

Reproducible: Always

Steps to Reproduce:
Have to maximised windows and close the inactive one using context menu of taskbar.

Actual Results:  
As above.

Expected Results:  
Window should have been closed while remaining inactive.
Comment 1 Thomas Lübking 2011-08-21 12:37:58 UTC
it's not activated but only elevated (that's an effect thing)

cuplrit here is the fade effect.
Comment 2 Martin Flöser 2011-09-25 08:45:51 UTC
nope, it's a general thing. The stacking order position is not copied to the deleted, and all deleted windows are rendered on top of the clients. But disabling fade would circumvent the bug.

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