Repository navigation
Description
What version of the Codex App are you using?
Codex Desktop: 26.820.7780.0
Codex CLI installed on the same machine: codex-cli 0.150.0-alpha.8
Platform
Windows desktop, using a local project/workspace (not Remote SSH).
What issue are you seeing?
There appear to be two composer/attachment problems in Codex Desktop on Windows:
-
Non-image file attachments are rejected or fail to attach.
- Image attachments work.
- Attempts to attach normal development files (text/source/document-style files) are rejected or do not complete normally.
- This makes it difficult to provide source files or project artifacts directly to a Codex task.
-
Pasting a long structured instruction can freeze the composer.
- When a long multi-section prompt is pasted into the composer, the UI can remain stuck in the paste-processing state (localized as an "adding/pasting text" state).
- The pasted text may never finish materializing in the editor and the composer becomes unusable.
- A restart or a new thread may be required.
- Short text messages work normally.
The second symptom is similar to the "Adding pasted text…" behavior reported in #37671, but this reproduction is on a local Windows project, not a Remote SSH project. It may also be related to other paste-path issues such as #40246 and #25865.
Steps to reproduce
A. Non-image attachment failure
- Open Codex Desktop on Windows.
- Open a normal local project task.
- Use the attachment control to attach a normal non-image development file (for example a text/source/document file).
- Observe that the file is rejected or fails to attach, while image files can be attached normally.
B. Long pasted-text freeze
- Open a Codex task in a local Windows project.
- Copy a long structured instruction containing many sections, headings, code-style blocks, and several thousand characters.
- Paste it into the composer.
- Observe that the composer can remain stuck processing the paste instead of completing quickly.
- The task UI may need to be restarted or abandoned.
Expected behavior
- Supported non-image development files should attach normally, or Codex should clearly explain which file types are intentionally unsupported.
- Pasting a large plain-text instruction should complete without blocking the renderer/composer.
- If pasted content is large, it would be preferable to convert it to a text attachment or process it asynchronously rather than freeze the composer.
Actual behavior
- Image files attach successfully, while non-image files can be rejected/fail.
- Large structured text pastes can leave the composer stuck in the paste-processing state.
Impact
This affects normal coding workflows where long implementation instructions and source/document attachments are common. Splitting a task into multiple smaller messages is a workaround for the paste issue, but it is inconvenient and changes the intended task context.
Related issues
- [Windows Desktop + Remote SSH] Repeated freezes, task desync, and multi-minute message composer latency #37671 — Windows Desktop + Remote SSH: multi-minute composer latency / "Adding pasted text…"
- [Windows] Pasting files from Explorer freezes Codex for 5-7 seconds; drag-and-drop is instant #40246 — Windows: pasting files from Explorer freezes Codex
- Codex App freezes when pasting JSON stack traces with escaped backslashes into composer #25865 — composer freeze on certain pasted structured text
Additional information
- The problem occurs in Codex Desktop while working with a local project.
- Image attachment remains usable.
- Short text input remains usable.
- No system security settings or Codex configuration were changed as a workaround.
- Screenshots / a screen recording and more precise reproduction data can be provided if maintainers request them.
Activity
github-actions commentedon Aug 29, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
suzu331 commentedon Aug 29, 2026
Additional reproduction detail: the freeze is not limited to long pasted instructions. A very short instruction can also get stuck indefinitely in the composer/task handoff state. In the latest reproduction, Codex displayed a small task card with a localized status equivalent to “analyzing pasted text…” and remained there without completing.
This makes the issue look broader than a size-threshold problem. It may involve the Work/task handoff or pasted-text preprocessing path itself, since even short content can freeze.
Current workaround: avoid Work/task handoff for affected prompts and use a normal Codex task directly when possible.
I also have a screenshot of the frozen state and can provide it if maintainers need it.
suzu331 commentedon Aug 29, 2026
Additional correction / stronger reproduction: the freeze shown by the user is occurring in Codex Desktop itself, not only in a Work handoff flow. Even a short instruction can get stuck indefinitely in the localized
Adding/processing pasted text…state, so this is not limited to very large pasted prompts. In the latest reproduction, the composer shows the task chip and remains frozen while processing a short pasted instruction. This makes it effectively impossible to submit prompts through the Desktop composer when the bug triggers. The local project itself is otherwise accessible. Screenshot available from the user if maintainers want it. This strengthens the possibility of a general Windows Desktop pasted-text/composer regression rather than a Work-specific issue.TeknikerNL commentedon Aug 30, 2026
Confirming that the problem is still present on the newer Windows release:
ChatGPT Desktop — Powered by Codex & OWL
Version: 26.825.51511
Released: 30 Aug 2026
My workflow previously allowed me to paste very long Work instructions directly into the composer. When the prompt was too large, ChatGPT/Codex could automatically treat the pasted text as an attachment and continue working from it.
After recent Windows Desktop updates, this workflow has become unreliable.
I now have to manually:
.txtfile.This is unnecessary friction for a workflow that previously worked automatically.
Long prompts can also behave inconsistently during paste/attachment processing instead of being transparently converted into usable pasted-text content.
For professional Work/Codex usage, long structured implementation prompts are normal rather than exceptional.
Expected behavior
When a pasted prompt exceeds the normal composer size:
This remains reproducible for me on 26.825.51511, so the Aug 30 update has not resolved the regression.
c40205193-lgtm commentedon Aug 31, 2026
Additional reproduction from another Windows Codex Desktop user (August 31, 2026).
Environment:
Reproduction:
This started after a recent Codex update; the workflow worked before the update. The failure is size-dependent: small pasted text works, while larger pasted text enters the pasted-text attachment path and hangs. Please investigate the Windows Desktop pasted-text attachment creation/registration and composer state cleanup path.
shivammodiin commentedon Aug 31, 2026
Facing same issue on same Window version - 26.825.51511
text file has 300 chars only ,
aldebadran-rgb commentedon Aug 31, 2026
Additional diagnostic evidence for the pasted-text/composer freeze in this issue, observed on August 31, 2026.
Environment
Microsoft Windows NT 10.0.26100.0, x64.Observed UI and impact
The affected conversation shows a pasted-text attachment card with the localized status
Aggiunta del testo incollato...(adding pasted text), a persistent loading indicator, and unsent text remaining in the composer. The user reports that the affected chat is unusable and that this has recurred for several days, interrupting normal work.The observed workflow involves pasting multiline technical terminal output into an existing conversation. The exact payload-size threshold and a minimal synthetic reproducer have not been established. No claim is being made that this only affects large text.
Independently checked task state
Read-only task-status checks made while the user reported the UI stuck returned:
A separate side conversation remained usable. This is evidence of a mismatch between the affected composer/UI state and the completed task state; it is not evidence that model generation is still running. The cause within the paste/attachment or UI state pipeline is not yet confirmed.
Requested investigation
Please investigate pasted-text attachment preparation and composer pending-state cleanup, including failures that do not surface as a task error. The composer should either finish preparing the text or show an actionable error, preserve the draft, and allow recovery instead of remaining blocked indefinitely.
This comment contains only redacted technical observations. No screenshot, transcript, raw logs, account identifiers, thread IDs, server details, or site information are attached.
Ventrixx-Repo commentedon Aug 31, 2026
Confirming the pasted-text processing problem on the current Windows build.
Environment
26.825.6671.010.0.26200(build26200)Reproduction
Adding pasted text....The user reports that this occurs every time they try to paste text into a new chat. A screenshot was captured showing the persistent paste-processing card. The exact clipboard source and payload-size threshold have not yet been isolated, so I am not claiming that this is limited to long text.
Expected behavior
Pasted text should be inserted or finish processing promptly without repeatedly leaving the composer in the
Adding pasted text...state.This appears consistent with the broader Windows pasted-text/composer regression described in this issue. Screenshot available if maintainers need another example.
morninghopeamo commentedon Sep 1, 2026
Environment
Steps to reproduce
Actual behavior
The composer remains stuck on:
Pasting text.../Adding pasted text...The generated text/TXT attachment never finishes being created, so the prompt cannot be submitted normally.
I can reproduce this consistently with long structured prompts.
Short pasted messages still work normally.
This workflow previously worked reliably. The regression started recently and has persisted for several days.
Expected behavior
Long pasted text should be converted into the text attachment normally and become ready to submit, as it did previously.
Current workaround
I currently have to use:
ChatGPT → copy task specification → paste into Notepad → save as .md → attach the .md file to CodexAttaching the manually created Markdown file works.
Impact
This significantly affects my normal Codex engineering workflow.
I frequently use ChatGPT to prepare a complete, single-round engineering task specification and then pass that specification to Codex for implementation.
Splitting the task into several shorter pasted messages is not an ideal workaround because it can fragment the task context, constraints, and acceptance criteria.
The direct:
ChatGPT → Copy → Codexworkflow used to be very convenient, while the current regression requires manually creating an intermediate
.mdfile every time.Le-Loup13 commentedon Sep 7, 2026
Issue still reproducible on Windows Desktop 26.901.6511.0 – Excel (.xlsx) uploads consistently fail
I can confirm that this issue is still reproducible on the current Windows desktop build 26.901.6511.0.
Observed behavior
Troubleshooting already performed
Desktop version
26.901.6511.0
Platform
Windows desktop
Expected behavior
Excel .xlsx files supported by ChatGPT should upload normally, as they currently do through chatgpt.com.
Actual behavior
Every .xlsx attachment fails immediately or during upload with “Upload failed.”
This is particularly problematic in local Work environments, because those conversations/workspaces are local and cannot simply be continued through the web interface.
The fact that the identical file succeeds on the web but fails consistently in the Windows desktop app strongly suggests a Windows desktop attachment/upload regression.