openai / openai/codex

Windows desktop pet overlay reacts to mouse but cannot be dragged

Open
#41,920 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug pets windows-os
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

What version of the Codex App are you using?

OpenAI.Codex_26.825.6671.0

What subscription do you have?

Not specified

What platform is your computer?

Windows desktop app

What issue are you seeing?

The Codex pet overlay visually reacts to mouse interaction, but it cannot be dragged or repositioned with the mouse.

This looks like the overlay is receiving pointer events, but drag movement handling or window-position persistence is not working.

Custom pet details
  • Custom pet id: audiobit
  • Selected avatar setting: custom:audiobit
  • pet.json includes spriteVersionNumber: 2
  • Spritesheet path: spritesheet.webp
  • Spritesheet format: WebP RGBA
  • Spritesheet dimensions verified with Pillow: 1536 x 2288

The pet package appears valid under the v2 pet contract, so this does not look like a malformed custom pet asset issue.

Steps to reproduce
  1. Install/select a valid v2 custom Codex pet.
  2. Open the Codex desktop pet overlay on Windows.
  3. Move the mouse over the pet and interact with it.
  4. Try to drag the pet to a new position.
Expected behavior

The pet overlay should move with the mouse drag and persist its new position.

Actual behavior

The pet reacts visually to mouse interaction, but remains fixed in place and cannot be repositioned.

Additional notes

A local reset of the saved electron-avatar-overlay-bounds state was attempted after backing up .codex-global-state.json, but the issue persisted after restart according to the user. That suggests the remaining problem is likely in the desktop overlay drag/pointer handling rather than stale position cache alone.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Windows desktop pet overlay issue with the valid v2 custom pet and trace the overlay's pointer and drag handling. Inspect how the electron-avatar-overlay-bounds state is read and written, then verify that dragging moves the overlay and persists its new position after restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.