codex - 💡(How to fix) Fix Codex desktop pet window is not always on top after wake on Windows [1 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#21313Fetched 2026-05-07 03:42:12
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1
RAW_BUFFERClick to expand / collapse

What happened?

On Windows, after using Wake pet / the pet command to show the Codex desktop pet, the pet appears but can be covered by normal application windows such as Chrome, Feishu, and the Codex main window.

Expected behavior: the pet overlay should remain always-on-top by default, while the Codex main window should not become always-on-top.

Observed behavior: the pet overlay window is not marked as topmost, so other windows can cover it.

Environment

  • OS: Windows 10 Enterprise LTSC 2024, 64-bit, build 26100
  • Codex desktop package: OpenAI.Codex_26.429.8261.0_x64__2p2nqsd0c76g0

Reproduction steps

  1. Open Codex desktop on Windows.
  2. Go to Settings > Appearance > Pet.
  3. Select the default Codex pet.
  4. Click Wake pet / use the pet wake command.
  5. Move or focus another normal application window over the pet.

Actual result

The pet window is covered by the other application window.

Additional local inspection

Using the Windows API to inspect visible top-level windows showed the pet overlay as a separate Codex window, roughly 356x320, but its extended window style did not include WS_EX_TOPMOST (TopMost=False). The Codex main window and pet overlay are both titled Codex, but the main window is much larger; only the pet overlay should be topmost.

Expected fix

When the pet overlay is created or woken, set the pet overlay window to always-on-top / topmost on Windows, without applying topmost to the main Codex window.

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