[Sway] Firefox on Wayland locks-up when randomly clicking extensions and/or menu multiple times
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: marius, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: QA-not-reproducible)
Attachments
(1 file)
|
46.72 KB,
text/plain
|
Details |
Steps to reproduce:
Randomly click extensions that I have enabled in the menubar, to open their popups, as well as sometimes click the burger menu to open the menu. The extensions I have installed are the following:
1Password
ClearURLs
Cookie AutoDelte
Dark Reader
Decentraleyes
IPFS Companion
KeePassXC-Browser
MetaMask
Tridactyl
User-Agent Switcher
uBlock Origin
Actual results:
Firefox locked-up, making it impossible to click/press anything and won't react to neither clicks nor keypresses. Ctrl+Q won't work. This is reproducible. I started Firefox from the CLI to see if it throws anything on stdout but it either doesn't seem to or I do not have the debug settings for that enabled, not sure.
Since e.g. 1Password or the uBlock Origin popup are needed quite frequently, the browser is barely usable anymore. This issue has started with (or shortly after) Firefox 96 and seems to have persisted until now.
My Firefox was built using the following options:
[ebuild NS ~] www-client/firefox-100.0:rapid::gentoo [91.9.0:esr::gentoo] USE="clang dbus geckodriver gmp-autoupdate hardened hwaccel openh264 pulseaudio screencast system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-png system-webp wayland -debug -eme-free -jack -libproxy% -lto -pgo (-selinux) (-sndio) (-system-python-libs) -wifi" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sco -si -sk -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" 475,780 KiB
Expected results:
The popups should pop up one after the other.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•3 years ago
|
Updated•3 years ago
|
I've created a new profile and launched Firefox with that, so that no extensions/themes or custom settings are messing with it. The moment I clicked on an icon in the toolbar the browser locked-up, forcing me to killall firefox. This issue is making Firefox unusable, requiring to killall firefox a lot and making it nearly impossible to log in to sites using 1Password for example.
Here is a screenshot of what the locked-up Firefox was looking like: https://ibb.co/pW4jQfv
This is Mozilla Firefox 100.0.
about:buildconfig
Build Configuration
Please be aware that this page doesn't reflect all the options used to build Firefox.
Source
Built from https://hg.mozilla.org/releases/mozilla-release/rev/1c7f7adc90e2b4c8d64548938bb1499033c5be8f
Build platform
target
x86_64-pc-linux-gnu
Build tools
Compiler Version Compiler flags
/usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang -std=gnu99 13.0.1 -pipe -march=znver3 -fPIC -ffunction-sections -fdata-sections -fno-math-errno -pthread -pipe
/usr/lib/llvm/13/bin/x86_64-pc-linux-gnu-clang++ -std=gnu++17 13.0.1 -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -pipe -march=znver3 -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables
/usr/bin/rustc 1.59.0
Configure options
--enable-application=browser --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu MOZILLA_OFFICIAL=1 --update-channel=release MOZBUILD_STATE_PATH=/var/tmp/portage/www-client/firefox-100.0/work/firefox_build --enable-optimize=-O2 --with-toolchain-prefix=x86_64-pc-linux-gnu- CC=x86_64-pc-linux-gnu-clang LD=x86_64-pc-linux-gnu-ld CXX=x86_64-pc-linux-gnu-clang++ HOST_CC=x86_64-pc-linux-gnu-clang HOST_CXX=x86_64-pc-linux-gnu-clang++ --enable-linker=lld --disable-debug-symbols --enable-hardening AR=llvm-ar NM=llvm-nm PKG_CONFIG=x86_64-pc-linux-gnu-pkg-config --disable-cargo-incremental --with-libclang-path=/usr/lib/llvm/13/lib64 --enable-system-ffi --enable-rust-simd --with-system-icu --enable-default-toolkit=cairo-gtk3-wayland --with-system-graphite2 --with-system-harfbuzz --with-system-av1 --with-mozilla-api-keyfile=/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/api-mozilla.key --with-google-location-service-api-keyfile=/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/api-location.key --with-google-safebrowsing-api-keyfile=/var/tmp/portage/www-client/firefox-100.0/work/firefox-100.0/api-google.key --with-system-webp --with-unsigned-addon-scopes=app,system --allow-addon-sideload --with-system-libvpx --with-system-jpeg --with-system-png --without-wasm-sandboxed-libraries --with-system-nss --disable-updater --with-system-libevent --disable-crashreporter --disable-necko-wifi --disable-parental-controls --enable-system-pixman XARGS=/usr/bin/xargs --disable-install-strip --with-system-zlib --enable-official-branding --libdir=/usr/lib64 --prefix=/usr --x-includes=/usr/include --x-libraries=/usr/lib64
I observed that when I have a YouTube video running in picture pop-out mode while I use the browser and click around on the menu bar, Firefox won't seem to completely lock-up anymore. However, for example the downloads popup or the burger menu popup will suddenly still not be visible anymore. When I click it, nothing show up. However, if I click a random area underneath for example the download icon, the download manager eventually opens, meaning that there is something.
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Please test latest nightly. Which Wayland compositor do you use?
Will do, thank you Martin! I use Sway.
(In reply to Martin Stránský [:stransky] (ni? me) from comment #6)
Please test latest nightly. Which Wayland compositor do you use?
I have just tested this issue using the pre-built nightly downloaded from the Mozilla website and it still happens with the most recent version. Wildly clicking around on the extension icons will eventually lead to one popup not displaying correctly and Firefox hanging up.
I've also tested it the every stable version that came out in the past two weeks on Gentoo, same thing happens. Again, this hasn't been the case for the esr version and downgrading to one of these fixed the problem. It seems something was introduced into the late 90s versions that broke it to a point that Firefox is very much unusable on Wayland at this moment.
Please test Gnome or KDE.
I cannot do that unfortunately, nor do I believe it has anything to do with it. As stated before, even the pre-builts from Mozilla seem to contain this issue.
I can gladly provider further information on this issue if you could point me to information on how to debug something like this on Firefox. Is there any verbose mode I could turn on in order to get command line output?
Comment 10•3 years ago
|
||
(In reply to marius from comment #9)
Please test Gnome or KDE.
I cannot do that unfortunately, nor do I believe it has anything to do with it. As stated before, even the pre-builts from Mozilla seem to contain this issue.
Look at https://bugzilla.mozilla.org/show_bug.cgi?id=1551279 - it's full of bugs which happens on Sway only. It's known to be broken (sometimes for purpose) and we don't have manpower to fix / investigate it. We fix only bugs which are reproducible on 2 compositors at least (Gnome/KDE or Sway).
Sorry I didn't attach a how-to. You can do the test from your sway session, you just need to install mutter/kwin compositors:
How-to is here:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_different_Wayland_compositor
Thanks.
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Hello I have tried to reproduce the issue with firefox 107.0a1(2022-10-17) on Ubuntu 22.04, unfortunately I wasn't able to reproduce the issue. I will mark this issue with the QA-not-reproducible tag.
Comment 12•2 years ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Closing the bug as incomplete.
For more information, please visit auto_nag documentation.
Description
•