Skip to content

macOS: Improve menu item handling and add traditional fullscreen shortcut#2228

Merged
flyinghead merged 1 commit intoflyinghead:masterfrom
vkedwardli:fix-macos-keyboardshortcuts
Feb 10, 2026
Merged

macOS: Improve menu item handling and add traditional fullscreen shortcut#2228
flyinghead merged 1 commit intoflyinghead:masterfrom
vkedwardli:fix-macos-keyboardshortcuts

Conversation

@vkedwardli
Copy link
Collaborator

@vkedwardli vkedwardli commented Feb 1, 2026

User reported that he cannot go fullscreen by keyboard shortcut when he is not using an Apple keyboard.

Ctrl + Cmd + F was the standard Full Screen shortcut from OS X 10.7 Lion through macOS 11 Big Sur,

Feb-02-2026 16-18-02

  • So we provide the legacy keycombo as an alternate like Chromium to support both the new Globe + F and Ctrl + Cmd + F
  • Disables Toggle Menu when there is no command menu for toggling
  • Change Toggle Menu to Cmd + Shift + M to avoid clashing with Minimize

@vkedwardli vkedwardli force-pushed the fix-macos-keyboardshortcuts branch from abfc872 to c01bbe0 Compare February 2, 2026 08:07
@vkedwardli vkedwardli force-pushed the fix-macos-keyboardshortcuts branch from c01bbe0 to 995f4a8 Compare February 2, 2026 08:15
@vkedwardli
Copy link
Collaborator Author

Removed unused Apple Help menu item also


menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherApplications:) keyEquivalent:@"h"];
[menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)];
[menuItem setKeyEquivalentModifierMask:(NSEventModifierFlagOption | NSEventModifierFlagCommand)];
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update deprecations only, no logic change

@flyinghead flyinghead merged commit cd60025 into flyinghead:master Feb 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants