Repository navigation
Description
What version of the Codex App are you using (From "About Codex" dialog)?
ChatGPT/Codex app 26.707.31428 (CFBundleVersion 5059)
What subscription do you have?
Not relevant to this issue / not provided.
What platform is your computer?
macOS 26.5.2 (25F84), Apple Silicon (arm64)
What issue are you seeing?
Every app update, I have to reapply a local patch to restore natural keyboard behavior for native dictation in the composer.
I want one app-scoped composer shortcut, currently Command+Shift+D, to behave like this:
- Tap once: start dictation and leave it running.
- Tap again: stop dictation and insert the transcript.
- Press and hold: start dictation immediately, then stop and insert on release.
I do not want to use the OS-global dictation feature. I only want this shortcut active while the ChatGPT/Codex composer is focused.
The current app separates these into different command surfaces:
composer.startDictation: app-scoped, but currently behaves as hold-to-dictate because key-up always stops the recording.globalDictationToggle: global toggle.globalDictationHold: global hold-to-dictate.
That means the only supported way to get both toggle and hold behavior requires two global shortcuts. It also brings in global hotkey registration and the floating/global dictation UI, which are unnecessary for composer-only dictation.
I believe the composer shortcut behaved as a toggle in an earlier build. The regression from toggle to hold-only is also reported in #30208.
What steps can reproduce the bug?
- In Settings -> Keyboard Shortcuts, bind Start Dictation /
composer.startDictationtoCommand+Shift+D. - Leave the global Toggle Dictation and Hold to Dictate shortcuts disabled.
- Focus the composer.
- Quickly tap
Command+Shift+D.
Actual behavior:
- Dictation starts on key-down.
- Dictation stops immediately on key-up.
- A quick tap therefore cannot leave dictation running.
- Pressing the shortcut while dictation is already active does not provide an app-scoped toggle-off action.
What is the expected behavior?
The app-scoped composer shortcut should support the common hybrid interaction with one configurable key combination:
- A short tap toggles dictation on or off.
- A longer press acts as push-to-talk and stops on release.
- The shortcut remains app-scoped and does not register an OS-global listener or show the global dictation window.
An explicit mode setting for Toggle, Hold, or Hybrid would also solve the underlying problem, but hybrid behavior is especially ergonomic because it supports short and long dictation with one shortcut.
Additional technical information
The packaged renderer already receives both onKeyDown and onKeyUp for the app-scoped composer shortcut. In the current bundle, the handler roughly does this:
- On key-down, start dictation and mark the key as active.
- On key-up, if the key was active, stop dictation and insert the transcript.
- If dictation is already active, the key-down path exits instead of toggling it off.
A small local renderer patch proves the desired behavior can be implemented within the existing app-scoped path:
- Record the key-down timestamp.
- If dictation is already active on key-down, stop it as a toggle action.
- Otherwise start dictation immediately.
- On key-up, stop only when the press duration exceeds a threshold (currently 350 ms).
- For a shorter tap, leave dictation running.
This patch only changes the app-scoped renderer hotkey handler. It does not enable the global dictation commands. My local state is:
composer.startDictation = Command+Shift+D
globalDictationToggle = disabled
globalDictationHold = disabled
global-dictation-keep-visible = false
The workaround modifies app.asar, invalidates the sealed-resource signature, and is replaced by every app update, so it is not a sustainable user solution. The patch has had to be adapted repeatedly as minified asset names change, while the underlying handler behavior remains the same.
Related issues:
- Dictation keyboard shortcut now requires being held instead of toggling recording #30208: composer dictation shortcut regressed from toggle to hold-only
- Fn global dictation hotkey stops working across apps after update to 26.608.12217 #27296 and Desktop dictation shortcut only works when Codex is focused on macOS #27657: global dictation shortcut failures, which are a separate path and part of why an app-scoped solution matters
- Codex Desktop keeps showing Dictation floating window despite keep-visible disabled #30768: unwanted global dictation floating-window behavior
Activity
Kl-11 commentedon Aug 18, 2026
Confirming this remains reproducible in the current macOS desktop app
26.814.41407(build6720).The app-scoped Dictation command still behaves only as push-to-talk: recording begins on key-down and stops on key-up. A short tap therefore cannot leave dictation running, and remapping the command changes the key combination but not its interaction mode.
A supported composer-scoped option is still needed:
The important requirement is that Toggle works directly in the focused chat composer and does not require the separate OS-global dictation route. The official command reference lists Dictation and keybinding customization but exposes no interaction-mode control.
This is more than a shortcut-registration problem: the supported app-scoped command lacks a toggle action.
tfmoraes123 commentedon Aug 29, 2026
One additional interaction would make this match the ChatGPT composer behavior even better:
While app-scoped dictation is active, pressing Enter should stop recording and insert the transcript.
My preferred behavior would be:
Ctrl+Shift+T) → start dictation and keep recording.This would give Codex the same very natural voice-input workflow available in ChatGPT while keeping dictation strictly scoped to the Codex composer.
kumestra commentedon Nov 19, 2026
I can reproduce this inconsistency in the ChatGPT Windows desktop app.
In Chat mode:
In Codex mode:
Expected behavior: Pressing Enter during active dictation in Codex should stop recording and insert the transcript into the prompt composer, matching Chat mode.
This breaks a keyboard-only workflow and creates an unnecessary inconsistency between Chat and Codex within the same Windows desktop app.
Please consider supporting this behavior in Codex as well.