Consider allowing macOS-provided menu items to execute their action without propagating the event to our keyDown: handler
Categories
(Core :: Widget: Cocoa, task)
Tracking
()
People
(Reporter: spohl, Assigned: spohl)
References
(Blocks 1 open bug)
Details
Attachments
(1 obsolete file)
macOS adds some menu items to our menu bar, such as the emoji picker. The shortcuts for these menu items may not work properly, since we do not have an internal representation of these menu items. One potential solution is to allow these menu items to execute their actions and stop the propagation of the event. This would be a departure from our current strategy where all of these events go through our keyDown: handler, i.e. TextInputHandler::HandleKeyDownEvent. I'm going to attach a patch for discussion. This patch fixes a variety of bugs, such as bug 1855346, bug 1833923, bug 1806374 and others. It does not, however, address bug 1333781.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
I'm going to abandon this bug in favor of a better patch that I will be posting to bug 1855346 to address the Ctrl+Cmd+Spacebar case. I will file a separate bug to start respecting the Fn+e shortcuts (and similar Fn shortcuts) and we will want to land both at the same time to support current and legacy shortcuts for the emoji picker and other menu items.
Updated•1 year ago
|
Description
•