bismuth icon indicating copy to clipboard operation
bismuth copied to clipboard

[FEATURE]: rounded corners in bismuth provided decorations

Open Aneeqasif opened this issue 2 years ago • 8 comments
trafficstars

Summary

rounded corner support for bismuth window decorations

A clear and concise description of what you want to happen

same as above

A clear and concise description of any alternative solutions or features you've considered.

No response

Additional info

No response

Aneeqasif avatar Dec 13 '22 07:12 Aneeqasif

Hello, I have hacked together an implementation of this, since I missed it too.

It is available in my fork. However, I don't know anything about KDE APIs and stuff, so I don't know how to add a configuration option for this. Right now a value of 5px is hard-coded. But it works.

Elfahor avatar Feb 14 '23 14:02 Elfahor

I'd like some help from the devs to make this more usable. :)

Elfahor avatar Feb 14 '23 14:02 Elfahor

I'd like some help from the devs to make this more usable. :)

can u plz post some screenshots ? or may be add it to fork readme

Aneeqasif avatar Feb 14 '23 17:02 Aneeqasif

There you go, sorry for late reply. Screenshot_20230219_155056 The weird transparency and spacing started happening after restarting KWin too many times :)

Elfahor avatar Feb 19 '23 14:02 Elfahor

There you go,

this is awesome work buddy, i hope it get merged into mainstream version, u should submit a pr

Aneeqasif avatar Feb 19 '23 20:02 Aneeqasif

I would, but right now the value is hard coded, which is not great... I'd need someone who knows about KDE APIs to help me.

Elfahor avatar Feb 20 '23 14:02 Elfahor

This may take some time as i havent seen any major contribution to this project from past couple of months , devs may be buzy

Aneeqasif avatar Feb 20 '23 20:02 Aneeqasif

Update: Okay so when I wanted to take the screenshot I decided to increase the radius from 5 to 10 px to make it more visible. But after that it was kinda broken: basically it would either be no rounding or a full ellipse. Not understanding why, I decided to try it on X11 (I used Wayland originally). Works flawlessly. Relieved, I send a screenshot.

Now yesterday I boot up my laptop on which I had copied my KDE config (I only switched from standalone tiling WMs last week actually). What to I see on X? Perfect rounded corners. Thing is, I don't think the Bismuth version I'm using is the tweaked one! So is this just a Wayland bug ?

Could you please tell me if you're using X or Wayland? If the latter, could you please give X11 a try? This is pretty weird and I would like a confirmation.

Elfahor avatar Feb 21 '23 12:02 Elfahor