Fix dead Cmd+/ shortcut for In-App Help; rebind to Ctrl+Cmd+H

Cmd+/ was never reaching the "In-App Help" menu item — AppKit
auto-reserves Cmd+/ to open/focus the app's own Help menu (same
mechanism as Cmd+?), silently pre-empting any custom binding on that
combo, exactly like the earlier Cmd+H (Hide Application) conflict.

Verified live with computer-use before landing on Ctrl+Cmd+H:
Option+Cmd+/ has unpredictable menu-glyph rendering and didn't fire;
Option+Cmd+H is macOS's reserved "Hide Others" shortcut (visibly hid
other app windows when tested). Ctrl+Cmd+H showed no OS-level effect
and correctly opens the panel.

HelpView's search bar was already fully implemented and working —
this was purely a matter of the shortcut never reaching it.
This commit is contained in:
2026-07-20 08:00:25 +02:00
parent 333e288418
commit 98979584fb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ struct oAIApp: App {
.keyboardShortcut("h", modifiers: [.command, .shift])
Button("In-App Help") { chatViewModel.showHelp = true }
.keyboardShortcut("/", modifiers: .command)
.keyboardShortcut("h", modifiers: [.command, .control])
Button("Credits") { chatViewModel.showCredits = true }