Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#72073 - [firefox] Context menu not working

Attached to Project: Arch Linux
Opened by Jannika (unsus) - Wednesday, 08 September 2021, 13:04 GMT
Last edited by Jan Alexander Steffens (heftig) - Saturday, 11 September 2021, 10:26 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:

After upgrading to version 92, all context menus stopped working.
It is no longer possible to access the menu or anything requiring right click options

The bug also affects the current beta, but not firefox-esr 91.1

Additional info:
* package version(s) firefox 92.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

- Upgrade to firefox 92.x
- Try to use menu
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Saturday, 11 September 2021, 10:26 GMT
Reason for closing:  Won't fix
Comment by Ilya Epifanov (smartislav) - Wednesday, 08 September 2021, 14:59 GMT
Why is it's severity set to low?
The browser is completely unusable under Wayland.

The workaround is to launch it with `WAYLAND_DISPLAY= firefox`
Comment by Jannika (unsus) - Wednesday, 08 September 2021, 15:02 GMT
Severity should be set to high or critical
Comment by Jannika (unsus) - Wednesday, 08 September 2021, 15:26 GMT Comment by Michael Eliachevitch (elimik31) - Wednesday, 08 September 2021, 15:59 GMT
I have the same problem with firefox 92.0-1 under sway, thanks for the workaround, works like a charm, at least from the terminal. But it doesn't help when launching the firefox via the desktop file and a launcher like e.g. rofi/wofi. I tried changing the Exec line to e.g.
```
Exec=env WAYLAND_DISPLAY= /usr/bin/firefox --private-window %u

```
but this didn't seem to do the trick for me, maybe I'm missing something.

I can live with the terminal method for a while and hopefully this will be fixed soon enough.
Comment by Cuba Jashi (cubajashi) - Wednesday, 08 September 2021, 17:59 GMT
could this be some dependencies need to rebuild? hard to believe this is upstream!?

i have the same Problem no context menu, also i notice under llvmpipe (LLVM 12.0.1, 256 bits) as graphic the cpu usage
is higher than normal and stuck sometimes at 100% if you try to open the context menu with right click everywhere.

i'm using GDK_BACKEND=wayland WAYLAND_DISPLAY=wayland0 under sway and firefox with ublock addon.
Comment by Ahmed (sahaf) - Wednesday, 08 September 2021, 18:02 GMT
I can confirm that not only the context menu doesn't work. Firefox is completely unusable under Sway (Wayland). Even the work around didn't work for me. CPU is high, and it's not responsive.

I think the severity should be bumped to high
Comment by Cuba Jashi (cubajashi) - Wednesday, 08 September 2021, 18:08 GMT
the work around only disable wayland and use xwayland right?
Comment by AK (Andreaskem) - Wednesday, 08 September 2021, 18:24 GMT
Weirdly enough, I notice no issues using firefox 92 on sway with the wayland backend. Everything seems to work perfectly well. I am on AMD graphics.
Comment by Ahmed (sahaf) - Wednesday, 08 September 2021, 18:27 GMT
I run firefox from console looking at the printed messages. Opening context menu (which doesn't work) or even hovering on any button like refresh/back/ or the burger button prints this same message non-stopping causing high CPU.

```

(firefox:2126): Gtk-WARNING **: 21:23:44.736: Theme parsing error: gtk-contained.css:2871:228: Missing closing bracket for :not()

```
Comment by AK (Andreaskem) - Wednesday, 08 September 2021, 18:35 GMT
Googling around suggests that specific locales or themes might cause similar messages. Do you use any non-en_US locales? Special themes? I am using en_US.UTF-8 and about:support mentions

OS Theme Adwaita / Adwaita
Comment by Ahmed (sahaf) - Wednesday, 08 September 2021, 18:38 GMT
I'm using Adapta / Adwaita-dark theme. for the locales I use en_US
Comment by Ahmed (sahaf) - Wednesday, 08 September 2021, 20:05 GMT
@AK(Andreaskem) you're right. it was related to the theme
Comment by Cuba Jashi (cubajashi) - Thursday, 09 September 2021, 17:03 GMT
sway with output scale 2 are affected.

if you use sway with scale 1 everything works as it should.
Comment by AK (Andreaskem) - Friday, 10 September 2021, 07:45 GMT
You are right. I updated my work laptop today. It uses sway with a scale 2 setting and Firefox 92 no longer shows any context menus.
Comment by Ahmed (sahaf) - Friday, 10 September 2021, 10:53 GMT
I confirm that context menu doesn't work with scale 2 setting
Comment by Anatolii Sakhnik (sakhnik) - Friday, 10 September 2021, 14:31 GMT Comment by Jan Alexander Steffens (heftig) - Saturday, 11 September 2021, 10:26 GMT
Wayland is not a supported configuration yet and patches will not be added for it

Loading...