paulmcauley / klassy

Klassy is a highly customizable binary Window Decoration, Application Style and Global Theme plugin for recent versions of the KDE Plasma desktop.
838 stars 24 forks source link

Unsightly corner artifacts when using No Borders with rounded titlebar #82

Open hifinerd opened 1 year ago

hifinerd commented 1 year ago

Title. When I use the "No Borders" window border option in System Settings and I have any sort of border radius enabled on Klassy, it ends in an unsightly shadow artifact thing. I guess what I'm asking for is for the bottom of the shadow to have a different border radius than the top. Screenshot_20230510_003841

paulmcauley commented 1 year ago

I can't reproduce this. Are you using X11/Wayland? What is the contents of your ~/.config/klassyrc . Also, what is your application style? Does the application style have transparency?

hifinerd commented 1 year ago

Sorry about the delay, here's some more info. I'm using KDE Plasma 5.27.5 on Wayland. I'm using Kvantum with the FlatBlur-Blue theme, and yes, it has transparency. This is my klassyrc, compressed because GitHub.

paulmcauley commented 1 year ago

I could not easily reproduce this.

(Could not see anything wrong: corner_radius4 )

However, in release 4.3 I have made a fix to the blurRegion for when there are no borders. I don't know if this fixes your issue - please inform if it makes a difference.

matinlotfali commented 1 year ago

Would this help? https://github.com/matinlotfali/KDE-Rounded-Corners

ryu-ketsueki commented 1 year ago

I noticed Konsole's native background blur feature is also causing issues similar to the supposedly patched Korners bug, even where it is not supposed to be blurring, the titlebar. It's the only application that does this, as far as I know. Spectacle_20230619_085415

z2rec commented 1 month ago

Same thing happening on my side where corners are not really rounded when using no borders but you can see that the outline is rounded.

klassyrc

[Exceptions]
ExceptionBorder=true
ExceptionWindowPropertyPattern=.*
ExceptionWindowPropertyType=ExceptionWindowTitle
HideTitleBar=true
OpaqueTitleBar=true

[Global]
LookAndFeelSet=org.kde.klassydarktraditional.desktop

[Windeco]
ButtonShape=ShapeFullHeightRoundedRectangle
CornerRadius=6
RoundBottomCornersWhenNoBorders=true

[Windeco Exception 0]
BorderSize=0
Enabled=true
ExceptionBorder=true
ExceptionPreset=
ExceptionProgramNamePattern=
ExceptionWindowPropertyPattern=.*
ExceptionWindowPropertyType=1
HideTitleBar=true
OpaqueTitleBar=true
PreventApplyOpacityToHeader=false

Changed to Klassy Light - Traditional for the screenshot. image

KDE-Rounded-Corners doesn't have this issues but it has some other issues for me so I would prefer to use klassy for this.