codex - 💡(How to fix) Fix Codex Windows desktop app black-screens and remains broken after pasting a very large log into chat input [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19355Fetched 2026-04-25 06:10:58
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Root Cause

Because clearing local persisted state/cache allowed the app to start again, the repeated startup failure may be related to saved UI/session state, but I do not know the exact root cause.

RAW_BUFFERClick to expand / collapse

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

26.241.11020

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

Codex Windows desktop app becomes unusable after pasting a very large log into the chat input.

After pasting the log, the app immediately froze / turned into a black screen. I could not interact with the app anymore, could not clear the pasted text, and could not send the message. After closing Codex and launching it again, the app still failed to start normally and returned to the broken black-screen/frozen state.

The app only recovered after I manually cleared/renamed the local persisted state/cache directories.

Because clearing local persisted state/cache allowed the app to start again, the repeated startup failure may be related to saved UI/session state, but I do not know the exact root cause.

Actual: After the large log is pasted, the app becomes completely unresponsive / black-screens. The pasted text cannot be cleared or submitted. Closing and reopening Codex does not recover the app; it only started normally again after I cleared or renamed local persisted state/cache.

What steps can reproduce the bug?

Uploaded thread: 9e6b5829-d87e-4276-a8f8-40f680a9de05

  1. Open Codex desktop app on Windows.
  2. Paste a very large log into the chat input.
  3. Observe that the app freezes / black-screens immediately.
  4. Try to clear the input or interact with the UI.
  5. The UI is unresponsive, so the pasted text cannot be removed.
  6. Close Codex.
  7. Reopen Codex.
  8. The app fails to recover and opens into the same broken/frozen state.

What is the expected behavior?

Codex should reject, truncate, or safely handle oversized pasted input. Even if the pasted text is too large, the app should remain responsive enough to clear the input, and restarting the app should recover normally.

Additional information

No response

extent analysis

TL;DR

Clearing the local persisted state/cache directories may temporarily resolve the issue, but a more permanent fix would involve modifying the app to handle large pasted inputs.

Guidance

  • The issue seems to be related to the app's inability to handle large pasted inputs, causing it to freeze and become unresponsive.
  • To verify, try pasting a smaller log into the chat input and see if the app remains responsive.
  • To mitigate, consider implementing input validation or truncation to prevent oversized pasted inputs from causing the app to freeze.
  • The app's failure to recover after closing and reopening suggests that the issue may be related to saved UI/session state, and clearing the local persisted state/cache directories may be necessary to resolve the issue.

Example

No code snippet is provided as the issue does not specify the programming language or framework used by the Codex app.

Notes

The root cause of the issue is unclear, but it appears to be related to the app's handling of large inputs. Further investigation is needed to determine the exact cause and implement a permanent fix.

Recommendation

Apply workaround: Clearing the local persisted state/cache directories may provide a temporary solution, but a more permanent fix would involve modifying the app to handle large pasted inputs. This is recommended because it allows the app to function normally, even if only temporarily, while a more permanent solution is developed.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex Windows desktop app black-screens and remains broken after pasting a very large log into chat input [1 comments, 2 participants]