Closed Bug 1703930 Opened 4 years ago Closed 4 years ago

Native menus don't send DOMMenuItemInactive events

Categories

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

All
macOS
defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox89 --- verified

People

(Reporter: mstange, Assigned: mstange)

References

Details

(Whiteboard: [proton-context-menus] [priority:2c])

Attachments

(1 file)

Steps to reproduce:

  1. In a fresh profile, open the Bookmarks menubar menu.
  2. Go to the "Firefox Nightly Resources" folder.
  3. Move your mouse over the bookmarks in that folder, and watch the target URL being displayed in the bottom left corner of the browser window.
  4. Move your mouse outside of the submenu.
  5. Click outside the menu to dismiss it.

Expected results:
When the mouse leaves the bookmark menu items, the URL should disappear.

Actual results:
The URL of the last-hovered item remains, even after the menu has been dismissed.

This is because the native menu code only fires DOMMenuItemActive events but no DOMMenuItemInactive events.

Priority: -- → P2
Whiteboard: [proton-context-menus] [priority:2c]
Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/d5390c04b7ba Correctly send DOMMenuItemInactive events when the highlighted menu item in a native menu changes. r=harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Reproduced the initial issue using old Nightly 2021-04-08, verified that this is fixed using latest Nightly 89.0a1 on macOS 11.3.

Status: RESOLVED → VERIFIED
Blocks: 1737033
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: