Open Bug 1743254 Opened 3 years ago Updated 2 years ago

Only with tabs in titlebar: Bringing up Firefox window causes transient glitches with GLX and EGL HW WR

Categories

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

Firefox 94
x86_64
Linux
defect

Tracking

()

Tracking Status
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- affected

People

(Reporter: ibragimovrinat, Unassigned)

References

(Blocks 2 open bugs)

Details

(Keywords: correctness)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

Steps to reproduce:

  • Set up a clean Firefox profile.
  • Open Firefox window
  • Repeatedly minimize and then bring Firefox window up.

Actual results:

For a tiny fraction of a second the whole Firefox window is glitched. Then it becomes normal. (There is a video attached with a slowed down screen capture).

Expected results:

Window should appear in a sane way, without glitches.

Here is a screen capture. The video itself was captured at 60 fps, but slowed down to 2 frames per second.

For some reason the video attached looks wrong when viewed in Firefox. You may want to download it and use a video player.

As for the versions, I'm using Firefox 94.0.2 on Debian testing with Xfce 4.16 desktop and Mesa 21.2.5. This was captured on almost clean profile. I've just enabled dark theme and removed a title bar in settings.
Firefox currently defaults to EGL, but this glitch is also visible when I switch back to GLX. The glitch disappears if I set gfx.webrender.software to true.

Hardware is Intel i7-6820hq with integrated Intel HD Graphics 530 (Skylake).

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Thanks for the report! Does this also/still occur with Nightly?

Blocks: wr-linux
Keywords: correctness
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Bringing up Firefox window causes transient glitches → Bringing up Firefox window causes transient glitches with GLX and EGL HW WR

(In reply to Darkspirit from comment #5)

Thanks for the report! Does this also/still occur with Nightly?

96.0a1 (2021-11-28) (64-bit) seems to have no such glitches.

(In reply to Rinat from comment #6)

96.0a1 (2021-11-28) (64-bit) seems to have no such glitches.

New information. Seems that removing title bar is essential. When I uncheck "Title Bar" in customization settings thus removing the title bar, glitches appear in Nightly too. And when I turn on the title bar in stable branch Firefox, glitches disappear in stable.

Blocks: gtktitlebar
Summary: Bringing up Firefox window causes transient glitches with GLX and EGL HW WR → Only with tabs in titlebar: Bringing up Firefox window causes transient glitches with GLX and EGL HW WR
Priority: -- → P3

First attempt to find commits that introduced this change was not successful. Today I decided to give it another try. Managed to find this range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=afa70e5e516abf11f4760b915c0b3d09bc351147&tochange=024bef408a8896f365789759f6a3b6e00daf5aca
Glitches appear after those changes.

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: