lll get that in a sec but I just noticed something, I don't use titlebars on my windows but the ones that have them, shapecorners works fine on, are you using titlebars? Because that might be why you never noticed anything different
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't disable painting for titlebarless windows per-se, however, if the windows are without shadows (painted by kwin/deco) then it won't paint over the corners.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, that effectively destroys the deco for that window and in doing so, everything the deco does. The strange thing is that it was working up until 5.20(?), I think that the style (breeze?) used to set shadows on the windows that don't have a deco, but doesnt do it anymore.
shapecorners paints if:
the window is not part of plasma, krunner or latte dock
the window is not OSD, a desktop, or a dock (those that can be docked inside another window)
the window has a shadow (set by either deco or style)
Menues for instance get a shadow set by the style, so shapecorners paints the corners on those.
Last edit: Robert 2020-10-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yh that's odd but with other decos when I just enable no border the rounded cornerss leave, which means that it's a new change in 5.20 that removes shadows when there's no border? The tiling script I use doesnt show titlebars on any of the windows it's tiling, and most of the deco's really ruin the rounded corner feel for me, so idk what I can/should do
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some styles set shadows on windows (i know i do in dsp), others don't, I really have no idea which ones do w/o looking at the code.
Well, I've been meaning (for many years now, so don't get your hopes up), to write a more comprehensive configuration dialog for this... but, since I have absolute 0 use for it myself I doubt if its going to happen anytime soon (or ever).
What you can do, well, live with it(?), try and find a style that sets the shadows on 'normal' windows that you can live with(?), fork shapecorners and rewrite it to your needs?
Anyways, I am not going to blindly paint on windows w/o shadows since those are usually 'special' windows with special characteristics.
Last edit: Robert 2020-10-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmmm, not sure whats wrong then... works fine here on 5.20... is there any information relating to shapecorners if you start kwin from the terminal?
https://pastebin.com/ZLKh3FSa Not that I can see
And you're sure you recompiled shapecorners after updating kde?
Was the first thing I did
No idea then, could you post the contents of the install_manifest.txt file to see if everything goes in the right place.
lll get that in a sec but I just noticed something, I don't use titlebars on my windows but the ones that have them, shapecorners works fine on, are you using titlebars? Because that might be why you never noticed anything different
I don't disable painting for titlebarless windows per-se, however, if the windows are without shadows (painted by kwin/deco) then it won't paint over the corners.
hmm, I'm using the breeze deco without a titlebar
How did you disable the titlebars then? It's possible you disable the deco then and in doing so, the shadows.
https://imgur.com/a/gtydpGt
Yes, that effectively destroys the deco for that window and in doing so, everything the deco does. The strange thing is that it was working up until 5.20(?), I think that the style (breeze?) used to set shadows on the windows that don't have a deco, but doesnt do it anymore.
shapecorners paints if:
Menues for instance get a shadow set by the style, so shapecorners paints the corners on those.
Last edit: Robert 2020-10-25
yh that's odd but with other decos when I just enable no border the rounded cornerss leave, which means that it's a new change in 5.20 that removes shadows when there's no border? The tiling script I use doesnt show titlebars on any of the windows it's tiling, and most of the deco's really ruin the rounded corner feel for me, so idk what I can/should do
Some styles set shadows on windows (i know i do in dsp), others don't, I really have no idea which ones do w/o looking at the code.
Well, I've been meaning (for many years now, so don't get your hopes up), to write a more comprehensive configuration dialog for this... but, since I have absolute 0 use for it myself I doubt if its going to happen anytime soon (or ever).
What you can do, well, live with it(?), try and find a style that sets the shadows on 'normal' windows that you can live with(?), fork shapecorners and rewrite it to your needs?
Anyways, I am not going to blindly paint on windows w/o shadows since those are usually 'special' windows with special characteristics.
Last edit: Robert 2020-10-25
/usr/lib/qt/plugins/kwin/effects/plugins/kwin4_effect_shapecorners.so
/usr/share/kwin/shaders/1.40/shapecorners.frag
/usr/share/kwin/shaders/1.10/shapecorners.frag
/usr/lib/qt/plugins/kwin/effects/configs/kwin4_shapecorners_config.so
/usr/share/kservices5/kwin/shapecorners_config.desktop
This seems right.