Open Bug 1887571 Opened 8 months ago Updated 8 months ago

[wayland][sway] content area and sidebar flashes briefly with a white light on focus on sway 1.9 and sway master

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 124
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ayush, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36

Steps to reproduce:

  1. Installed Firefox version 124.0.1 from the Arch Linux official repositories, from Flathub using Flatpak, and using the official binaries distributed by Mozilla on https://ftp.mozilla.org. I also installed the nightly versions of Firefox from https://ftp.mozilla.org a few days ago and tested this on them as well.

  2. Opened Firefox in a workspace and opened a 6-8 tabs.

  3. Opened the Firefox sidebar showing history

  4. Switch between back and forth between two sway workspaces, one of them containing Firefox with an interval of 30 seconds to 1 minute

  5. The content area and sidebar of Firefox (sometimes) flashes with a white light when Firefox gains focus.

https://0x0.st/HDxs.mp4

  1. This issue can be more reliably reproduced by opening a lot of (unloaded) tabs, say 500+, and installing the Sidebery extension. However, this step is NOT necessary to reproduce this issue. It's just that doing this helps reproduce the issue much faster.

https://addons.mozilla.org/en-US/firefox/addon/sidebery/

I have been able to reproduce this issue on sway version 1.9 and sway master 1.10-dev-5a7477cb (Mar 24 2024, branch 'master'). I'm using an AMD RX 6400 GPU with the open source drivers on a 27 inch 5k monitor that is scaled to 2x. From conversations with the user danieldg on sway IRC, this issue is also reproducible on a system with an Intel GPU.

I have been observing this issue sometime around the release of sway version 1.8, which was released back in December 2022.

Actual results:

The content area and/or the sidebar of Firefox flashes briefly with a white light which is an extremely jarring experience whenever focus is switched to Firefox. Sometimes the chrome of Firefox flashes as well (tab bar, address bar).

Expected results:

The content area, sidebar, and/or chrome should not flash.

I can also reproduce this issue sporadically while Firefox is open in troubleshooting mode.

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core
Component: Graphics: WebRender → Widget: Gtk
Blocks: wayland-sway
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.