GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): stop held dictation when Command is released by Keaton-tv · Pull Request #31720 · pingdotgg/t3code

Conversation

@Keaton-tv

@Keaton-tv Keaton-tv commented Nov 5, 2026

Copy link
Copy Markdown

Problem

On macOS, releasing Command+Shift+D can leave hold-to-talk recording. macOS can omit the letter's keyup while Command is held, and the hook ignores modifier releases because their codes do not match KeyD. This also affects a long press in Auto mode.

Change

Remember the modifiers held when dictation starts and treat their release as the end of the chord. Keep the existing Auto tap/hold threshold and Toggle behavior, and wait for microphone startup before stopping a released hold. Extend the shortcut tests to cover missing letter releases, delayed startup, unrelated keys, and duplicate releases.

Scope and approval

This is a small, focused fix for the release behavior in #30623, based on takeover/14882-voice-consent. The change is confined to the existing shortcut hook and its regression tests, which qualifies for the obvious-bug exception in CONTRIBUTING.md. The hook serves composer and text-field dictation in the web and Electron clients.

Verification

  • Four regression cases fail against 778b48ca7c9c4b4061d9a736899ed9cec9be7d14; all eight shortcut tests pass with the fix in headless Chromium on macOS. These cover Hold, Auto at 299/300 ms, Toggle, delayed startup, autorepeat, unrelated keys, and subsequent releases.
  • Ran the committed browser test file through an isolated Vite configuration using React 19.3.0, the repository's render helper, and the real keybinding resolver and hook. Unrelated settings, terminal, palette, and project-script services were stubbed; keybinding constants were extracted from the repository. This is focused hook verification, not a full application run.
  • vp fmt --check on both changed files and git diff --check pass.
  • vp run check:changed 778b48ca7c9c4b4061d9a736899ed9cec9be7d14 and repository lint could not run because Effect dependencies are unavailable locally. Installing the pinned [email protected] was rejected by the configured seven-day minimum package age. That setting was left intact. Node was 26.9.0; the repository specifies 26.12.1.

Opening as a draft with the broader checks outstanding. Real microphone capture, native macOS event delivery, and a packaged Electron session remain unverified; the regression dispatches the missing-keyup sequence explicitly.

Implemented with GPT-6 Astra through the Codex harness.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Keaton-tv
fix(web): stop held dictation when Command is released
522927c
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 5, 2026
@Keaton-tv Keaton-tv mentioned this pull request Nov 5, 2026
feat(voice): configure a custom transcription endpoint #31729
Closed
@Keaton-tv Keaton-tv closed this Nov 5, 2026
@Keaton-tv
Keaton-tv deleted the fix/voice-hold-modifier-release branch November 5, 2026 23:40
@mrlufepines mrlufepines mentioned this pull request Nov 7, 2026
fix(web): stop held dictation when shortcut modifiers are released #32648
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@Keaton-tv
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.