Codex Desktop: image preview close button overlaps the native window close button on Windows

Open 💬 0 comments Opened Jul 16, 2026 by July1016

Description

When viewing an image in Codex Desktop on Windows, the image preview close button is placed in the top-right corner and overlaps the native window close button. This creates two overlapping X controls and makes it unclear which one will close the preview versus the application window.

Steps to reproduce

  1. Open Codex Desktop on Windows.
  2. Open an attached image in the image preview.
  3. Look at the top-right corner of the maximized window.

Expected behavior

The image preview close button should be offset from the native title-bar controls so both buttons remain visually distinct and easy to click.

Actual behavior

The preview close button and the native window close button overlap.

Environment

  • Codex Desktop: 26.707.12708.0
  • Windows 10 Pro, version 10.0.19045 (build 19045)
  • App theme: dark

A screenshot is available, but it contains personal watermarks and has not been attached publicly.

View original on GitHub ↗