macOS Sequoia context menu keyboard shortcut synthesizes click in the middle of the window
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
People
(Reporter: jellinek, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Steps to reproduce:
- Navigate to a page in Firefox (e.g. this page)
- Press Ctrl-Enter to open the context menu (this is a new system keyboard shortcut in Sequoia: https://developer.apple.com/videos/play/wwdc2024/10124/?time=524)
- Dismiss the context menu
- Scroll down until an element with its own context menu, like a textarea or link, is exactly in the middle of the viewport; press Ctrl-Enter again
- Focus a form field; press Ctrl-Enter again
Actual results:
A right-click event is synthesized in the middle of the viewport on Ctrl-Enter. The right-click event is always in the middle of the viewport, no matter which element is focused, where the mouse is, or whether browser chrome (like the URL bar) is focused.
The original Enter key event also goes through, so forms get submitted in addition to the context menu opening.
Expected results:
See first-party apps like Notes. Context menu should open on the focused element, not the middle of the page. If a form field is focused, the context menu should open at the cursor. If a listbox is focused, the context menu should open at the selected element.
Ctrl-Enter should not cause default Enter key behavior.
Comment 1•18 days ago
|
||
The severity field is not set for this bug.
:spohl, could you have a look please?
For more information, please visit BugBot documentation.
Updated•1 day ago
|
Description
•