Open Bug 1694514 Opened 9 months ago Updated 1 month ago

[layout.css.devPixelsPerPx] Single clicking add-on icons in toolbar acts as a double click

Categories

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

Firefox 85
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ari.birnbaum, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

  1. Run env GDK_BACKEND=wayland firefox
  2. Configure layout.css.devPixelsPerPx to something other than 1 or -1
  3. Single click an add-on's icon in the toolbar.

FYI: Ubuntu 20.10 (Wayland), FF 85.0.1

Actual results:

The initial click to open the add-on is normal.

But, a single click to dismiss the add-on menu results in the add-on menu being dismissed then reopened (similar to double-clicking the add-on menu).

Expected results:

The single click to dismiss the add-on menu should dismiss the add-on menu instead of reopening it.

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

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

Another case where this issue occurs:

Fractional scaling at 125%. layout.css.devPixelsPerPx equals -1. Firefox window is maximized. Only the hamburger menu is affected.

I am on GNOME 3.38.3.

Priority: -- → P2

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

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

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

Sadly, still occurring for me. FF Nightly 91.0a1 (2021-06-01) (64-bit). Fresh installation of Ubuntu 21.04.

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

This issue is less consistent to reproduce, but still is occurring for me. 91.0a1 (2021-06-16) (64-bit).

Summary: [Wayland] Single clicking add-on icons in toolbar acts as a double click when layout.css.devPixelsPerPx!=-1 → [layout.css.devPixelsPerPx] Single clicking add-on icons in toolbar acts as a double click

Can you test latest nightly please? Might be fixed by Bug 1735095.
Thanks.

Flags: needinfo?(ari.birnbaum)

The issue is still occurring for me. FF 96.0a1. Ubuntu 21.10.

Flags: needinfo?(ari.birnbaum)
You need to log in before you can comment on or make changes to this bug.