Bug 243757 - Desktop cube with floating windows, the windows are drawn in wrong order / depth.
Summary: Desktop cube with floating windows, the windows are drawn in wrong order / de...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 273511 306303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-06 13:42 UTC by jruoff
Modified: 2023-01-18 13:05 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Image of front and back, showing the incorrect drawings. (778.98 KB, image/png)
2010-07-06 13:42 UTC, jruoff
Details

Note You need to log in before you can comment on or make changes to this bug.
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.