Alban-Boissard / kwin-effects-blur-respect-rounded-decorations

A fork of the kwin blur effect that solve the corners bug.
GNU General Public License v2.0
113 stars 5 forks source link

Fixed LightlyShaders compatibility #6

Open thegeekywanderer opened 2 years ago

thegeekywanderer commented 2 years ago

Added an extra button to Round Bottom Corners when using LightlyShaders or ShapeCorners

Alban-Boissard commented 2 years ago

Thanks for sharing. I look at the code you provide, I maybe miss something but it looks doing the same thing as before the patch. Note that the last version of ligthlyShader handle the corners and the blur its own way, so you don't need this effect if you use it.

thegeekywanderer commented 2 years ago

I'm still on Plasma 5.22 (Many people might still be using the older Plasma versions due to not being on Rolling Distros) and they will use the old LightlyShaders (This one). The 5.23 compatible version doesn't work on older Plasma versions. This is a screenshot with Rounded Bottom Corner unticked: (issue #3) image

Here is a screenshot with Rounded Bottom Corner applied: image Note the bottom corner is now rounded to fit LightlyShader instead of cutting a square in the window

Here is the exaggerated bottom corner radius to demonstrate this patch: image