[Bug] Windows Codex App pet/avatar overlay clips built-in and custom pets near bottom-right

Resolved 💬 1 comment Opened May 11, 2026 by jjj5306 Closed May 12, 2026

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

Codex Windows App 26.506.3741.0 Observed internal release/scope from diagnostics: codex@26.506.31421 Electron 41.2.0

What subscription do you have?

ChatGPT Pro

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

The Codex Windows desktop pet/avatar overlay is clipped near the bottom-right of the screen.

This is not limited to a custom pet. Built-in/default pets are also clipped. I first noticed it while creating a custom Pengdori pet, but after testing the default pets, the same clipping happens there too.

The pet appears partially cut off by the overlay/window bounds. If I shrink the custom spritesheet enough, the clipping mostly disappears, but then the pet becomes too small. That makes this look like an overlay layout/bounds issue rather than a bad pet asset.

Things already checked:

  • App zoom reset with Ctrl+0: no change.
  • Windows display scale is 100%.
  • Codex was fully quit and restarted: no change.
  • Custom pet spritesheet was adjusted smaller: clipping improves only because the pet becomes too small.
  • Built-in/default pets also reproduce the clipping.

The issue seems to happen when the pet is positioned near the bottom-right of the screen.

What steps can reproduce the bug?

  1. Open the Codex Windows desktop app.
  2. Enable/show the pet/avatar overlay.
  3. Place the pet near the bottom-right of the screen.
  4. Observe that the pet is clipped at the bottom/right side.
  5. Switch to a built-in/default pet.
  6. Observe that the built-in/default pet is also clipped.
  7. Fully quit and restart Codex.
  8. Observe that the clipping still happens.

This is reproducible without using a custom pet.

What is the expected behavior?

The pet/avatar should remain fully visible inside the overlay window when placed near screen edges, especially near the bottom-right.

The overlay placement logic should reserve enough internal bottom/right padding, or clamp the mascot rectangle so that the rendered pet is not clipped.

Additional information

Display setup:

  • Primary display: 2560x1440
  • Secondary display: 1920x1080, positioned at X=2560, Y=87
  • Display scale: 100%

Persisted overlay bounds observed from .codex-global-state.json:

{
  "x": 4124,
  "y": 801,
  "width": 356,
  "height": 320,
  "anchor": { "x": 4373, "y": 1026, "width": 80, "height": 87 },
  "mascot": { "left": 249, "top": 225, "width": 80, "height": 87 },
  "placement": "top-end",
  "tray": { "left": 53, "top": 82, "width": 276, "height": 139 }
}

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗