Skip to content

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

@MintCondition

Description

@MintCondition

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).
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingpets

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions