Pet overlay is clipped to top-left corner on external monitor with macOS "More Space" scaling

Resolved 💬 3 comments Opened May 6, 2026 by MintCondition Closed May 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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

26.429.61741 (Build 2429)

What subscription do you have?

N/A

What platform is your computer?

macOS

What issue are you seeing?

Environment

  • App: Codex desktop
  • Version: 26.429.61741
  • Build: 2429
  • Date observed: May 6, 2026
  • OS: macOS
  • Display setup: External monitor (BenQ SW321C), scaling set to More Space
  • Main display: external monitor

Issue
When pets are enabled, the floating pet appears heavily clipped. Only the top-left portion of the sprite is visible.

Actual
Pet is clipped; only a small top-left fragment is visible.

Frequency

  • 100% reproducible in this setup.

What steps can reproduce the bug?

  1. Connect external monitor and set macOS display scaling to More Space.
  2. Launch Codex desktop.
  3. Enable/wake pet (/pet or via Settings > Personalization > Pets).
  4. Observe pet rendering in overlay.

What I already tried

  • Fully quit/relaunch Codex.
  • Cleared persisted overlay state in ~/.codex/.codex-global-state.json.
  • Reset avatar/window layout keys and overlay bounds.
  • Forced overlay bounds to app-default geometry values.
  • Created and selected custom pet package with scaled-down sprite content.
  • None resolved clipping.

What is the expected behavior?

Full pet sprite should render correctly in the overlay.

Additional information

Artifacts

  • Screenshot 1: 2026-05-06_12-08-27.png
  • Screenshot 2 (display settings): 2026-05-06_12-14-14.png

Suspected area

  • Pet overlay rendering/layout calculations under high-density or scaled external displays (DPI/devicePixelRatio/viewport clipping math).

<img width="431" height="395" alt="Image" src="https://github.com/user-attachments/assets/7a9f4a23-bfda-494a-afe6-6d7341c98c03" />

<img width="477" height="217" alt="Image" src="https://github.com/user-attachments/assets/6f5628e3-6cd6-4ea4-bd7a-b80066d11458" />

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 3 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #21194
  • #21230
  • #20828
  • #20831
  • #20752

Powered by Codex Action

MintCondition · 3 months ago

Thanks for the duplicate suggestions. Confirmed this is the same underlying pet overlay clipping/mispositioning bug already tracked in #20831 (and related #21230). Closing this report as a duplicate and consolidating details there.

My repro specifics for reference:

  • Codex Desktop 26.429.61741 (Build 2429)
  • macOS
  • External BenQ SW321C as main display
  • macOS scaling set to More Space
  • 100% repro in this setup
  • Screenshots attached in this issue
fusiondesigner · 3 months ago

<img width="99" height="105" alt="Image" src="https://github.com/user-attachments/assets/defbf314-2467-408c-af62-57e1a1027424" />
That's about all I can see i green dot located left of the pet appearance panel. CMD 0 does nothing,
40" Widescreen 5k