[Windows] Desktop pet becomes click-through and cannot be dragged
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What happened
On Windows, the Codex desktop pet can become partially or completely click-through. The mascot remains visible, but clicking or dragging its body passes through to the window underneath, so the pet cannot be moved.
Steps to reproduce
- Run Codex Desktop on Windows.
- Enable a desktop pet.
- Leave Codex running and use the pet normally.
- Try to drag the pet from the center or lower part of its visible body.
Expected behavior
The full visible mascot area should remain clickable and draggable for the lifetime of the overlay.
Actual behavior
The pet remains visible, but mouse input passes through part or all of the mascot. Restarting Codex or Windows may temporarily restore dragging.
Environment
- Codex Desktop for Windows
- Windows 11
- Display scaling: 150%
- A valid custom v2 pet is installed (the issue appears related to the overlay hit region, not the sprite asset)
Additional context
This appears related to the Windows avatar overlay's mouse-passthrough or stale hit-region handling. It may be related to the existing report #34227, but this report reproduces the problem on the current Codex installation as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue on Windows 11 with a desktop pet and 150% display scaling, then inspect the Windows avatar overlay's mouse-passthrough and hit-region handling. Verify that the full visible mascot remains clickable and draggable for the lifetime of the overlay, including after normal use and with a custom v2 pet.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100