aunetx / blur-my-shell

Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview
https://extensions.gnome.org/extension/3193/blur-my-shell/
GNU General Public License v3.0
1.58k stars 87 forks source link

Default Blur Shown After Waking From Suspend #587

Open fr0gdude opened 6 months ago

fr0gdude commented 6 months ago

I changed my "Default - Native gaussian blur" to reflect Radius: 5 and Brightness: 0.20.

When I wake my laptop from suspend the blur effect appears as though it has been reset. By that, I mean the blur looks like Radius: 30 instead of Radius: 5. The brightness appears to be unaffected by this and still reflects my custom value. When I go to the extension settings, I still see my custom value (ie 5, 0.20).

I am able to restore my custom effect by changing the value and then changing it back. For example Radius 5 -> 4 -> 5.

Here is my extension list: image

Possible Prevalent Info: I deleted the rounded pipeline as I wasn't using it for anything. I'm using the default pipeline for the dock because I am using a paneled Ubuntu dock.

Let me know if you need me to / how to get some useful logs.

fr0gdude commented 6 months ago

Below is what it looks like after waking from suspend. after-suspend

Below is after I change Radius from 5 to 4 and then back to 5. after-change

aunetx commented 6 months ago

Hello, I think I kind of fixed this bug in #542! You can test it if you want (and I would be very grateful if you can see a difference because I'm not totally sure this is fixed either, it should be but that's only theorical for the moment)

I do not know precisely where it comes from but the changes I made should catch it either way so that should be ok

fr0gdude commented 6 months ago

@aunetx is this fix in v61? The screenshots above are from v61. I don't see any replies in #542. Maybe you linked the wrong issue #. Let me know if I need to change a setting or if this fix is in v62.

fr0gdude commented 6 months ago

Hey, I managed to find the problem and "fix" it. Fix in quotations because I haven't even looked at your source code. Idk how it didn't dawn on me earlier to check the dconf value rather than just looking at the UI of the extension app.

{
    'pipeline_default': {
        'name': <'Default'>, 
        'effects': <[
            <{
                'type': <'native_static_gaussian_blur'>, 
                'id': <'effect_000000000000'>, 
                'params': <{
                    'radius': <30>, 
                    'brightness': <0.20000000000000001>, 
                    'unscaled_radius': <10>
                }>
            }>
        ]>
    }
}

This is what my values looked like. After changing "radius" to 10 and not just "unscaled_radius". The issue stopped.

PS: Don't be confused by the value of 10. Between posting this bug and now, I decided that a value of 10 looked better.

aunetx commented 6 months ago

OK, I think I know where this comes from! I will see what I can do to fix it, thanks you very much for the dconf values :)

(Though it won't be fixed after a week or so because I'm quite busy)