Open Bug 1910305 Opened 2 months ago Updated 2 days ago

appMenu-popup stops responding to mouse click if `panel,menupopup { zoom: 1.01 }` is applied

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: saschanaz, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

  1. On Firefox on Windows, open Browser Toolbox
  2. Select <panel id="appMenu-popup">, and add zoom: 1.01 into the existing panel, menupopup CSS rule
  3. Open app menu (the hamburger menu) and open any submenu e.g. Help

Expected: (The UI slightly breaks which is expected) but the buttons should still respond
Actual: No response to mouse click or hover

Could be a widget thing?

I don't know anything in frontend that could react like this to CSS zoom.

Component: Menus → Widget: Win32
Product: Firefox → Core

(tbf this could also be XUL popup code? Maybe?)

Should check if this happens elsewhere.

Flags: needinfo?(krosylight)

Interestingly, I can reproduce on Linux — mostly; I have to click into a submenu before it stops responding — but I've completely failed to repro on Windows.

Even without that, I don't think this is likely to be a Widget thing, or at least not solely a Widget thing: we don't know anything about CSS-level zoom, as far as I can tell. My best guess that the menu contents are getting a scroll-widget around them (due to overlay: auto somewhere, perhaps?), and that this is somehow blocking propagation of mouse events. (That last could still be Widget-related, but I wouldn't bet on it.)

Redirecting to Core :: XUL per comment 2.

Component: Widget: Win32 → XUL
Flags: needinfo?(krosylight)

The severity field is not set for this bug.
:enndeakin, could you have a look please?

For more information, please visit BugBot documentation.

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