openai / openai/codex

[Codex Desktop][macOS] Prompt submission hangs when large pasted text becomes an attachment

Open
#41,585 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug tool-calls
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using (From “About Codex” dialog)?

26.825.41651

What subscription do you have?

Business

What platform is your computer?

macOS Desktop

What issue are you seeing?

In Codex Desktop on macOS, prompt submission hangs when a large pasted prompt is automatically converted into a file attachment.
Normal text prompts submit successfully. If the prompt is long enough that Codex converts it into an attachment, pressing submit hangs and the prompt is not processed.
If I shorten the same prompt enough that it remains inline text instead of becoming an attachment, it submits normally.
This appears specific to the automatic large-prompt/attachment submission path rather than general prompt execution.

What steps can reproduce the bug?
  1. Confirmed normal and moderately sized text prompts submit successfully.
  2. Reproduced the failure with larger prompts that Codex automatically converts into an attachment.
  3. Shortened the same prompt until it remained inline text; it then submitted successfully.
  4. Repeated this with separate prompts and observed the same behavior.
  5. Confirmed the issue occurs at submission, before Codex begins processing the request.
    Current workaround: shorten/split large prompts so they remain inline text rather than being automatically attached.
What is the expected behavior?

Large prompts should submit successfully regardless of whether Codex keeps them as inline text or automatically converts them into an attachment.
If Codex automatically converts a large prompt into an attachment, pressing submit should upload/process the attachment and begin the Codex task normally, with no loss of the prompt or indefinite hang.

Additional information

The issue appears specifically tied to the point where Codex automatically converts pasted text into an attachment.
I initially thought this was a general submission issue, but testing isolated the behaviour:

  • Inline text prompt → submits normally.
  • Larger version of the prompt → automatically becomes an attachment → submission hangs.
  • Shorten the same prompt until it remains inline → submits normally.
    This has been reproducible enough that splitting larger instructions into smaller inline prompts is currently an effective workaround.
    I am using Codex Desktop on macOS.
    I can provide additional reproduction details, logs, or a screen recording if required.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Codex Desktop on macOS with a prompt large enough to become an attachment, then compare it with an inline prompt. Trace the automatic pasted-text-to-attachment submission path and use the available logs or screen recording to identify where submission hangs. Done means large prompts submit and begin processing whether they remain inline or become attachments.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.