Version: (using KDE 4.0.1) Installed from: Ubuntu Packages OS: Linux I noticed this behaviour for Kopete. My contact list is configured to disappear automatically. If I have the contact list open and another window is in front of the contact list the contact list will appear as top most window when it disappears as the minimize animation is started. This can be quite disturbing.
I've reproduced this behaviour on revision 785508 but only with desktop effects enabled
*** Bug 191417 has been marked as a duplicate of this bug. ***
*** Bug 210109 has been marked as a duplicate of this bug. ***
*** Bug 176388 has been marked as a duplicate of this bug. ***
I've started looking at the problem and can confirm it for any window that is in the background and to be closed. I traced the behaviour back to the fade plugin (thats why it is only visible when effects are enable). Still it is a curious bug, since the minimizewindows plugin, that also uses opacity changes as effect does not suffer changes in stacking order. I will look into this further and might have a fix for it.
On Saturday 12 February 2011 18:19:20 Marcus Hähnel wrote: > I've started looking at the problem and can confirm it for > any window that is in the background and to be closed. Just to let you know: I completely investigated the issue and know what is causing it. Fixing it is very complex and requires quite some changes to KWin internals. I am planning to do this finally for the 4.7 timeframe as it will bring a significant performance boost to fix it properly. Thanks for looking into it, but I doubt it can be done by a new contributor :-( To just outline what is causing the problem: the stacking order is queried from the X server before each rendered frame. Unmanaged and deleted windows are added to the top of the list. As the deleted windows do not have a real X window anymore their position in the stacking order is lost. To fix it properly KWin has to cache the stacking order and insert deleted and unmanaged windows into it. Only when the stacking order changes it needs to be recreated with the non X clients being kept at their position. This will improve the performance as we don't need the X roundtrip anymore and we open our stacking order handling to make things like Wayland clients possible.
*** Bug 280513 has been marked as a duplicate of this bug. ***
*** Bug 284400 has been marked as a duplicate of this bug. ***
*** Bug 290529 has been marked as a duplicate of this bug. ***
*** Bug 293831 has been marked as a duplicate of this bug. ***
> I traced the behaviour back to the fade plugin > (thats why it is only visible when effects are enable). The Glide plugin has the same issues as well.
No need for further comments, see comment #6 The issue is global and the source is known.
btw this bug report is on my TODO list for 4.9. I have an idea how to solve it and it will make porting to Wayland easier. <devnote>Stacking Order needs to become a QList<Toplevel*> instead of QList<Client*>.</devnote>
*** Bug 274174 has been marked as a duplicate of this bug. ***
Git commit 431aad6d6994695e72697fcc3299ec2cb6f0684e by Martin Gräßlin. Committed on 09/04/2012 at 11:06. Pushed by graesslin into branch 'master'. Keep position in stacking order for deleted windows Workspace::addDeleted swaps the Client with the Deleted in the stacking order. For Unmanaged windows the Deleted is appended to the stacking order which is the same layer. When the deleted is closed the window is removed from the stacking order. The result is that a deleted window is no longer raised above all other clients. REVIEW: 104519 FIXED-IN: 4.9.0 M +1 -1 kwin/deleted.cpp M +0 -3 kwin/layers.cpp M +15 -3 kwin/workspace.cpp M +1 -1 kwin/workspace.h http://commits.kde.org/kde-workspace/431aad6d6994695e72697fcc3299ec2cb6f0684e
Created attachment 72614 [details] Example When I closing minimized window it still appears at top before being closed. KDE 4.8.97
(In reply to comment #16) > When I closing minimized window it still appears at top before being closed. No, that is a different bug and seems to be in the fade effect which seems to be executed for minimized windows.
*** Bug 312273 has been marked as a duplicate of this bug. ***