matinlotfali / KDE-Rounded-Corners

Rounds the corners of your windows in KDE Plasma 5 and 6
GNU General Public License v3.0
638 stars 22 forks source link

Outlines take padding space inwards & creates visibility issues. #250

Closed soymadip closed 4 months ago

soymadip commented 4 months ago

The best way to explain the issue is through example, please focus at padding around the bottom-left settings button in below screenshots:

You can see the padding around the settings button is stripped down.

matinlotfali commented 4 months ago

Yes, the primary outline goes inward the window. But the secondary outline goes outward the window.

Would making the primary outline fully transparent and only having a secondary outline fixes your issue?

soymadip commented 4 months ago

Yes, the primary outline goes inward the window. But the secondary outline goes outward the window.

Isn't this kinda like bug? I mean who wants to cover their app content?

Would making the primary outline fully transparent and only having a secondary outline fixes your issue?

Ok I will try it and give you feedback once I go to home... But I tried to completely disable primary outline and enable secondary outline, it didn't work..

matinlotfali commented 4 months ago

Isn't this kinda like bug? I mean who wants to cover their app content?

Well, there are splash and borderless windows. Because they don't have a shadow, KWin doesn't provide the extra space around the window for me to render on. So they remain without an outline.

So inward outline is currently my only way around that.

Unless... I find a way to force shadow on shadowless windows.

soymadip commented 4 months ago

Yes, the primary outline goes inward the window. But the secondary outline goes outward the window.

Would making the primary outline fully transparent and only having a secondary outline fixes your issue?

So i tested this, there are 2 problems:-

soymadip commented 4 months ago

Isn't this kinda like bug? I mean who wants to cover their app content?

Well, there are splash and borderless windows. Because they don't have a shadow, KWin doesn't provide the extra space around the window for me to render on. So they remain without an outline.

So inward outline is currently my only way around that.

Unless... I find a way to force shadow on shadowless windows.

Oh, i see. Then i guess there is no way to fix it