Skip to content

[Windows Desktop] Non-image attachments are rejected and long pasted instructions can freeze the composer #41472

Open

Description

@suzu331

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:

  1. 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.
  2. 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

  1. Open Codex Desktop on Windows.
  2. Open a normal local project task.
  3. Use the attachment control to attach a normal non-image development file (for example a text/source/document file).
  4. Observe that the file is rejected or fails to attach, while image files can be attached normally.

B. Long pasted-text freeze

  1. Open a Codex task in a local Windows project.
  2. Copy a long structured instruction containing many sections, headings, code-style blocks, and several thousand characters.
  3. Paste it into the composer.
  4. Observe that the composer can remain stuck processing the paste instead of completing quickly.
  5. 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

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

  1. added
    bug
    app
    windows-os
    on Aug 29, 2026
  2. github-actions commented on Aug 29, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. suzu331 commented on Aug 29, 2026

    @suzu331
    Author

    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.

  4. suzu331 commented on Aug 29, 2026

    @suzu331
    Author

    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.

  5. TeknikerNL commented on Aug 30, 2026

    @TeknikerNL

    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:

    1. Open a text editor.
    2. Create a .txt file.
    3. Paste the long Work prompt into that file.
    4. Save it.
    5. Attach the file manually to the Work conversation.

    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:

    • automatically convert it into a supported text attachment;
    • preserve the complete prompt without modification;
    • attach it to the current Work task;
    • allow the agent to consume it normally;
    • do not freeze or leave the composer in an incomplete paste-processing state.

    This remains reproducible for me on 26.825.51511, so the Aug 30 update has not resolved the regression.

  6. c40205193-lgtm commented on Aug 31, 2026

    @c40205193-lgtm

    Additional reproduction from another Windows Codex Desktop user (August 31, 2026).

    Environment:

    • Windows Codex Desktop AppX: 26.825.6671.0
    • Codex CLI: 0.151.0-alpha.7.2

    Reproduction:

    1. Open a new Codex task/window.
    2. Sending a short manually typed message works.
    3. Pasting a larger block from the clipboard causes a pasted-text task/card to appear and remain indefinitely in the localized "Adding/processing pasted text..." state.
    4. The composer cannot send the message, and the card's close (×) control does not respond.
    5. Restarting Codex and opening another new task does not resolve it.
    6. The same content can be saved as .txt or .md and uploaded manually with the + button, which works.

    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.

  7. shivammodiin commented on Aug 31, 2026

    @shivammodiin

    Facing same issue on same Window version - 26.825.51511
    text file has 300 chars only ,

    Image
  8. aldebadran-rgb commented on Aug 31, 2026

    @aldebadran-rgb

    Additional diagnostic evidence for the pasted-text/composer freeze in this issue, observed on August 31, 2026.

    Environment

    • Local Windows desktop task (not a Codex Remote SSH project).
    • OS reported by PowerShell: Microsoft Windows NT 10.0.26100.0, x64.
    • UI language: Italian.
    • Exact desktop application build was not captured in this check; no version from other reports is being assumed.

    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:

    thread.status: idle
    latestTurn.status: completed
    latestTurn.error: null
    

    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.

  9. Ventrixx-Repo commented on Aug 31, 2026

    @Ventrixx-Repo

    Confirming the pasted-text processing problem on the current Windows build.

    Environment

    • Codex Desktop AppX: 26.825.6671.0
    • Windows 11 Pro: 10.0.26200 (build 26200)
    • Local desktop app

    Reproduction

    1. Open a new chat.
    2. Copy text to the clipboard.
    3. Paste the text into the new chat composer.
    4. A task card appears with a spinner and the status 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.

  10. morninghopeamo commented on Sep 1, 2026

    @morninghopeamo

    Environment

    • OS: Windows
    • App: Codex Desktop
    • Workflow: Copying long structured engineering task specifications from ChatGPT into the Codex composer

    Steps to reproduce

    1. Generate a relatively long engineering task specification in ChatGPT.
    2. The content typically includes:
      • Markdown headings
      • Bullet lists
      • Code blocks
      • Constraints
      • Acceptance criteria
      • Test / validation requirements
    3. Copy the entire task specification.
    4. Paste it into the Codex Desktop composer.
    5. Codex attempts to automatically convert the long pasted content into a text attachment.

    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 Codex

    Attaching 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 → Codex

    workflow used to be very convenient, while the current regression requires manually creating an intermediate .md file every time.

  11. Le-Loup13 commented on Sep 7, 2026

    @Le-Loup13

    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

    • Uploading .xlsx files in the Windows desktop app consistently results in a red “Upload failed” message.
    • This happens with very small Excel files as well (e.g. 27 KB).
    • It also happens with a newly created minimal .xlsx workbook, so it does not appear to be related to workbook contents or corruption.
    • The issue occurs both in a normal ChatGPT conversation and in a local Work environment.
    • The exact same .xlsx file uploads successfully on chatgpt.com using the same account.
    • Image uploads work normally.
      Troubleshooting already performed
    • Fully quit and restarted the desktop app
    • Restarted Windows
    • Windows Repair performed on the ChatGPT/Codex app
    • wsreset.exe performed
    • Checked Microsoft Store for updates: no newer version available
    • Tested multiple .xlsx files, including a minimal test workbook
      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.
    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions