Open Bug 1600584 Opened 5 years ago Updated 10 months ago

[Wayland] [Weston] Firefox 70, Drop-down list is not working in weston

Categories

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

70 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: didin, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

Run firefox-wayland and opened any page with drop-down list.

Here is simple example to try:
https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select.
Drop-down list is not clickable.

Actual results:

In firefox-wayland drop-down list does not work.
In firefox-x11 drop-down list works well.

Expected results:

In firefox-wayland drop-down list should work.
In firefox-x11 drop-down list should work.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

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

I've the same issue on GNOME wayland on a secondary screen. No dropdown lists show up when Firefox window is on the secondary screen.

Same here on Arch Linux 5.4.2-arch1-1 with wayland and sway 1.2 as window manager. Example above and other select elements do not work.
Even internally (Preferences, History, Firefox will "Use Custom settings for history") selects are not working.

Blocks: wayland-popup
No longer blocks: wayland

Can you please test latest nightly under Wayland? A new popup handling code landed there.
Thanks.

Just tested this with both 89.0 and 2021-06-10 nightly, still not fixed, sorry.

Please re-test with new nightly as it gets another popup fixes.
Thanks.

Tested again with 2021-06-17 nightly, no luck. :(

Dropdowns work fine on primary screen, but are invisible on secondary screen. Note that selecting an item still works by opening the dropdown (say, a <select>), then clicking with your mouse on one of the invisible items. It's not easy to hit the right one this way, of course ;)

In other words: Mouse clicks register correctly, you just don't see what you're clicking on.

I can confirm the same issue.

Firefox nightly: 91.0a1.20210711212832+h877be9f91d38-1
Sway: 1.6.1
Arch linux: 5.12.14-arch1-1

Dropdown menus are not rendered on secondary screens. They do work to select options with both arrow keys, or clicking blind into the area where the dropdown menu should have been rendered.

As a workaround, I currently have to disable the primary screen and then enable it again:

$ swaymsg output eDP-1 disable; swaymsg output eDP-1 enable

As for the Sway / secondary screen, can this be a dupe of Bug 1722767 ? i.e. Do you use scale factor on secondary screen?

Blocks: wayland-sway
No longer blocks: wayland-popup
Priority: -- → P3

I have the same issue. Scale factor 2 on primary (laptop) screen, scale factor 1 on secondary screen.
Workaround suggested by Christoph works great, thanks a lot for that! I have to do that every time I plug in a secondary screen.

(In reply to Martin Stránský [:stransky] (ni? me) back on Aug 23 from comment #9)

As for the Sway / secondary screen, can this be a dupe of Bug 1722767 ? i.e. Do you use scale factor on secondary screen?

I'm using fractional scaling. :
Laptop screen : scale 1.3
External screen: scale 1

Given that everyone experiencing this bug (including me) had different scale factors on their primary and secondary displays, I suspect this may be https://github.com/swaywm/sway/issues/6147. In that case, it should be fixed by these two patches.

I'm using Gnome on Wayland with only one screen. The dropdown in the linked example works, but the dropdowns in about:preferences don't work well and glitch very often. For example, I can't change the default search engine.

I'm using Firefox 97.0.1 64 Bit as a Flatpak.

Severity: normal → S3

Still happening on Weston Wayland.
Firefox Version 122.0 (64-bit) Mozilla Firefox for Arch Linux
Weston Version 13.0.0-1

started with MOZ_ENABLE_WAYLAND=1 firefox : no drop down on about:preferences work with the mouse (curiously the drop down menu on the right click work properly).

started with MOZ_ENABLE_WAYLAND=0 firefox : this problem doesnt happen on xwayland.

Additionally drops downs can still be navigated and used with the keyboard, so the problem could be related to mouse and pointer interaction ( with touch screen it happens too).
Investigating other dropdown menus on other sites it can be seen that at least on translate.google.com, the dropdown menu used for selecting language works properly.
since with the keyboard it work fine and that it is no happen on al sites i think the problem is related to <select> html element and its related like <menuitem> are affected, and the dropdown originated from buttons like on google translate are not affected.

You need to log in before you can comment on or make changes to this bug.