Skip to content

Codex Truncates Chat Messages When Scrolling #6427

@PaulSolt

Description

@PaulSolt

Summary

Scrolling up or down in Codex can cause chat messages to be partially overwritten or clipped, resulting in missing content. This makes it impossible to review previous messages accurately, especially during longer conversations.

Image

Steps to Reproduce

  1. Ask codex questions
  2. Go back and forth, optionally adding messages to the queue.
  3. Attempt to scroll up and down in the chat history after the message has loaded.
  4. Observe whether message content changes, disappears, or becomes truncated.

(Note: The issue is intermittent and may not occur on every scroll.)


Expected Behavior

  • Scrolling should be non-destructive.
  • All previously generated messages should remain intact and fully visible, regardless of scroll position.
  • The chat history should render consistently without overwriting or clipping text.

Actual Behavior

  • When scrolling up or down, parts of the message disappear (squash to non-existence?).
  • Example: In the attached screenshot, everything after “Worked for 39s” is missing — multiple bullet points are clipped and unrecoverable.
  • Asking Codex to regenerate or recall the message does not restore the exact original content, suggesting the original data is lost or unrendered.

Impact

  • Severe: prevents users from reviewing or referencing past responses.
  • Makes it impossible to debug or discuss complex issues in long Codex sessions.
  • Reduces trust in conversation persistence and data integrity.

Attachments

  1. Screenshot 1: Clipped message after scrolling (shows truncation after “Worked for 39s”).
    screenshot

  2. Screenshot 2: Codex attempting to reconstruct the lost portion of the message.
    screenshot


Environment

  • codex in Ghostty on macOS 15.7.2

Thread ID 019a63de-c2ab-7023-b482-f2d17522ccf0 in an existing


Severity

🔥 High — Loss of visible data and inability to retrieve prior messages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions