[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 235821] using kwin shadows with oxygen creates artifact
From:       Fredrik Höglund  <fredrik () kde ! org>
Date:       2010-04-30 18:28:41
Message-ID: 20100430182841.1CBCD3E7E9 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=235821


Fredrik Höglund <fredrik@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fredrik@kde.org




--- Comment #3 from Fredrik Höglund <fredrik kde org>  2010-04-30 20:28:39 ---
If I read this correctly the patch effectively disables the painting
optimizations for all decorated windows.

If you mark opaque windows as translucent, they have to be blended and painted
bottom to top, without clipping them to already painted areas.

I also don't like the logic in topLevelDecorationHasAlpha() that if the client
window covers the decoration, then the decoration doesn't have an alpha
channel.

It is possible that that happens to be always be true right now, but that
doesn't make it less ugly. You should also keep in mind that the client can
request that the decoration should be extended below the client window. If we
add a hint in the future that lets the client combine this with having the
client window cover the whole frame, then this logic will definitely not work.

Having topLevel in the name is also superfluous since KWin only deals with
toplevel windows.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic