Windows Desktop has no way to paste long code as text; Ctrl+Shift+V starts voice input
What version of the Codex App are you using?
26.721.4979.0
Detected from the running application package path:
OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g0
What subscription do you have?
20x Pro
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
When I paste a substantial PowerShell code block into the Codex Desktop composer, the app automatically converts it into a generated text-file attachment/file reference instead of retaining it as inline, editable code.
There is no visible way to force the clipboard content to remain text.
Ctrl+Shift+V, commonly used to paste as plain text in Windows applications, does not bypass the conversion. Codex captures that shortcut and starts voice input instead. I have no interest in starting a voice session; I am explicitly trying to paste code as text.
This changes the interaction semantics without operator choice. The code is no longer visible or editable in the composer, and I have had to use screenshots to transmit exact PowerShell lines without triggering attachment conversion.
What steps can reproduce the bug?
- Open Codex Desktop on Windows.
- Focus the task composer.
- Copy a substantial PowerShell code block to the clipboard. The observed triggering payload was 5,783 bytes.
- Paste it with
Ctrl+V. - Observe that Codex converts the code into a generated
.txtattachment/file reference rather than retaining it as inline text. - Remove the attachment and focus the composer again.
- Press
Ctrl+Shift+Vto try to paste the clipboard as plain text. - Observe that Codex starts voice input instead of pasting the clipboard.
What is the expected behavior?
The operator must have an explicit way to paste clipboard content as literal text without automatic attachment conversion.
Reasonable resolutions include:
- Make
Ctrl+Shift+Vpaste as plain text in the composer. - Provide a separate documented "Paste as text" command.
- Add a setting that disables automatic text-to-attachment conversion.
- Allow a generated text attachment to be converted back into editable composer text.
- Make the voice shortcut configurable so it does not occupy the plain-text-paste chord.
The important invariant is that automatic conversion must have an operator-controlled bypass.
Additional information
Related but not exact duplicates:
- #25144 requests an option to disable automatic conversion of long pasted prompts.
- #25348 requests preview, editing, and conversion back to inline text for generated
Pasted text.txtattachments. - #25199 reports similar attachment conversion in the IDE extension.
This report is specifically about Codex Desktop on Windows having no paste-as-text escape hatch because Ctrl+Shift+V invokes an unrelated voice feature.
1 Comment
I also encounter this problem, finally I do the workaround by go to the Setting > Keyboard shortcuts and search for Toggle voice chat and unassign the shortcut.
However, it still paste the text 2 times.