LightlyShaders icon indicating copy to clipboard operation
LightlyShaders copied to clipboard

plasma 5.23

Open begonia208 opened this issue 4 years ago • 15 comments

After my system is updated to plasma 5.23 (neon user edition) I can't find the lightly shaders item in the systemsettings/behaviour of desktop/appearance. It also doesn't work no more... Just to let you know. Lighly Shaders is beautiful.

begonia208 avatar Oct 15 '21 08:10 begonia208

Yeah can confirm this behaviour on Arch as well, most likely due to changes in KWin or kdecoration or some other library changes, the update also broke Parachute KWin script if this is at all relevant

EvilSquirrelGuy avatar Oct 18 '21 09:10 EvilSquirrelGuy

compile.log FWIW I uploaded the compilation log from makepkg (the command I used was makepkg -si &> compile.log)

second2050 avatar Oct 18 '21 14:10 second2050

Here's some extra info

I'm attempting to implement a fix in my own ShapeCorners fork. Will letcha folks know if I get something working.

ZacharyTalis avatar Oct 18 '21 19:10 ZacharyTalis

Not building Arch / KDE 5.23.1 ... https://pastebin.com/xUgTxPni

DarkXero-dev avatar Oct 19 '21 19:10 DarkXero-dev

This fork fixed the issue: https://github.com/sr-tream/LightlyShaders

gianmarcogg03 avatar Nov 08 '21 17:11 gianmarcogg03

Can you tell where I have to look to customize/activate this fork? Thank you...

begonia208 avatar Nov 08 '21 18:11 begonia208

is there a way to PKGBUILD ? Or can I take original's and replace URL in that and build ? I want to add to my own repo for my Distro.

DarkXero-dev avatar Nov 08 '21 18:11 DarkXero-dev

Oh shoot I forgot to mention, my ShapeCorners fork now implements a fix (though this new implementation suffers from the Korners bug).

ZacharyTalis avatar Nov 08 '21 18:11 ZacharyTalis

Oh shoot I forgot to mention, my ShapeCorners fork now implements a fix (though this new implementation suffers from the Korners bug).

@a-parhom 's fork proposed a fix for the Korners bug but it seems it requires some improvement to be a little more resource friendly. I'm using it on my laptop and so far I didn't get any significant slowdowns

ryu-ketsueki avatar Nov 08 '21 18:11 ryu-ketsueki

I was finally able to build package and added to repo from SR-Team Fork works well enough for now..

DarkXero-dev avatar Nov 08 '21 19:11 DarkXero-dev

After taking a look at the changes that were introduced in 5.23, I honestly don't think it's possible to make this effect work like before. KWin no longer exposes a way to paint only the decoration and shadow underneath the window, and this is key to make the effect look good: painting the shadow at the rounded corner. @a-parhom fork works around this issue by shrinking the shadow so that it fills the rounded section, but at the cost of shadows not looking like they were intended to. While it's nice to have a more optimized KWin, it's also sad to see these breaking changes and 0 interest of KWin developers to make a native solution to round corners.

Luwx avatar Nov 17 '21 00:11 Luwx

After taking a look at the changes that were introduced in 5.23, I honestly don't think it's possible to make this effect work like before. KWin no longer exposes a way to paint only the decoration and shadow underneath the window, and this is key to make the effect look good: painting the shadow at the rounded corner. @a-parhom fork works around this issue by shrinking the shadow so that it fills the rounded section, but at the cost of shadows not looking like they were intended to. While it's nice to have a more optimized KWin, it's also sad to see these breaking changes and 0 interest of KWin developers to make a native solution to round corners.

How about the one on @ZacharyTalis 's ShapeCorners?

ryu-ketsueki avatar Nov 17 '21 02:11 ryu-ketsueki

I found https://github.com/matinlotfali/KDE-Rounded-Corners . It really works great.

begonia208 avatar Nov 17 '21 05:11 begonia208

After taking a look at the changes that were introduced in 5.23, I honestly don't think it's possible to make this effect work like before. KWin no longer exposes a way to paint only the decoration and shadow underneath the window, and this is key to make the effect look good: painting the shadow at the rounded corner. @a-parhom fork works around this issue by shrinking the shadow so that it fills the rounded section, but at the cost of shadows not looking like they were intended to. While it's nice to have a more optimized KWin, it's also sad to see these breaking changes and 0 interest of KWin developers to make a native solution to round corners.

How about the one on @ZacharyTalis 's ShapeCorners?

The other ones I looked also suffer from the same problem, the missing shadow at the corner, it will look like the korner bug. I'll poke the code a bit more, but I'm afraid a solution to this will be very difficult or extremely hacky.

I'll probably end up archiving this repository.

Luwx avatar Nov 17 '21 07:11 Luwx

Yep, all the forks I know about suffer from the same Korners issue.

You can mitigate Korners somewhat by using the Inactive Blur wallpaper plugin. Here's what my desktop looks like with the plugin installed:

Tiled KDE desktop featuring a blurred wallpaper.

ZacharyTalis avatar Nov 18 '21 00:11 ZacharyTalis