Skip to content

Fix dictation push-to-talk dropping stop event on early modifier release#4575

Open
jra3 wants to merge 2 commits intobasecamp:devfrom
jra3:fix-dictation-push-to-talk-keybind
Open

Fix dictation push-to-talk dropping stop event on early modifier release#4575
jra3 wants to merge 2 commits intobasecamp:devfrom
jra3:fix-dictation-push-to-talk-keybind

Conversation

@jra3
Copy link

@jra3 jra3 commented Feb 10, 2026

Summary

  • The binddr (release) for SUPER CTRL + X requires both modifiers to still be held when X is released. If you release Super or Ctrl before X, the modifier mask no longer matches — the stop event never fires and recording gets stuck.
  • Uses a Hyprland submap instead: SUPER+CTRL+X starts recording and enters a dictation submap where the release of X alone (no modifier requirement) stops recording and exits the submap. This makes key release order irrelevant.

Test plan

  • Press Super+Ctrl+X, hold, release X first → recording stops (same as before)
  • Press Super+Ctrl+X, hold, release Super first then X → recording stops (was broken)
  • Press Super+Ctrl+X, hold, release Ctrl first then X → recording stops (was broken)
  • Verify other keybindings still work normally while not in dictation submap

🤖 Generated with Claude Code

John Allen and others added 2 commits February 10, 2026 14:19
The binddr (release) for SUPER CTRL + X requires both modifiers to still
be held when X is released. If SUPER or CTRL is released first, the stop
event never fires and recording gets stuck.

Use a submap instead: pressing SUPER+CTRL+X starts recording and enters
a dictation submap where X release alone (no modifier requirement) stops
recording and exits the submap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dhh
Copy link
Member

dhh commented Feb 17, 2026

This doesn't seem to be working for me. If I release X first, it doesn't stop recording. I have to manually push X again.

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