Skip to content

fix: ignore held key repeat for popup hotkey - #16

Merged
noxygalaxy merged 1 commit into
MoonMonet:mainfrom
gmcky:fix/hotkey-ignore-hold
Aug 16, 2026
Merged

fix: ignore held key repeat for popup hotkey#16
noxygalaxy merged 1 commit into
MoonMonet:mainfrom
gmcky:fix/hotkey-ignore-hold

Conversation

@gmcky

@gmcky gmcky commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Holding the popup hotkey (e.g. Ctrl+C) let OS key auto-repeat count as
repeated presses, so a held combo opened the popup on its own. Track the
trigger key as held and ignore repeats until it is released, so only real
double-taps open the popup.

Verify:

  • hold Ctrl+C does not open popup
  • double-tap opens popup, repeatable across cycles
  • single Ctrl+C still copies normally

Tested on Windows. The rdev key event flow is the same on macOS and Linux,
so the fix should behave identically there; no separate cross-platform test
needed.

Ready to merge from my side.

@gmcky
gmcky marked this pull request as ready for review August 8, 2026 15:16
@noxygalaxy
noxygalaxy merged commit 90b0933 into MoonMonet:main Aug 16, 2026
3 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