[wayland] Hover and drop down menus in Firefox's UI do not close in Gnome (with webrender compositor force-enabled)
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: theodonacik, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0
Steps to reproduce:
Installed Firefox Nightly, log into Gnome DE, then hover over tabs, click the menu in upper right or lock icon in address bar
Actual results:
The resulting menus do not go away visually, even after clicking off them moving the window. Firefox must be restarted. Still occurs in safe mode.
Expected results:
These menus should disappear. This behavior is not shared in either Sway WM and in Firefox non-nightly.
Comment 1•3 years ago
|
||
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.
Comment 2•3 years ago
|
||
Huh, I use gnome and I can't reproduce, can you attach your about:support
information? Did this work before (I hope so)?
Reporter | ||
Comment 3•3 years ago
|
||
Reporter | ||
Comment 4•3 years ago
|
||
I have not noticed this issue before, but I when I used gnome previously I used the non-nightly version which works fine, and with nightly in Sway this does not happen either. This may be related to the gnome 42/Fedora 36 update, but I cannot confirm as I did not use this version of Firefox in gnome before I updated
Comment 5•3 years ago
|
||
That's odd because I run Rawhide and well, things are usually much more broken than on the regular Fedora release ;-)
Could you run the following and see if it works there? It's just running a nightly from the 98-release-timeframe (MOZ_ENABLE_WAYLAND=1
shouldn't be needed I think, but better safe than sorry):
$ pip3 install --user mozregression
$ MOZ_ENABLE_WAYLAND=1 mozregression --launch 98
If that is working properly, can you run:
$ MOZ_ENABLE_WAYLAND=1 mozregression --good 98
That should give us a regression range on your machine. With a good internet connection it should not take more than 15 minutes, if you could do that it'd be amazing.
If that is not working properly that smells like a bug in Mutter, but...
Reporter | ||
Comment 6•3 years ago
|
||
It only showed me two versions before it errored because the build for 2022-03-30 good when it was expected to be bad. It seems to be only an issue with some configuration about what I have installed, which is strange because the issue persists even when I launch it in troubleshoot mode.
Comment 7•3 years ago
|
||
Yeah that means some pref in your profile is causing it. It seems you have settings like gfx.webrender.compositor.force-enabled=true
and so on. Does toggling that back off help?
Reporter | ||
Comment 8•3 years ago
|
||
Yes, toggling gfx.webrender.compositor.force-enabled to false fixed the problem, thank you.
Updated•3 years ago
|
Comment 9•3 years ago
|
||
I'm hitting this pretty invasive bug on freshly-release stable Firefox 99, as a Flatpak (the official one on Flathub), on Fedora 36 beta's GNOME 42 Wayland session.
Toggling gfx.webrender.compositor.force-enabled to false and activating the menu again allowed it to go away once, but it came back even with that setting enabled. (I haven't restarted Firefox yet, however, as I'm in the middle of doing work.) I think that means it's intermittent, but mainly stuck?
Trying to dismiss the menu by calling it up in other browser windows just makes multiple copies of the menu show up — one per window. Whoops.
Comment 10•3 years ago
|
||
changing gfx.webrender.compositor.force-enabled requires a restart.
Comment 11•3 years ago
|
||
I've finished my meeting, saved my work in other tabs, and restarted my browser. WebRender is still enabled according to about:support (no surprises there), but the force-enabled setting is set to false (default) and I haven't managed to trigger the lingering menu bug yet.
So far seems this bug is related to forcing WebRender on, but not WebRender itself? (Or it's one of those bugs that only shows up under certain conditions.)
Thanks for the suggestion about turning off the force and restarting! So far, so good!
Comment 12•3 years ago
|
||
Force-enabling WebRender is different from force-enabling the WebRender compositor. The WebRender compositor is default-off, afaict.
Comment 13•3 years ago
|
||
I have the same issue on Arch with Gnome 42. Also had gfx.webrender.compositor.force-enabled set to true. Resetting the value solved the issue.
Comment 14•3 years ago
|
||
Duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1752678
Updated•3 years ago
|
Description
•