Bug 243757

Summary: Desktop cube with floating windows, the windows are drawn in wrong order / depth.
Product: [Plasma] kwin Reporter: jruoff
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kde, kranthi.t2000, maximlevitsky, thepouar
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Image of front and back, showing the incorrect drawings.

Description jruoff 2010-07-06 13:42:09 UTC
Created attachment 48622 [details]
Image of front and back, showing the incorrect drawings.

Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

If I view a side of the cube (with a window on it) from the front. The plasma panel is drawn on top of the window. And if I view the a desktop from the back, all windows on that desktop are drawn in reverse. Thus the window which is the furthest is drawn on top of the others. And the windows are drawn on top of the desktop.

Reproducible: Always

Steps to Reproduce:
Make sure the option to let the windows float above the cube is active. Now view the cube. You'll see the incorrect drawings.

Actual Results:  
Cube is shown with incorrect drawings.

Expected Results:  
Draw the windows from back, to front. So the windows in the front are on top.
Comment 1 Martin Flöser 2010-07-06 16:58:47 UTC
yes known issue, but very difficult to fix and just a minor visual glitch. The problem is that the panel is in stacking order the last to be painted but all other windows are raised, so it is painted above the other windows. You can see similar issues when rotating and a window is shown on two desktops. Depending on the view angle it will be above or below the second desktop.
Comment 2 Martin Flöser 2011-06-14 18:17:38 UTC
*** Bug 273511 has been marked as a duplicate of this bug. ***
Comment 3 Maxim Levitsky 2011-11-03 20:36:03 UTC
I used to use a desktop 'hexagon', and it works well, except that bug.
Due to larger corner angle, this is very visible and annoying
Comment 4 Martin Flöser 2012-09-05 16:56:54 UTC
*** Bug 306303 has been marked as a duplicate of this bug. ***
Comment 5 Vlad Zahorodnii 2018-11-26 10:33:40 UTC
We probably need to sort floating windows depending depending on the view angle.
Comment 6 Vlad Zahorodnii 2023-01-18 13:05:49 UTC
Desktop cube has been removed so closing the bug report.