blur-my-shell icon indicating copy to clipboard operation
blur-my-shell copied to clipboard

Blur with rounded corners

Open CorvetteCole opened this issue 3 years ago • 8 comments

Putting this here just to track it. I have a crazy idea to make this happen using masking and it might just work. I will test it and update this later

CorvetteCole avatar Jan 29 '22 15:01 CorvetteCole

Cool, keep me updated if anything works :)

aunetx avatar Jan 29 '22 23:01 aunetx

Putting this here just to track it. I have a crazy idea to make this happen using masking and it might just work. I will test it and update this later

Would this affect the blur on rounded docks (such as Floating Dock)? If so, I was about to create an issue saying that the blur (in version 22 on Gnome 3.38) treats the docks as a rectangle... Glad you guys are working on it!

stpnwf avatar Feb 04 '22 17:02 stpnwf

yes, unfortunately all blur is rectangular right now. I've done some initial testing and I've got a rough prototype with curved blurring working, but it's very rough. I'm continuing to work on ways to refine this so I can feel comfortable merging it

CorvetteCole avatar Feb 06 '22 04:02 CorvetteCole

Thanks a lot @CorvetteCole! I hope it will work :)

I will see what I can do about blurring panel corners (as I maintain them, now they are removed from gnome 42, see https://github.com/aunetx/panel-corners); I had an interesting conversation with @Schneegans on matrix about it

aunetx avatar Feb 06 '22 09:02 aunetx

Main problem right now is it causes even more artifacts. like we need more of that. even the paint vfunc doesn't help :/. I've got a few more ideas to fix it

CorvetteCole avatar Feb 06 '22 15:02 CorvetteCole

@aunetx have you seen this? https://github.com/yilozt/mutter-rounded

Pretty wacky that a patched mutter is the easiest available solution as of now.. still working on my janky solution but it really doesn't work well

CorvetteCole avatar May 24 '22 02:05 CorvetteCole

I have seen it, and that looks really overkill for what we want to have...

When you can, please share me your solution; I opened #265 with the intent to fix it too -- I have some ugly glsl effect to create corners; and the only solution I really see right now (other than creating a lot of dummy actors to mimic a curb, which may be what you tried) would be to create a custom blur effect which integrate directly this effect.

aunetx avatar May 27 '22 11:05 aunetx

Would absolutely love to see this fixed. Running a fork for it? (I mean I can check your profile and start digging but my hands are hurt)

LokiFawkes avatar Jul 20 '22 01:07 LokiFawkes

closed in favor of #8 as duplicate

CorvetteCole avatar Feb 13 '23 16:02 CorvetteCole