Skip to content

fix(shortcuts): register global shortcuts at launch - #201

Merged
jsattler merged 1 commit into
mainfrom
199-global-keyboard-shortcuts-do-not-work-until-the-menu-bar-popover-is-opened
Aug 30, 2026
Merged

jsattler merged 1 commit into
mainfrom
199-global-keyboard-shortcuts-do-not-work-until-the-menu-bar-popover-is-opened

Conversation

@jsattler

Copy link
Copy Markdown
Owner

MenuBarExtra content with .menuBarExtraStyle(.window) is built lazily, so the .task registering KeyboardShortcuts handlers never ran until the user first opened the popover. Move registration into AppDelegate.applicationDidFinishLaunching.

Fixes #199

MenuBarExtra content with .menuBarExtraStyle(.window) is built lazily, so
the .task registering KeyboardShortcuts handlers never ran until the user
first opened the popover. Move registration into
AppDelegate.applicationDidFinishLaunching.

Fixes #199
@jsattler jsattler self-assigned this Aug 30, 2026
@jsattler
jsattler merged commit f1ecc88 into main Aug 30, 2026
3 checks passed
@jsattler
jsattler deleted the 199-global-keyboard-shortcuts-do-not-work-until-the-menu-bar-popover-is-opened branch August 30, 2026 18:42
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.

Global keyboard shortcuts do not work until the menu bar popover is opened

1 participant