openai / openai/codex

[iOS] Tall tool image output renders behind/alongside following assistant response in portrait layout

Open
#45,698 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug iOS
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What issue are you seeing?

In the ChatGPT iOS app, a tall image produced by a tool/Python output can remain rendered as a right-side/background pane while the following assistant response is laid out over/next to it.

On an iPhone in portrait orientation, this produces a broken two-column/composited layout: the assistant text occupies roughly the left half of the screen while the previous tall image remains visible on the right and underneath the response. A code block later in the same response then expands to almost the full width, making the inconsistency more obvious.

This looks like a compact-width responsive layout/compositing bug rather than a problem with the image file itself.

This occurred in regular ChatGPT, not Codex Remote.

Environment
  • ChatGPT for iOS: 1.2026.244 (build 33940143573)
  • iOS: 26.6.2
  • Device identifier: iPhone16,1
  • Orientation: portrait
Steps to reproduce
  1. Open a normal ChatGPT conversation in the iOS app.
  2. Have a tool/Python execution display a tall portrait image as inline output.
  3. Have the assistant immediately send a normal textual response containing several paragraphs and a code block.
  4. Observe the conversation around the transition from the tool image output to the assistant response.
Actual behavior

The previous image is kept as a tall pane on the right/background while the following assistant text is constrained to a narrow left column and partially overlays the image. The code block within the same assistant response can use a different, wider layout.

The result resembles a desktop/split-pane layout being applied at iPhone portrait width.

Expected behavior

At compact iPhone widths, tool/image output and subsequent assistant messages should be laid out sequentially in the normal single-column conversation flow. The previous image should not remain as a side/background pane beneath the next message, and all blocks within the response should use a consistent compact-width layout.

Additional information

The image file itself is normal and unaffected; the problem appears to be presentation/layout only. The issue reproduced with a tall image output generated from a deterministic OpenCV/Python transform, followed by explanatory text and a matrix shown in a code block.

A screenshot clearly showing the broken layout is available.

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

No repository file, test, or entry point is identified, and the report says the problem occurs in the regular ChatGPT iOS app rather than Codex Remote. First reproduce it on an iPhone in portrait orientation with a tall tool image followed by text and a code block; done means the conversation returns to a consistent single-column layout without the image persisting beside or beneath the response.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.