Summary: | Dynamic shadows to recognize Z-index of windows when calculating size | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Ken Vermette <vermette> |
Component: | compositing | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | danalien, hugo.pereira.da.costa |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Shadow diagram |
Description
Ken Vermette
2010-08-12 03:32:15 UTC
Created attachment 50036 [details]
Shadow diagram
*** Bug 107509 has been marked as a duplicate of this bug. *** as the shadows are currently drawn by oxygen I reassign to oxygen which also includes our designers. Will not happen on the oxygen side, sorry. 1/ I don't know of a way for the decoration to know the z index (Martin ? Is there such a way 2/ worse: what you really need is the relative z index with respect to the nearest window below 3/ even worse: you need to know the overlapping areas for partially overlapping areas. If I understand right, 3 can only be achieved by the compositor. Especially if oxygen only passes shadow *tiles* to kwin for kde 4.9 (right ?) So reassigning to kwin again (IMO it should have staid there from the start). On the oxygen side, its a WONT FIX. Martin, feel free to close. pre summary for martin: clear won't fix to me (but click the link on the end ;-) -- Ratio -- Not only is realistic shadowing utterly complex (try to imagine a convex client shape...), but would likely a) have bad impact on usability. b) not lead to some realistic experience at all a) as by now, the shadow is more or less used to hint the active client, if the shadow size of the active client would only marginally differ from the next one, this would be lost. b) it would only marginally differ because the desktop has no frustum, ie even clients deeeep down in the z axis have the very same appearance as the topmost one, what also means you'd try to sell that two paper thin clients in a few mm deep stack would cast two largely different shadows, in other words: THE REALISTIC APPROACH WOULD BE ONE SHADOW TYPE FOR ALL (and this doesn't consider that the oxygen deco glows around the active window, implying a (bluish) frontlight which is nowhere else reflected on the desktop. Sum up: a desktop is not realistic but a model with fancy eye candy. With wayland we're of course free to do sth. as the wolfenstein window manager =) http://labs.qt.nokia.com/2008/12/02/widgets-enter-the-third-dimension-wolfenqt/ thanks for the summary and I quite agree that this is a wontfix |