codex - 💡(How to fix) Fix Codex Desktop: /pet activity bubbles render, but avatar sprite is invisible on macOS [1 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#21088Fetched 2026-05-05 05:53:35
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

The Codex Desktop /pet overlay opens and activity bubbles render, but the pet/avatar sprite itself is invisible. This happens with built-in pets and custom pets, survives clearing pet state/cache, and still reproduces after reinstalling Codex Desktop.

Root Cause

The Codex Desktop /pet overlay opens and activity bubbles render, but the pet/avatar sprite itself is invisible. This happens with built-in pets and custom pets, survives clearing pet state/cache, and still reproduces after reinstalling Codex Desktop.

Fix Action

Workaround

No workaround found. Clearing pet state, clearing renderer caches, switching pets, restarting, and reinstalling did not restore the pet sprite.

RAW_BUFFERClick to expand / collapse

Summary

The Codex Desktop /pet overlay opens and activity bubbles render, but the pet/avatar sprite itself is invisible. This happens with built-in pets and custom pets, survives clearing pet state/cache, and still reproduces after reinstalling Codex Desktop.

Environment

  • App: Codex Desktop
  • Version: 26.429.30905
  • Build: 2345
  • Bundle ID: com.openai.codex
  • macOS: 26.4.1 (25E253)
  • Display setup: multi-monitor; Codex window has been moved between displays during testing

Steps to Reproduce

  1. Open Codex Desktop.
  2. Run /pet or otherwise wake the pet.
  3. Observe the overlay/activity bubbles.
  4. Try selecting a built-in pet, e.g. Codex.
  5. Restart Codex and try /pet again.

Expected Behavior

The pet/avatar sprite should be visible and draggable, with activity bubbles appearing near it.

Actual Behavior

Only the activity bubbles are visible. The pet/avatar sprite is not visible at all, so it cannot be dragged directly.

The overlay appears to exist and persists bounds, but the mascot sprite layer does not paint.

Troubleshooting Already Tried

I tried the following, and the issue still reproduces:

  • Selected a built-in/default pet instead of a custom pet.
  • Validated custom pet assets separately.
  • Deleted/reset electron-avatar-overlay-bounds from ~/.codex/.codex-global-state.json.
  • Removed/reset these avatar state keys:
    • selected-avatar-id
    • electron-avatar-overlay-open
    • electron-avatar-overlay-bounds
  • Moved ~/.codex/pets out of the way so custom pets cannot be involved.
  • Cleared/moved Electron renderer/GPU caches:
    • ~/Library/Application Support/Codex/Cache
    • ~/Library/Application Support/Codex/Code Cache
    • ~/Library/Application Support/Codex/GPUCache
    • ~/Library/Application Support/Codex/DawnGraphiteCache
    • ~/Library/Application Support/Codex/DawnWebGPUCache
    • ~/Library/Application Support/Codex/blob_storage
  • Fully quit/restarted Codex.
  • Deleted and reinstalled Codex Desktop.
  • Tried waking the pet again after reinstall.

Additional Observations

  • Activity bubbles render and move, so the overlay window is not completely broken.
  • The issue is not limited to custom pets; built-in pets are also invisible.
  • At one point, moving the main Codex window to another display left the pet activity bubbles on the previous display.
  • Accessibility/window inspection suggested a very small visible/hit target associated with the pet/badge, but not the full avatar sprite.
  • After reset/reinstall, current state regenerated with:
    • selected-avatar-id: codex
    • electron-avatar-overlay-open: true
    • electron-avatar-overlay-bounds: present

Suspected Area

This looks like the avatar/mascot sprite layer is failing to render, while the notification tray/activity bubble layer renders normally. It may be related to the CSS/background-image rendering for the avatar sprite, GPU/compositor behavior, or overlay window rendering on macOS multi-display setups.

Workaround

No workaround found. Clearing pet state, clearing renderer caches, switching pets, restarting, and reinstalling did not restore the pet sprite.

extent analysis

TL;DR

The issue is likely related to the rendering of the avatar/mascot sprite layer, and a potential fix could involve investigating the CSS/background-image rendering for the avatar sprite or the GPU/compositor behavior on macOS multi-display setups.

Guidance

  • Investigate the CSS styles applied to the avatar sprite element to ensure that the background image is correctly set and not being overridden.
  • Check the GPU/compositor settings on the macOS system to see if there are any issues with rendering on multi-display setups.
  • Use the browser's developer tools to inspect the element and verify that the avatar sprite is being rendered, but not visible.
  • Test the application on a single-display setup to see if the issue is specific to multi-display configurations.

Example

No code snippet is provided as the issue does not specify a particular code snippet to investigate.

Notes

The issue may be related to a specific version of the application or macOS, and further investigation is needed to determine the root cause. The fact that the activity bubbles render correctly suggests that the issue is specific to the avatar sprite layer.

Recommendation

Apply a workaround by testing the application on a single-display setup or investigating the CSS styles applied to the avatar sprite element, as the root cause of the issue is still unknown and no clear fix is available.

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