codex - 💡(How to fix) Fix Windows Desktop: focused window shows black / wallpaper-colored transparent border unless opaqueWindows is enabled

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…

Fix Action

Fix / Workaround

Workaround found

Code Example

[desktop]
appearanceLightChromeTheme = { accent = "#339cff", contrast = 45, fonts = { code = "", ui = "" }, ink = "#1a1c1f", opaqueWindows = true, semanticColors = { diffAdded = "#00a240", diffRemoved = "#ba2623", skill = "#924ff7" }, surface = "#ffffff" }
appearanceDarkChromeTheme = { accent = "#339cff", contrast = 60, fonts = { code = "", ui = "" }, ink = "#ffffff", opaqueWindows = true, semanticColors = { diffAdded = "#40c977", diffRemoved = "#fa423e", skill = "#ad7bf9" }, surface = "#181818" }
RAW_BUFFERClick to expand / collapse

What happened?

After updating Codex Desktop on Windows, clicking/focusing the Codex window causes the outer window/background area to render as black or as a wallpaper-colored translucent region instead of the expected solid Codex surface.

This reproduced on two Windows machines. On one machine, after restoring the Windows theme/wallpaper settings to their original state, the artifact changed from a black border to a blue wallpaper-colored translucent border, which suggests the window backdrop is letting the desktop/Mica background bleed through.

Environment

  • Codex Desktop: 26.527.3686.0
  • OS tested in detail: Windows 10 Enterprise, build 19045, 64-bit
  • Windows app theme: light apps with dark system shell (AppsUseLightTheme=1, SystemUsesLightTheme=0)
  • Windows transparency effects enabled

Steps to reproduce

  1. Launch Codex Desktop on Windows.
  2. Open any conversation.
  3. Click/focus the Codex window.
  4. Observe the outer window/sidebar/background region around the main content.

Expected behavior

The Codex window should render with an opaque, solid app chrome/background. Focusing the window should not reveal a black backdrop or the desktop wallpaper color around the content.

Actual behavior

When the window is focused, parts of the Codex window background appear black or translucent/wallpaper-colored. The effect is visible around the window chrome/sidebar/main content boundary.

Workaround found

Setting both desktop chrome themes to use opaque windows fixes the issue locally:

[desktop]
appearanceLightChromeTheme = { accent = "#339cff", contrast = 45, fonts = { code = "", ui = "" }, ink = "#1a1c1f", opaqueWindows = true, semanticColors = { diffAdded = "#00a240", diffRemoved = "#ba2623", skill = "#924ff7" }, surface = "#ffffff" }
appearanceDarkChromeTheme = { accent = "#339cff", contrast = 60, fonts = { code = "", ui = "" }, ink = "#ffffff", opaqueWindows = true, semanticColors = { diffAdded = "#40c977", diffRemoved = "#fa423e", skill = "#ad7bf9" }, surface = "#181818" }

After restarting Codex with the above config, the border/transparency artifact disappears.

Suspected cause

This looks like a Windows Desktop regression in the transparent/Mica window backdrop path. In the app bundle, the Windows non-opaque path appears to use a transparent background with backgroundMaterial: "mica"; forcing opaqueWindows=true avoids that path and renders the window with a solid surface.

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…

FAQ

Expected behavior

The Codex window should render with an opaque, solid app chrome/background. Focusing the window should not reveal a black backdrop or the desktop wallpaper color around the content.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING