From 98979584fb753fbbd00b8b0f547e00ea0ab93d66 Mon Sep 17 00:00:00 2001 From: Rune Olsen Date: Mon, 20 Jul 2026 08:00:25 +0200 Subject: [PATCH] Fix dead Cmd+/ shortcut for In-App Help; rebind to Ctrl+Cmd+H MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html | 2 +- oAI/Views/Screens/HelpView.swift | 2 +- oAI/oAIApp.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html b/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html index 7592fe8..c02e094 100644 --- a/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html +++ b/oAI/Resources/oAI.help/Contents/Resources/en.lproj/index.html @@ -1526,7 +1526,7 @@ Whenever the user asks you to translate something, translate it to Norwegian Bok
⌘,
Open Settings
-
⌘/
+
⌃⌘H
Show in-app Help
⌘?
diff --git a/oAI/Views/Screens/HelpView.swift b/oAI/Views/Screens/HelpView.swift index d290046..2471e16 100644 --- a/oAI/Views/Screens/HelpView.swift +++ b/oAI/Views/Screens/HelpView.swift @@ -213,7 +213,7 @@ private let keyboardShortcuts: [(key: String, description: String)] = [ ("\u{2318}L", "Conversations"), ("\u{21E7}\u{2318}S", "Statistics"), ("\u{2318},", "Settings"), - ("\u{2318}/", "Help"), + ("\u{2303}\u{2318}H", "Help"), ] // MARK: - HelpView diff --git a/oAI/oAIApp.swift b/oAI/oAIApp.swift index 7339c34..280ae0a 100644 --- a/oAI/oAIApp.swift +++ b/oAI/oAIApp.swift @@ -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 }