Codex app zoom + maximized macOS window offsets traffic-light hit targets

Open 💬 0 comments Opened Jun 23, 2026 by disbitski

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

Codex app 26.616.71553 (bundle version 4265). Chromium 149.0.7827.115.

What subscription do you have?

Personal Pro

What platform is your computer?

macOS 26.5.1 (Build 25F80), Apple M4 arm64. Display: external ROG XG43UQ, 3840x2160, UI looks like 1920x1080 @ 60Hz, scale factor 2.0.

What issue are you seeing?

When Codex app zoom is above 100% and the window is maximized by double-clicking the title bar, the macOS traffic-light controls become misaligned from their hit targets.

The red/yellow/green buttons visually appear in the expected place, but hover/click behavior is offset. Close, minimize, and fullscreen appear inert unless the mouse is moved around nearby. Sometimes the hover glyph/context clue appears only when the pointer is not directly over the visible button.

Keyboard shortcuts still work: Cmd+H hides the app and Cmd+M minimizes it. Cmd+0 resets app zoom and fixes the problem.

What steps can reproduce the bug?

  1. Open the Codex app on macOS.
  2. Increase app zoom above 100% with Cmd+=.
  3. Maximize the window by double-clicking the title bar.
  4. Move the mouse over the macOS traffic-light controls.
  5. Try red/yellow/green buttons.

Observed repro notes:

  • At the same app zoom level, if the window is manually resized instead of maximized, the traffic-light buttons work.
  • After the broken state appears, Cmd+0 resets zoom and restores correct traffic-light hit targets.
  • All three buttons are affected, not just close: close, minimize, and fullscreen/zoom.

What is the expected behavior?

Traffic-light hover and click targets should match the visible red/yellow/green buttons regardless of Codex app zoom level and macOS maximized window state.

Additional information

This appears specific to the combination of Codex app zoom above 100% plus macOS native maximize/zoom via titlebar double-click. It may be related to hiddenInset titlebar traffic-light positioning or Electron/AppKit hit-test coordinates after renderer zoom changes.

A nearby but not exact issue found during duplicate search: #29278 (blank top chrome rendering). This issue is specifically about the native traffic-light hit targets drifting from the rendered controls.

View original on GitHub ↗