Skip to content

Image viewer cannot pan oversized previews after Codex Desktop UI zoom is increased #35074

Description

@zhatlas

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

Current Codex Desktop release; exact build unavailable.

What subscription do you have?

Not relevant to this UI issue.

What platform is your computer?

Windows 11 x64

What issue are you seeing?

When the Codex Desktop UI zoom is increased above the default level, opening an image from a thread can display it larger than the available viewer area. The image is cropped to the viewport, so only one region is visible.

Dragging the enlarged image does not pan it. There are also no visible scrollbars or other reliable controls for reaching the portions outside the viewport. As a result, the rest of the image cannot be inspected without first resetting the entire Codex UI zoom.

Resetting the app zoom with Ctrl+0 makes the image fit again, but it also makes the rest of the interface too small on a large or high-resolution display.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows.
  2. Increase the Codex UI zoom above the default level with Ctrl++ or Ctrl+=.
  3. Open a thread containing an image.
  4. Click the image to open the enlarged preview/viewer.
  5. Try to inspect an area outside the currently visible portion by dragging the image.
  6. Observe that the image does not pan and the hidden portions remain inaccessible.

What is the expected behavior?

The image should initially fit within the viewer regardless of the Codex UI zoom level. If the image is enlarged beyond the viewport, dragging should pan the image so every part remains accessible.

Image-viewer zoom and pan behavior should be independent of the zoom level used for the rest of the Codex interface.

Additional information

This is closely related to #26851, which reports that image previews become oversized and cropped when the Codex Desktop UI zoom is increased. This report highlights the additional interaction problem: once the preview exceeds the viewport, drag-to-pan does not work, leaving parts of the image inaccessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions