Skip to content

macOS Codex Desktop: native traffic-light buttons intermittently ignore clicks on scaled external primary display #37270

Description

@sprocsw

In Codex Desktop on macOS, the native red/yellow/green window controls in the top-left corner intermittently ignore clicks when the Codex window is on my external display.

Hover behavior works correctly: when the pointer is over the buttons, macOS shows the expected Close, Minimize, and Zoom/Full Screen affordances. However, clicking the same buttons frequently has no effect.

Other macOS applications on the same display do not have this problem. This appears to be specific to Codex Desktop rather than the mouse, monitor, or a system-wide window-control issue.

Environment

  • ChatGPT Desktop / Codex version: 26.730.61639 (build 6234)
  • Bundled Codex CLI: 0.147.0-alpha.1.2
  • macOS: 15.0.1 (24A348)
  • Hardware: MacBook Pro (MacBookPro18,1)
  • Chip: Apple M1 Pro
  • Memory: 16 GB
  • External display: BenQ PD3200U
  • External display mode reported by macOS: 5120 x 2880, UI scaled to 2560 x 1440 @ 60 Hz
  • External display role: Main Display
  • Built-in display also enabled: 3456 x 2234 Liquid Retina XDR
  • Mirroring: Off

Steps to reproduce

  1. Connect the external display and use it as the main display.
  2. Open Codex Desktop.
  3. Move the Codex window onto the external display.
  4. Hover over any macOS traffic-light window control in the top-left corner.
  5. Confirm that the expected hover affordance/tooltip is shown.
  6. Click Close, Minimize, or Zoom/Full Screen.

Actual result

The hover state is displayed correctly, but clicking the control often does nothing. The failure is intermittent and affects the red, yellow, and green controls.

Expected result

Each traffic-light control should respond to its click immediately and consistently:

  • Red: close the window
  • Yellow: minimize the window
  • Green: zoom / enter or exit full screen, according to macOS behavior

Additional context

  • The issue occurs only in Codex Desktop.
  • Other applications on the same external display have working traffic-light buttons.
  • This suggests a Codex-specific native title-bar hit-testing or event-routing issue.
  • The external monitor is the primary display and uses a scaled HiDPI mode, which may be relevant to coordinate conversion between the native window title bar and the Codex renderer.

Request

Please investigate native macOS title-bar hit testing and mouse-event routing for Codex Desktop when the window is placed on a scaled external display, especially when that external display is configured as the primary display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions