Windows ChatGPT/Codex Desktop 26.820.9563.0 can hang ~8 minutes before creating its main window
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
Summary
On Windows, the current ChatGPT/Codex Desktop package 26.820.9563.0 does not create any visible window. Multiple ChatGPT.exe processes remain running and responsive, but every process has MainWindowHandle = 0.
This started after an earlier startup failure that showed:
Unable to locate the Codex CLI binary
The bundled/local Codex CLI itself is present and works correctly.
App / CLI versions
Installed AppX package:
Name: OpenAI.Codex
Version: 26.820.9563.0
InstallLocation: C:\Program Files\WindowsApps\OpenAI.Codex_26.820.9563.0_x64__2p2nqsd0c76g0
Status: Ok
Local Codex CLI:
C:\Users\CC\AppData\Local\OpenAI\Codex\bin\d5f4c71927a04589\codex.exe
codex-cli 0.150.0-alpha.8
Running codex.exe --version succeeds.
Observed behavior
Launching the desktop app from the Start menu produces no visible window and no user-facing error.
The latest desktop log contains only:
2026-08-27T05:18:12.542Z info Launching app agentRunId=null allowDebugMenu=false allowDevtools=false allowInspectElement=false buildFlavor=prod enableSparkle=false enableUpdater=true nodeEnv=undefined packaged=true platform=win32
2026-08-27T05:18:12.602Z info Appshot hotkey inactive configured=true enabled=false platform=win32
No further log lines are written.
After launching with an isolated profile plus GPU/sandbox flags, the processes remain alive, but no BrowserWindow is created:
Get-Process ChatGPT | Select-Object Id,Responding,MainWindowTitle,MainWindowHandle
Output:
Id Responding MainWindowTitle MainWindowHandle
-- ---------- --------------- ----------------
6676 True 0
7760 True 0
9588 True 0
15300 True 0
So this is not an off-screen/hidden window; the processes are responsive but have no main window handle.
Reproduction / troubleshooting already tried
- Uninstalled and reinstalled the Windows app.
- Rebooted Windows multiple times.
- Verified AppX package status is
Ok. - Verified the Codex CLI binary exists and runs (
codex-cli 0.150.0-alpha.8). - Temporarily set
CODEX_CLI_PATHto the workingcodex.exe, then removed it again for a clean test. - Tested launching with a dummy argument.
- Tested:
--disable-gpu --disable-gpu-compositing --disable-software-rasterizer
No window appears.
- Tested with a fresh profile and sandbox disabled:
--no-sandbox --disable-gpu --disable-software-rasterizer --user-data-dir=<fresh temp dir>
With these flags the ChatGPT processes stay running, but still no window is created (MainWindowHandle=0).
- Checked Crashpad reports directory; no new
.dmpwas produced for these attempts. - Disabled
OrayIddDriver Device, uninstalled the Sunlogin/Oray remote desktop software, and rebooted. No change. - Verified Windows
Nullkernel driver:
SERVICE_NAME: Null
TYPE: 1 KERNEL_DRIVER
STATE: 4 RUNNING
- Verified
NULredirection works (NUL_OK).
GPU / display environment
NVIDIA GeForce RTX 5070 Laptop GPU
DriverVersion: 32.0.15.7712
Intel(R) Arc(TM) 140T GPU (16GB)
DriverVersion: 32.0.101.7026
A third-party virtual display driver (OrayIddDriver Device) was present originally, but disabling it, uninstalling the associated software, and rebooting did not resolve the issue.
Expected behavior
The ChatGPT/Codex Windows desktop app should create and display its main window normally.
If startup fails before BrowserWindow creation, the app should surface an actionable error rather than silently leaving responsive background processes with MainWindowHandle=0.
Additional context
The failure signature resembles several existing Windows startup issues where logs stop after Launching app / Appshot hotkey inactive, but this report is for the newer 26.820.9563.0 package and differs in that the processes can remain alive and responsive while no main window is ever created.
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 packaged Windows launch and reviewing the desktop log after “Appshot hotkey inactive”; no source file or test is identified in the report. Trace the startup path to the missing BrowserWindow and define done as either a normally displayed main window or an actionable startup error, with the existing PowerShell process checks confirming the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, rust
- Domain
- desktop-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100