macOS: clicking the ChatGPT Dock icon opens a Quit-only menu instead of focusing the main window
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.20858 (build 7658)
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Darwin 24.6.0 x86_64 i386 macOS 15.7.9 (24G830), Intel Mac
What issue are you seeing?
When ChatGPT is already running, both left-clicking and right-clicking its icon in the macOS Dock display a menu containing only “Quit ChatGPT”.
Left-clicking the Dock icon does not activate, restore, or bring the main ChatGPT window to the foreground. The main window is still alive and can be activated successfully by running:
open -a ChatGPT
Therefore, the application window and activation handler appear to work. The problem seems specific to the interaction between the macOS Dock tile and ChatGPT.
What steps can reproduce the bug?
Feedback ID: 01a065da-9e3a-7511-9927-151844595158
- Launch the ChatGPT desktop app and open its main window.
- Switch to another application or another macOS desktop/Space.
- Left-click the running ChatGPT icon in the Dock.
- Observe that a menu containing only “Quit ChatGPT” appears.
- The main ChatGPT window is not activated or brought to the foreground.
- Right-clicking the icon displays the same Quit-only menu.
The issue is reproducible every time.
Running open -a ChatGPT correctly activates and focuses the existing main window.
What is the expected behavior?
Left-clicking the running ChatGPT icon in the Dock should activate the application and restore, show, and focus its last active main window.
Right-clicking may open a context menu, but left-clicking should not open the Quit-only menu.
Additional information
Troubleshooting already attempted:
- Completely quit and restart ChatGPT.
- Reinstall and replace /Applications/ChatGPT.app.
- Run
killall Dock, then reopen ChatGPT. - Switch between the ChatGPT and Codex Dock icons under Settings > General > Appearance.
- The issue persists after all of the above.
The problem appeared after the application updated from build 7524 to build 7658.
Relevant redacted macOS Dock log messages:
- Launch notification lack value for foreground type key
- Did not find tile from bookmark
- The Dock loads com.apple.dock.external.extra.x86_64
The app bundle declares CodexDockTilePlugin through NSDockTilePlugIn. This may be an x86_64/Intel macOS Dock Tile integration issue.
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 by reproducing the Dock behavior on the reported Intel macOS setup and compare it with open -a ChatGPT, which correctly focuses the existing window. Inspect the app bundle's NSDockTilePlugIn declaration and the CodexDockTilePlugin integration; done means left-clicking the running Dock icon activates and focuses the main window instead of showing only Quit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100