Background with Shell.BlurEffect not showing randomly with Wayland + 2 Monitors
Affected version
- Fedora Linux 37 (Workstation Edition)
- GNOME Shell 43.2
- Only affects Wayland
What happened
The bug consists of the blurred background inserted by an extension not showing randomly only on the primary monitor on the overview.
Bug summary
The bug was discovered by "Blur my Shell" extension: https://github.com/aunetx/blur-my-shell/pull/271.
Although there is an effort to fix it at the extension code through some "band-aid" codes (removing and re-adding the background children multiple times handling when the overview opens & close), it seems this bug belongs to the Shell + Wayland and not the extension itself.
I created a much simpler extension to reproduce the issue: https://gitlab.gnome.org/miguilim/multi-monitor-wayland-bug-test/-/tree/main.
This extension creates a Meta.BackgroundActor
with a Shell.BlurEffect
on it and adds it as a child at Main.layoutManager.overviewGroup
at the enable()
function. It has nothing to deal with handling when the overview opens or close, so the blurred background should be showing 100% of the time.
Note: Sometimes, when it does not appear, the background suddenly appears if you wait some seconds with the overview open.
Steps to reproduce
- Install the custom extension.
- Use a Wayland session.
- Use a two monitors setup (I tested with three monitors, and the bug didn't happen).
- Use the primary monitor on the left side (Very important! If the primary monitor is on the right, the bug also doesn't happen).
- Press the overview button multiple times.
Relevant logs, screenshots, screencasts etc.
Gravação_de_tela_de_2023-02-06_02-17-13-fullhd
Note: I'm currently using my custom extension in this video. Since its code is much simpler and demonstrates that the problem does not belong to the Bluy my Shell extension.
Re-creating issue #6370 (closed) since I lost its owner because my account got deleted by mistake because of the bot spam wave.