Windows Codex app: permission notification click/minimized state launches Electron error

Open 💬 1 comment Opened May 30, 2026 by hailangtian4-dev

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.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗