[Codex Desktop][macOS] Prompt submission hangs when large pasted text becomes an attachment
Nobody has claimed this yet.
- 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?
- Confirmed normal and moderately sized text prompts submit successfully.
- Reproduced the failure with larger prompts that Codex automatically converts into an attachment.
- Shortened the same prompt until it remained inline text; it then submitted successfully.
- Repeated this with separate prompts and observed the same behavior.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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