codex - 💡(How to fix) Fix Windows Codex app: permission notification click/minimized state launches Electron error

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…

Error Message

When Codex is minimized on Windows, interacting with permission request notifications launches an Electron error dialog instead of bringing Codex to the foreground. The error says: Error launching app 5. An Electron "Error launching app" dialog appears. An Electron error dialog appears.

RAW_BUFFERClick to expand / collapse

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

26.527.3686.0

What subscription do you have?

PLUS

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

When Codex is minimized on Windows, interacting with permission request notifications launches an Electron error dialog instead of bringing Codex to the foreground.

The error says:

Error launching app

Unable to find Electron app at: C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\type=click&tag=...

Cannot find module: C:\Program Files\WindowsApps\OpenAI.Codex_26.52...\type=click&tag=...

It looks like the Windows notification click arguments, such as type=click&tag=..., are being interpreted as part of the Electron app path.

What steps can reproduce the bug?

  1. Open Codex on Windows.
  2. Minimize the Codex window.
  3. Trigger an action that requires permission approval.
  4. Interact with the permission request notification while Codex is minimized.
  5. An Electron "Error launching app" dialog appears.

Expected behavior: The notification should bring Codex to the foreground and show the permission request.

Actual behavior: An Electron error dialog appears.

Additional notes:

  • Codex app version: 26.527.3686.0
  • Package: OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
  • Re-registering the AppX package and recreating the codex:// protocol registration did not fix permission notification clicks.

What is the expected behavior?

When a permission request notification appears while Codex is minimized, clicking the notification should bring the existing Codex window to the foreground and show the permission approval UI. It should not try to launch Electron with the notification click arguments as part of the app path.

<img width="461" height="245" alt="Image" src="https://github.com/user-attachments/assets/9ebdcb53-c6de-4c8a-8e91-02215b0fd768" />

Additional information

The issue only appears when Codex is minimized and I interact with permission request notifications. Re-registering the AppX package and recreating the codex:// protocol handler did not resolve it.

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

codex - 💡(How to fix) Fix Windows Codex app: permission notification click/minimized state launches Electron error