Windows desktop: bottom panel flashes briefly then immediately disappears
What version of the Codex App are you using (From “About Codex” dialog)?
26.527.3686.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
On Windows Codex desktop, when I toggle the integrated terminal / bottom panel, the bottom panel appears momentarily but immediately disappears again. The toggle action seems to run, but the bottom panel cannot stay open, making the integrated terminal unusable.
What steps can reproduce the bug?
- Open the Codex desktop app on Windows.
- Open any thread/workspace.
- Toggle the integrated terminal / bottom panel.
- Observe that the bottom panel appears briefly, then immediately disappears.
- Try toggling it again.
The issue is reproducible across workspaces and appears to affect the bottom panel specifically.
What is the expected behavior?
The integrated terminal / bottom panel should remain open after toggling it, and should only close when I toggle it again or explicitly close it.
Additional information
Environment details:
- Platform: Windows
- Codex package:
OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0 - Codex app version:
26.527.3686.0 - Executable version from Windows Event Log:
148.0.7778.179 - Install location:
C:\Program Files\WindowsApps\OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
After repeated attempts and troubleshooting, Windows Event Viewer recorded:
Application Hang, Event ID1002Windows Error Reporting, Event ID1001- Event name:
MoAppHang - Package:
OpenAI.Codex_26.527.3686.0_x64__2p2nqsd0c76g0
Troubleshooting already tried:
- Restarted Codex
- Restarted Windows
- Repaired/reset app
- Uninstalled and reinstalled Codex
- Checked Windows Defender Protection History: no quarantined or blocked Codex files
- Terminated all
Codex,codex, andnode_replprocesses - Renamed/reset:
%LOCALAPPDATA%\OpenAI\Codex%LOCALAPPDATA%\Packages\OpenAI.Codex_2p2nqsd0c76g0\LocalCache\Roaming\Codex\web\Codex- Relaunched with:
--disable-gpu --disable-gpu-compositing
The issue persisted after all of the above.
One additional note: the day before this started, I began setting up a Codex connection/link with my phone, but I did not complete that setup. I am not sure whether it is related.
18 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed #25225. This is related because both involve the integrated terminal on Windows, but I do not think it is the same behavior.
In my case, the bottom panel / integrated terminal does appear, but only momentarily. It immediately disappears again without me closing it, so the panel cannot stay open at all. I am not specifically reporting a Windows-native terminal that never opens, nor a WSL terminal that opens but errors when closed.
This looks like a bottom-panel visibility/lifecycle issue rather than a terminal backend startup/cleanup error.
Obsevered idential behavior. ctrl `, menu View>>Open Terminal, CTRL J each open the bottom panel, but it immediately closes.
Restarted Codex
Restarted Windows
Repaired/reset app
do not correct the issue
For me it just doesnt open at all after codex reinstall :)
I encountered the same problem as you. Have you solved it?😥😭
Yes, in latest update in general settings you need to enable or re-enable 'show bottom panel icon' (or smth like this, and it will start to work again
So sad,it was no use,but still thank u
Yes, still no solution to the problem...
zhu1148 @.***> escreveu (sexta, 5/06/2026 à(s) 09:29):
I’m seeing the same behavior on a newer version.
Environment:
In my case, both the Bottom Panel and the Integrated Terminal are affected.
The Bottom Panel briefly appears and then immediately disappears. The Integrated Terminal behaves the same way: it briefly opens, then closes or returns to the default side panel view. So neither the Bottom Panel nor the Integrated Terminal is usable.
I tried switching the terminal location between Bottom and Right Side, and also tried both PowerShell and Command Prompt. I also restarted the Codex app and restarted the computer, but the issue still reproduces consistently.
I checked for related system issues as well:
.werfiles were found.From the user-facing behavior, this looks like the same issue described here. The main difference is that on my system Windows does not record it as MoAppHang or an application hang.
我也遇到了这种问题,请问你们解决了吗
I am having the same problem, has spent some time to diagnose it with Codex, but failed to resolve it. Below are our findings (generated by Codex):
I am seeing the same user-visible symptom: the integrated terminal/bottom panel appears briefly and then immediately disappears. In my case, there is a reliable A/B trigger: it only happens when the Agent environment is set to WSL.
Environment
OpenAI.Codex_26.730.8199.0_x64__2p2nqsd0c76g0codex-cli 0.146.0docker-desktopReproduction
Ctrl+J, use the terminal button, or select View → Open Terminal.This happens with both available integrated terminal shell selections:
| Agent environment | Terminal shell | Result |
|---|---|---|
| Windows native | PowerShell | Works |
| Windows native | WSL | Works |
| WSL | PowerShell | Panel flashes and disappears |
| WSL | WSL | Panel flashes and disappears |
This matrix is reproducible after restarting the app.
WSL itself works normally
Launching WSL directly from PowerShell works:
Output:
Opening an interactive WSL session also works and exits normally:
Therefore, the Ubuntu distribution, login shell, and standalone Codex CLI appear to be healthy outside Codex Desktop.
Windows sandbox setup is complete
There was initially a separate Windows setup problem because the Codex MSIX package was registered to my standard user but not to the separate administrator account used for UAC elevation.
After installing/registering Codex for the administrator account as well, Finish Windows setup completed successfully. The Desktop log confirms:
However, completing Windows setup did not change the terminal behavior. The terminal still flashes and disappears whenever the Agent environment is WSL.
This suggests that the Windows sandbox setup failure and the integrated-terminal failure were separate issues.
Relevant Desktop log observations
When Codex starts in WSL Agent mode, the WSL app-server itself appears to start successfully:
However, every WSL-mode startup also records this warning:
The installed MSIX package does not contain the referenced
app\resources\codex-resourcesdirectory, and the destination directory is not created.For completeness, Ubuntu already has bubblewrap installed:
I do not know whether the missing bundled
bwrapresource is the direct cause of the terminal panel closing, but it may be useful diagnostic evidence. The WSL app-server can initialize despite this warning.In an earlier reproduction, the short-lived WSL child process associated with opening the terminal exited with code
127, while manually launching the same WSL distribution worked normally.Security checks already performed
wsl.exeworks normally outside Codex.Expected behavior
When the Agent environment is WSL, opening the integrated terminal should keep the bottom panel visible and start the selected shell.
At minimum, selecting PowerShell should not fail merely because the agent host is WSL.
Possible relationship to other issues
This may overlap with the Windows/WSL host and path-boundary problems reported in:
The distinctive part of this reproduction is that both PowerShell and WSL terminal profiles work under Windows Native Agent mode, and both fail under WSL Agent mode on the same installation.
I can provide a redacted Desktop log covering a clean restart and terminal-open attempt if that would help.
I can reproduce a closely related terminal/bottom-panel failure on a newer Windows Desktop build, with WSL integration enabled.
Environment:
OpenAI.Codex_26.730.8199.0_x64__2p2nqsd0c76g0codex-cli 0.146.0CODEX_HOMEunder%USERPROFILE%\.codex, with a Windows-to-WSL wrapper asCODEX_CLI_PATH/home/<linux-user>/<project>User-visible behavior:
Relevant Desktop log observations from the same session:
The logs also repeatedly show Windows-side Git/environment handling failing for Linux paths even though Git works normally inside WSL for the same project:
Manual verification inside WSL succeeds:
So this does not look like WSL or Git being unavailable generally. It looks like the Desktop app's Windows-side terminal/worktree/git path handling is crossing the Windows/WSL boundary incorrectly, then the terminal session never attaches and the panel collapses.
One extra configuration detail that seemed relevant: this install had a per-project open target override like this:
Changing that override away from
terminalreduced one obvious bad configuration state, but the underlying issue still appears to be that the integrated terminal silently fails instead of staying open or surfacing an actionable error.Expected behavior:
I’m seeing what appears to be the same integrated-terminal / bottom-panel issue on the current Windows Codex Desktop app.
Environment
Codex Desktop: 26.803.5235.0 x64
Windows build: 26100.8875
WSL2
Default distro: Ubuntu-24.04
Project is stored on the native WSL filesystem under /home/...
Codex itself is configured to run in WSL
PowerShell 7.6.4 is also installed
Symptom
Clicking the integrated Terminal button causes the bottom panel to appear very briefly and then immediately disappear.
The same behavior occurs when the Codex Desktop integrated terminal shell is configured as:
WSL
PowerShell
So this does not appear to be specific to the selected shell.
WSL / shell checks
All of the following work normally outside the Codex integrated terminal:
wsl.exe --status
Default distribution: Ubuntu-24.04
Default version: 2
wsl.exe -d Ubuntu-24.04 -- /bin/echo WSL_BRIDGE_OK
succeeds.
wsl.exe -d Ubuntu-24.04 -- bash --noprofile --norc -c "echo BASH_CLEAN_OK; whoami; pwd"
succeeds.
wsl.exe -d Ubuntu-24.04 -- bash -lc "echo BASH_LOGIN_OK; whoami; pwd"
also succeeds.
Codex CLI works normally inside WSL as well.
Codex Desktop WSL backend
I also observed Codex Desktop successfully starting its WSL app-server:
wsl.exe -d Ubuntu-24.04 ... bash -lc "... codex ... app-server --analytics-default-enabled"
So the Windows → WSL → bash → Codex app-server path itself appears healthy.
Process observation
I monitored newly appearing Windows processes while reproducing the terminal flash/disappear behavior.
I did not observe a new persistent wsl.exe, pwsh.exe, powershell.exe, cmd.exe, conhost.exe, or similar shell process corresponding to the Terminal click.
I therefore suspect the failure may be happening before, or very early in, the integrated-terminal shell/PTY startup path.
Windows event log
Immediately after reproducing, I checked the Application event log for:
Application Error
Application Hang
Windows Error Reporting
Codex-related entries
No corresponding crash/hang event was found.
Codex Desktop logs
Codex package log directory:
C:\Users\<user>\AppData\Local\Packages\
OpenAI.Codex_2p2nqsd0c76g0\
LocalCache\Local\Codex\Logs
The newest logs associated with the current Codex process/session were zero-byte files, and clicking the Terminal did not appear to create or update a useful terminal-related log entry.
I also checked for package files modified immediately after clicking Terminal and did not observe an obvious terminal-state/log file being written.
Other troubleshooting already tried
Codex Desktop was reinstalled
Docker Desktop was removed
Docker now runs natively inside WSL
Default WSL distro is explicitly Ubuntu-24.04
Switching the Codex integrated-terminal shell from WSL to PowerShell does not change the behavior
Other Codex Desktop WSL functionality continues to work.
This makes the integrated Terminal / bottom-panel lifecycle itself look like the likely failure area, rather than WSL, bash, Docker, or the project environment.
Happy to run additional diagnostics or provide specific logs if there is a preferred tracing/debug procedure for the integrated terminal.
I completed the A/B test.
The project location is not the trigger.
WSL /home/... project + Agent environment = WSL → terminal flashes and disappears
Windows C:\CodexTerminalTest project + Agent environment = WSL → terminal flashes and disappears
Windows C:\CodexTerminalTest project + Agent environment = Windows native → terminal works normally
So on my system the reliable trigger is Agent environment = WSL, independent of whether the project is stored on the Windows or WSL filesystem.
This also reproduces with both PowerShell and WSL selected as the integrated terminal shell.
I am seeing the same issue on Windows Codex Desktop.
Codex App version:
26.810.7004.0
Platform:
Windows 11 + WSL2 Ubuntu-24.04
Behavior:
When I click the terminal icon or press Ctrl+`, the bottom panel appears briefly, the main view moves upward, then the panel immediately disappears. No usable terminal session is created.
I tested:
wsl --updatewsl --shutdownAdditional observation:
Codex reports that no app terminal session is attached to the thread.
Windows Event Log did not show a recent Codex crash for this attempt.
This looks identical to the bottom panel lifecycle issue described here, but it still reproduces on 26.810.7004.0.
Still reproducible after updating Codex Desktop today.
I see the same flash-then-close behavior when opening the integrated terminal: the terminal/bottom panel appears briefly and immediately disappears, leaving no usable terminal session.
This is not isolated to one machine. I have reproduced the same behavior on a second, independent Windows host after configuring the Codex agent environment and integrated terminal to use WSL as well.
This adds another cross-host data point that the issue persists after an app update and is associated with the Windows + WSL configuration.
chatGPT version is:
<img width="382" height="362" alt="Image" src="https://github.com/user-attachments/assets/a1332710-74c5-4d9b-9050-681430bb26d0" />
Same issue. Agent running in WSL. Tried different shells. Panel just opens briefly and immediately closes.