Skip to content

fix(settings): cancel hotkey capture when clicking away - #261

Open
blackforestboi wants to merge 1 commit into
kitlangton:mainfrom
blackforestboi:codex/fix-hotkey-capture-session
Open

fix(settings): cancel hotkey capture when clicking away#261
blackforestboi wants to merge 1 commit into
kitlangton:mainfrom
blackforestboi:codex/fix-hotkey-capture-session

Conversation

@blackforestboi

Copy link
Copy Markdown

Summary

Clicking away from a shortcut field now ends capture immediately, so the next shortcut—such as Command-Q—keeps its normal macOS behavior instead of being silently reassigned or blocked. A single shared capture session makes settings fields mutually exclusive and pauses every app hotkey while a shortcut is being chosen.

Validated with the unsigned Debug build.


Compound Engineering
HARNESS

Use one shared capture target so only one settings shortcut field can listen at a time. Cancel capture when the user clicks elsewhere, Settings disappears, or Hex resigns active, and suspend all app hotkey monitors for the whole capture session.
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Caution

Review failed

An error occurred during the review process. Please try again later.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant