Bug 217822 - Bug in Safari File menu keyboard shortcuts remapped by System Prefs
Summary: Bug in Safari File menu keyboard shortcuts remapped by System Prefs
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-16 06:40 PDT by Robert
Modified: 2020-10-17 09:54 PDT (History)
0 users

See Also:


Attachments
Screen recording demonstrating bug, and variation with menu item selected (7.83 MB, video/mp4)
2020-10-16 06:40 PDT, Robert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2020-10-16 06:40:39 PDT
Created attachment 411566 [details]
Screen recording demonstrating bug, and variation with menu item selected

Steps to repeat this bug:

Step 1. In System Preferences > Keyboard > Shortcuts > App Shortcuts, reassign the keyboard shortcuts of Safari for 'New Private Window' to Command-n and 'New Window' to Command-Shift-n

Step 2. Restart Safari.

Step 3. In the File menu, note that the keyboard shortcuts have been remapped, and the new shortcuts are displayed in the menu next to 'New Private Window' and 'New Window'

Step 4. Press Command-n 


Expected Result: a new 'private' window is opened

Actual Result: a new 'standard' window is opened

Comments: The remapping of menu item shortcuts appears to work with most of Safari's menu items, unless the chosen shortcut is Command-n. Interestingly, if Safari's File menu is currently active (selected with mouse), the behaviour of Command-n changes to the expected action, and in this case opens a New Private Window as expected.
Comment 1 Alexey Proskuryakov 2020-10-17 09:54:08 PDT
Thank you for the report! This is a Safari issue, not a WebKit one, and as such we cannot track it in WebKit Bugzilla. Please report this to Apple via https://feedbackassistant.apple.com.