Skip to content

Codex Desktop pet overlay cannot be dragged on secondary monitor on Windows multi-display setup #21508

@waangzh

Description

@waangzh

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

26.429.61741

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

The Codex pet/avatar overlay can be dragged normally on the primary display, but after moving it to a secondary display it becomes non-draggable.

The pet remains visible, but mouse drag/click hit testing no longer works correctly. I confirmed that dragging works on the primary monitor, but does not work on the secondary monitor.

This appears related to Windows multi-monitor coordinates / hit testing. In my local Codex state, the overlay bounds were written with negative screen coordinates when the pet was on the secondary display:

"electron-avatar-overlay-bounds": {
  "x": -387,
  "y": 735,
  "anchor": {
    "x": -135,
    "y": 837
  },
  "placement": "bottom-end"
}
The main window was also on a negative-coordinate display:

"electron-main-window-bounds": {
  "x": -1904,
  "y": 197,
  "width": 2880,
  "height": 1570,
  "isMaximized": true
}
Resetting or moving the pet overlay position makes it usable again on the primary monitor, but the issue returns when using the secondary monitor.

### What steps can reproduce the bug?


1. Use Windows with two monitors.
2. Open Codex Desktop.
3. Enable the pet/avatar overlay with `/pet`.
4. Drag the pet on the primary monitor.
5. Move the pet to the secondary monitor.
6. Try dragging it again.

### What is the expected behavior?

The pet overlay should remain draggable on all monitors.

### Additional information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingpetswindows-osIssues related to Codex on Windows systems

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions