codex - 💡(How to fix) Fix Pet overlay is clipped to top-left corner on external monitor with macOS "More Space" scaling [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#21374Fetched 2026-05-07 03:40:59
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×2closed ×1
RAW_BUFFERClick to expand / collapse

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" />

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Pet overlay is clipped to top-left corner on external monitor with macOS "More Space" scaling [2 comments, 2 participants]