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

Alban Boissard <albanboiss...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |albanboiss...@gmail.com

--- Comment #56 from Alban Boissard <albanboiss...@gmail.com> ---
A just make a fork (as an independent effect) of the blur effect that solve
this issue in a very simple way:

The blur effect:
- calculate the region to blur as a QRegion.
- render the blur region on the screen
- render the window on the screen

So, in the "blurRegion" function, if needed, I remove the rounded shapes of the
corners from the QRegion before the blur occurs. (Unless the windows is
maximized)
The rest of the code is exactly the original one, so there is no bad
interaction between the patch and the shadows. 
You can chose the radius of the removed region in the effect options. That
works with all the decorations I have tested.
The effect is provided as an independent effect, that you can install it
alongside the default blur effect.

You can find the effect here :
https://github.com/Alban-Boissard/kwin-effects-blur-respect-rounded-decorations

If I get good feedback, I can propose a patch upstream.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to