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 88 forks source link

Does not work with wayland on Pop OS #474

Open PfizeUbuntu opened 1 year ago

PfizeUbuntu commented 1 year ago

On Pop OS with wayland blur my shell dont work on primary screen. Please fix it.

ZZ-Cat commented 6 months ago

I have a similar issue to this, so I will expand on the OP here.

[!NOTE] X11 session is unaffected by this issue. It is isolated to Wayland.

Environment

Screenshot from 2024-05-25 09-41-02

As per the screenshot above, my environment is as follows:

What's going on

OP was not clear enough in their description, so I am expanding here.
Although, their experience may differ from mine, however this is the issue I am experiencing and it may be similar to the OP.

Screenshot from 2024-05-25 09-48-02

As per the screenshot above, you can clearly see that my desktop is blurred. By way of comparison, the screenshot below is from my X11 session, and it shows correct Blur my Shell behaviour:

Screenshot from 2024-05-11 21-26-15

Steps to reproduce

In Pop!_OS' Wayland session with GNOME extensions installed, along with Blur my Shell, do the following:

  1. Enable Blur my Shell in Extensions.
  2. Click Blur my Shell's Settings and go to the Applications page.
  3. Enable Applications blur (beta) by turning the toggle switch on.
  4. Optional: You may adjust the opacity and Customize properties to your own taste.
  5. Set Enable all by default by turning its toggle switch on.
  6. Ensure the Blacklist is empty.
  7. View your main desktop... which is heavily blurred as described.

Additional information

When the Whitelist is used instead of the Blacklist, the same excessive blur happens on certain apps such as Firefox.
In Firefox's case, when you initially whitelist Firefox, the blur works.
But, close Firefox and reopen it, and Firefox is completely obscured in the same way the desktop is obscured when the Blacklist is used.

Possible workarounds

These are temporary workarounds for end-users until this issue is resolved.
If you are using Wayland session, use one of these workarounds.

[!NOTE] These workarounds aren't silver bullets and that they should be treated as though thar akin to patching a leak in your fuel tank with faith-and-hope in bubblegum.

Blacklist your desktop

In the Applications tab of Blur my Shell's settings:

  1. If you haven't already, click Applications blur (beta) and click Enable all by default to switch their respective toggle switches on.
  2. Click Add Window, mouse over to your desktop background and click it.
  3. Close Blur my Shell's settings and Extensions, and your background should return to normal.

The two screenshots below show normal Blur my Shell behaviour when the desktop is blacklisted.

Screenshot from 2024-05-25 10-34-03 Screenshot from 2024-05-25 10-34-14

[!NOTE] Your desktop may show up as gjs (or some other unknown/undefined/obscure name) in the blacklist.

If you're still experiencing this excessive blur issue in certain apps (EG Firefox), you may add them to the blacklist as well.

Individually whitelist your apps

This is the most onerous of all the workarounds.
To "lighten the load" (so to speak), you may whitelist apps you commonly use, as opposed to whitelisting all the apps.
But, be aware that you could experience the same obscuring issue on certain apps that you whitelisted. So, trial-and-error of each and every individual app is recommended.
Another downside to this is your user interface may be inconsistent, where some apps are correctly blurred (in the way you want them to) and other apps aren't (due to this issue).

In the Applications tab of Blur my Shell's settings:

  1. Click Enable all by default to turn its toggle switch off.
  2. Add your individual apps to the whitelist by clicking Add window and selecting the app you wish to whitelist. As I previously stated, trial-and-error here is recommended. If Blur my Shell is "broken" for a particular app, then you must remove that app from the whitelist.

Disable Applications blur (beta)

If any of the above workarounds aren't working for you, it may be better to leave the applications blur disabled entirely, until this issue is resolved.
This will limit Blur my Shell to things such as your overhead bar and/or anything else you have enabled.