Closed Bug 1978763 Opened 1 year ago Closed 1 year ago

[MATE] Starting firefox with multiple windiws wayland compositing enabled makes some of the windows transparent

Categories

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

Firefox 143
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: s.zharkoff, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

Run the firefox session with 3 windows (may be more) on Linux Wayland wuth hdr enabled and wayland.vsync enabled.

Actual results:

One of the winodws often appeard transparent - only windiw decoration painted. But it is fynctional - if I click where the menue shpuld be I get the pop-up menu.

If I restart the ff (sometimes it tales several restarts) I can finally get all windows OK and functional.

If I disable vsync - windows are always OK but I have terrible CPU use by compositor a t idle (known bug but seems to be wontfix in favor of always use vsync enabled)

If I disable hdr (and wayland layer compositing) - windows are always OK.

Running another ff instance with other profile also affects the bug - f/e after starting the 3-window instance if I start aother instance with alternative profile and only 1 window it still can get transparent, and also after restart (or many restarts) it becomes normal.

if window is painted OK after start - it continues to be good all the time, so it never happens anytime other than on first openng of the window.

Expected results:

hdr/vsync/wayland compositing works OK no matter how many ff windows are opened.

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

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

Please attach your about:support page.
Thanks.

Flags: needinfo?(s.zharkoff)

Also do you mind to create a screenshot of it?
Thanks.

Flags: needinfo?(s.zharkoff)

Desktop Environment mate - which compositor is that? Can you try Gnome or KDE?

Flags: needinfo?(s.zharkoff)
Priority: -- → P3
Summary: Starting firefox with multiple windiws wayland compositing enabled makes some of the windows transparent → [MATE] Starting firefox with multiple windiws wayland compositing enabled makes some of the windows transparent

https://cloud.mail.ru/stock/LUHwrJ9vxyyxkQCMNxNmUy63

That's how it looks like

In 4 restarts it became normal. Sound in the background was from youtube video that was invisibly playing within transparent window.

Compositor is wayfire.

Can not test it with gnome or kde unfortunately - do not have them installed

Looks like wayfire issue.
https://github.com/WayfireWM/wayfire/pull/2751
testing with this PR as well as with your latest autoland merges and so far so good.

Flags: needinfo?(s.zharkoff)

It looks like Firefox waits for the first vsync to render the content. Should Firefox always triggers a vsync when a window is shown?

Severity: -- → S3

well - seems the wayfire PR did fixed that. Now window that was broken before opens transparent - wait a second and then paint the contents. And no issues after. So if that is really wayfire only issue not affecting Gnome-KDE then the isse is to be closed I guess.

Let's mark it fixed! Please reopen this bug if necessary.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: