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

Application blur gives me Korners in Gnome

Open MaddyGuthridge opened this issue 1 year ago • 8 comments
trafficstars

I think it's going through the default blur pipeline rather than the rounded corners blur pipeline, but I can't figure out how to change it.

image

At least I don't have to be jealous of KDE users anymore :P

MaddyGuthridge avatar May 12 '24 08:05 MaddyGuthridge

We need blur for rounded corners!! Why does MacOS have it? We are not poor!

In other words, I +1 and wait for a fix.

Kofa1 avatar May 13 '24 22:05 Kofa1

Dynamic blur currently doesn't support pipelines from what I understand and always uses normal Gaussian blur. I have no idea if there are any plans to add support in the future.

meisme-dev avatar May 31 '24 12:05 meisme-dev

I have no idea if there are any plans to add support in the future.

Well they added the rounded corners for the dock so hupefully the window corners will get the same attention :/

l3ifk avatar Aug 09 '24 16:08 l3ifk

Hello! Of course that's planned now that static blur has corners, but windows still do not support static blur unfortunately. I will try to work on this as much as possible, but that might include a little bit of refactoring (once again)

aunetx avatar Aug 16 '24 09:08 aunetx

i wait to fix it too =)

andrewjka avatar Nov 04 '24 09:11 andrewjka

Waiting for fix as well =D

SeniorMatt avatar Dec 08 '24 06:12 SeniorMatt

I am also waiting for a fix ^^

youngling-coder avatar Mar 24 '25 18:03 youngling-coder

Waiting for a fix as well! ;)

7HE-W0R1D avatar Apr 06 '25 21:04 7HE-W0R1D

Waiting too, i need that :)

root9191 avatar Jul 07 '25 00:07 root9191

Waiting too, i need that :)

AFAIK it's just impossible to fix sadly.

Care to elaborate more?

7HE-W0R1D avatar Jul 10 '25 16:07 7HE-W0R1D

Waiting too, i need that :)

AFAIK it's just impossible to fix sadly.

@SeniorMatt y is that?

root9191 avatar Jul 10 '25 18:07 root9191

To my knowledge, there is no reason it would be impossible to fix. It probably requires some changing to the pipeline for processing filters, and so while it is far from trivial, it's not impossible. I'm far more likely to take the word of the project's owner:

Hello! Of course that's planned now that static blur has corners, but windows still do not support static blur unfortunately. I will try to work on this as much as possible, but that might include a little bit of refactoring (once again)

over the word of a random GitHub user who has not contributed to the project.

MaddyGuthridge avatar Jul 11 '25 06:07 MaddyGuthridge

@aunetx Hey, could you describe the problem in more details? Maybe I can help a bit.

ai-mind avatar Sep 06 '25 23:09 ai-mind

I managed to solve the issue by adding clutter pipeline with glsl shader which masks corners based on corner_radius to gnome-shell ShellBlurEffect

Image

Solution is far from ideal since your have to build gnome-shell from sources with applied patch as well as blur-my-shell extension (to set up corner radius). I can attach .patch file with changes I made if anyone interested in it

kancko avatar Sep 21 '25 11:09 kancko

@kancko can you please share your patch? :)

root9191 avatar Sep 21 '25 14:09 root9191

@kancko beautiful! I'm interested

ai-mind avatar Sep 21 '25 15:09 ai-mind

@kancko Even though I'm using plasma myself but I'm really interested in your solution as well

SeniorMatt avatar Sep 21 '25 16:09 SeniorMatt

Here is the patch for gnome-shell: Shell_BlurEffect__rounded_corners_mask.patch. After patched gnome-shell is installed you wanna pass corner_radius to ShellBlurEffect from blur-my-shell extension - Add_corner_radius_to_NativeDynamicBlurEffect.patch (hardcoded to 14, TBD add slider on application tab).

Also can share prebuilt gnome-shell-48.5 arch package or tarball with PKGBUILD in case you don't wanna bother with build

kancko avatar Sep 22 '25 06:09 kancko

@kancko Please, share the prebuilt package

n0va-bot avatar Sep 29 '25 12:09 n0va-bot

+1

sofiedotcafe avatar Oct 07 '25 18:10 sofiedotcafe

Here is the patch for gnome-shell: Shell_BlurEffect__rounded_corners_mask.patch. After patched gnome-shell is installed you wanna pass corner_radius to ShellBlurEffect from blur-my-shell extension - Add_corner_radius_to_NativeDynamicBlurEffect.patch (hardcoded to 14, TBD add slider on application tab).

Also can share prebuilt gnome-shell-48.5 arch package or tarball with PKGBUILD in case you don't wanna bother with build

does this patch also can apply to the latest gnome? (gnome 49) also can you share the prebuilt? thanks!

NanKillBro avatar Oct 10 '25 13:10 NanKillBro

Here is the patch for gnome-shell: Shell_BlurEffect__rounded_corners_mask.patch. After patched gnome-shell is installed you wanna pass corner_radius to ShellBlurEffect from blur-my-shell extension - Add_corner_radius_to_NativeDynamicBlurEffect.patch (hardcoded to 14, TBD add slider on application tab). Also can share prebuilt gnome-shell-48.5 arch package or tarball with PKGBUILD in case you don't wanna bother with build

does this patch also can apply to the latest gnome? (gnome 49) also can you share the prebuilt? thanks!

I can confirm it works with GNOME 49 at least Image

MeguMario avatar Oct 17 '25 10:10 MeguMario

Here is the patch for gnome-shell: Shell_BlurEffect__rounded_corners_mask.patch. After patched gnome-shell is installed you wanna pass corner_radius to ShellBlurEffect from blur-my-shell extension - Add_corner_radius_to_NativeDynamicBlurEffect.patch (hardcoded to 14, TBD add slider on application tab). Also can share prebuilt gnome-shell-48.5 arch package or tarball with PKGBUILD in case you don't wanna bother with build

does this patch also can apply to the latest gnome? (gnome 49) also can you share the prebuilt? thanks!

I can confirm it works with GNOME 49 at least Image

How did you round and make a gap for the panel?

sofiedotcafe avatar Oct 17 '25 10:10 sofiedotcafe

How did you round the panel?

I use Dash to Panel for that, but Open Bar also works as well

MeguMario avatar Oct 17 '25 10:10 MeguMario

How did you round the panel?

I use Dash to Panel for that, but Open Bar also works as well

Like the top one? Gonna steal that :3

sofiedotcafe avatar Oct 17 '25 10:10 sofiedotcafe

Here is the patch for gnome-shell: Shell_BlurEffect__rounded_corners_mask.patch. After patched gnome-shell is installed you wanna pass corner_radius to ShellBlurEffect from blur-my-shell extension - Add_corner_radius_to_NativeDynamicBlurEffect.patch (hardcoded to 14, TBD add slider on application tab). Also can share prebuilt gnome-shell-48.5 arch package or tarball with PKGBUILD in case you don't wanna bother with build

does this patch also can apply to the latest gnome? (gnome 49) also can you share the prebuilt? thanks!

I can confirm it works with GNOME 49 at least Image

Can you explain for dummies how to implement this and how to change Custom Corner Radius?

root9191 avatar Oct 17 '25 13:10 root9191

Can you explain for dummies how to implement this and how to change Custom Corner Radius?

Assuming you are using Arch (or any distro that is based on Arch), you can grab the PKGBUILD for gnome-shell here and Blur My Shell here. Modify the PKGBUILD of both to include the patch, then install them like you would with any AUR packages

Here's mine for gnome-shell

source=(
   ...
  "https://github.com/user-attachments/files/22458817/Shell_BlurEffect__rounded_corners_mask.patch"
)
b2sums=(
   ...
   'SKIP')

prepare() {
  ...
  # Patch in blur fix
  cd $pkgbase
  patch -Np1 -i ../Shell_BlurEffect__rounded_corners_mask.patch
}

and Blur My Shell

source=( ...
        'https://github.com/user-attachments/files/22459173/Add_corner_radius_to_NativeDynamicBlurEffect.patch'
)
sha256sums=( ...
            'SKIP')

...

prepare() {
  cd blur-my-shell

  ...

  patch -Np1 -i ../Add_corner_radius_to_NativeDynamicBlurEffect.patch
}

To change the corner radius, you either wait for the patch creator to update the patch themselves, or edit Add_corner_radius_to_NativeDynamicBlurEffect.patch to the value of your choice, the value itself is 14.0 in the patch so it's quite easy to find

MeguMario avatar Oct 17 '25 15:10 MeguMario

Can you explain for dummies how to implement this and how to change Custom Corner Radius?

Assuming you are using Arch (or any distro that is based on Arch), you can grab the PKGBUILD for gnome-shell here and Blur My Shell here. Modify the PKGBUILD of both to include the patch, then install them like you would with any AUR packages

Here's mine for gnome-shell

source=(
   ...
  "https://github.com/user-attachments/files/22458817/Shell_BlurEffect__rounded_corners_mask.patch"
)
b2sums=(
   ...
   'SKIP')

prepare() {
  ...
  # Patch in blur fix
  cd $pkgbase
  patch -Np1 -i ../Shell_BlurEffect__rounded_corners_mask.patch
}

and Blur My Shell

source=( ...
        'https://github.com/user-attachments/files/22459173/Add_corner_radius_to_NativeDynamicBlurEffect.patch'
)
sha256sums=( ...
            'SKIP')

...

prepare() {
  cd blur-my-shell

  ...

  patch -Np1 -i ../Add_corner_radius_to_NativeDynamicBlurEffect.patch
}

To change the corner radius, you either wait for the patch creator to update the patch themselves, or edit Add_corner_radius_to_NativeDynamicBlurEffect.patch to the value of your choice, the value itself is 14.0 in the patch so it's quite easy to find

i did it like you said but i still see the edges:

Image

root9191 avatar Oct 17 '25 16:10 root9191

i did it like you said but i still see the edges:

Image

Try log out and log back in (or restart your computer)

MeguMario avatar Oct 17 '25 16:10 MeguMario

i did it like you said but i still see the edges: Image

Try log out and log back in (or restart your computer)

I did that already, logout and then reboot.

root9191 avatar Oct 17 '25 16:10 root9191