Codex App in-app browser shows wrong gallery item for URL query parameter

Open 💬 1 comment Opened May 5, 2026 by fireshort

Codex App version

26.429.30905

Platform

Microsoft Windows NT 10.0.22631.0 x64

What issue are you seeing?

The Codex App in-app browser can display a different gallery item than the one specified by the URL query parameter.

For this URL:

https://developers.openai.com/api/docs/guides/image-generation?gallery=open&galleryItem=patterns

the in-app browser address bar shows galleryItem=patterns, but the rendered gallery detail shows the adjacent landscape item instead. The visible prompt is:

Turn the scene into a cool pre-dawn blue hour. Soften shadows, introduce subtle morning mist, shift sky to deep indigo.

This does not match the URL parameter.

The same URL in regular Chrome renders the expected patterns item, showing the textile pattern image and prompt:

Create a high-quality repeatable textile pattern in {style} tradition. The pattern should be reusable when used side by side.

What steps can reproduce the bug?

  1. Open Codex App on Windows.
  2. Use the in-app browser.
  3. Navigate to:

https://developers.openai.com/api/docs/guides/image-generation?gallery=open&galleryItem=patterns

  1. Observe the currently displayed gallery detail.

I also verified the page data separately: the gallery order contains patterns immediately before landscape, so this looks like the in-app browser / SPA hydration / scroll restoration state is one item off from the query parameter.

What is the expected behavior?

The in-app browser should render the gallery item specified by the galleryItem query parameter. In this case it should render patterns, not landscape.

Additional information

This matters because Codex may inspect the visible browser state and incorrectly associate the URL/query parameter with the wrong rendered content.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗