Skip to content

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

Closed

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

Activity

  1. added
    app
    on May 6, 2026
  2. added
    bug
    on May 6, 2026
  3. MintCondition commented on May 6, 2026

    @MintCondition
    Author

    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
  4. fusiondesigner commented on May 12, 2026

    @fusiondesigner
    Image That's about all I can see i green dot located left of the pet appearance panel. CMD 0 does nothing, 40" Widescreen 5k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugpets

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions