[Windows] “Toggle Pet” global shortcut Alt+Win+P is shown but is not registered / does not work
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.901.31953
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
The Codex Windows desktop app shows the following keyboard shortcut:
Toggle Pet — Alt + Win + P
However, pressing Alt + Win + P has no effect.
The Pet can be shown or hidden normally using the app UI or /pet, so the Pet feature itself works correctly. The problem appears to be specific to the global keyboard shortcut.
Codex App version (About Codex): 26.901.31953
What steps can reproduce the bug?
- Launch the Codex desktop app on Windows.
- Show a Pet.
- Press Alt + Win + P.
- Nothing happens; the Pet remains visible.
- Hide the Pet using the app UI or /pet.
- Press Alt + Win + P again.
- Nothing happens; the Pet remains hidden.
The shortcut also appears to be intended as a global shortcut, so it should work even when Codex is not the active application.
What is the expected behavior?
Pressing Alt + Win + P should toggle the Pet between visible and hidden, including when Codex is not the foreground application.
Additional information
I investigated whether another Windows application might already be using Alt + Win + P.
Using the Windows API to check the hotkey combination indicated that Alt + Win + P was available, so this does not appear to be a conflict with another application.
I also inspected the behavior of the installed Codex app. From what I could determine:
- Alt + Win + P is defined as a global OS-level shortcut for toggling the Pet.
- There does not appear to be any additional condition such as requiring the Pet to already be visible.
- On my system, the shortcut does not appear to be successfully registered with Windows.
- The application appears to handle shortcut-registration failure without removing the shortcut from the displayed shortcut list.
This would explain the observed behavior: the shortcut is shown in the UI even though the corresponding global hotkey has not been registered successfully.
Working alternatives:
- Account menu → Hide Pet / Show Pet
- Command menu → Put Pet Away / Show Pet
- Entering /pet in the input field
Official Pet documentation:
https://learn.chatgpt.com/ja-JP/docs/pets
Codex App version (About Codex): 26.901.31953
Windows app package version: 26.901.4073.0
Restarting Codex may cause global shortcut registration to be attempted again, but the shortcut still does not work.
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
Start at the Windows global-shortcut registration path for the Toggle Pet action and reproduce Alt+Win+P with Codex in the foreground and background. Done means the shortcut is registered and toggles the Pet between visible and hidden, while a failed registration is not presented as an available shortcut.
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