Repository navigation
Windows Desktop: maximized window spills onto adjacent monitors in multi-monitor setup #25826
Description
What version of the Codex App are you using (From "About Codex" dialog)?
Codex Desktop on Windows, Microsoft Store/AppX package:
OpenAI.Codex_26.527.7698.0_x64__2p2nqsd0c76g0
What subscription do you have?
Unknown / not relevant.
What platform is your computer?
Windows 11 Education, version 10.0.26200, build 26200, 64-bit.
Multi-monitor setup with the Codex window maximized on the center monitor and adjacent displays connected on both the left and right sides.
Display/GPU devices present on this machine:
- NVIDIA RTX PRO 1000 Blackwell Generation Laptop GPU, driver
32.0.15.9636 - Intel(R) Arc(TM) Pro 140T GPU (16GB), driver
32.0.101.8724 - Virtual display drivers are also present: MirrorOp Virtual Graphics Adaptor, Meta Virtual Monitor, Virtual Desktop Monitor
What issue are you seeing?
When Codex Desktop is maximized on the center monitor in a multi-monitor Windows setup, the maximized window appears to extend slightly beyond the target monitor's bounds. A thin strip or border of the Codex window becomes visible on the adjacent left and/or right monitor at the shared monitor edge.
This does not look like the same symptom as the Windows maximized transparency/sidebar repaint reports where content behind Codex shows through inside the app window. In this case, the visible problem is that the maximized Codex window itself appears too large or offset relative to the monitor it was maximized on, so part of the window leaks into neighboring monitor coordinate space.
The current version is still affected. I believe the previous version was already affected as well, but I do not know the exact introduction point.
What steps can reproduce the bug?
- Use Codex Desktop on Windows with a multi-monitor setup.
- Place the Codex window on the center monitor.
- Maximize the Codex window.
- Look at the shared edges on the adjacent left and right monitors.
Observed result:
- Codex appears maximized on the center monitor, but a thin strip/border of the Codex window is visible on one or both adjacent monitors.
- Restoring the window avoids the visible spillover.
What is the expected behavior?
Maximizing Codex on one monitor should constrain all visible window pixels to that monitor's native maximized bounds / working area. No part of the Codex window frame, border, transparent region, or client surface should appear on adjacent monitors.
Additional information
I searched existing openai/codex issues before filing. The closest open issues I found are related to Windows maximized transparency, stale repainting, or sidebar/title-bar transparency, but they appear to describe a different symptom:
- Codex Desktop on Windows: rendering freezes/transparency when maximized #25513: Codex Desktop on Windows: rendering freezes/transparency when maximized
- Windows: maximized Codex window shows transparent/desktop bleed-through after 26.527.3686.0 update #25217: Windows: maximized Codex window shows transparent/desktop bleed-through after 26.527.3686.0 update
- Windows Codex app header and left sidebar become transparent when maximized #25347: Windows Codex app header and left sidebar become transparent when maximized
- Codex App: sidebar and top menu become transparent when maximized on Windows #25754: Codex App: sidebar and top menu become transparent when maximized on Windows
Those reports may share the same maximize-related code path, but this issue is specifically about the maximized window visibly spilling onto adjacent monitors.
Activity
MtkN1 commentedon Jun 12, 2026
Here is a screenshot illustrating the issue. The Codex app is maximized on the left display. The area outlined in red is already part of the adjacent display, but a thin strip of the Codex window extends into it.
today080221 commentedon Jun 16, 2026
Adding another affected Windows multi-monitor setup with exact Win32/DWM measurements. No screenshots attached because my captures include personal UI content.
Environment:
Observed while Codex is maximized on the left monitor:
The target monitor bounds are X=-2560..0, so the maximized window extends 8 px into the adjacent monitor. It also extends 8 px beyond the top edge compared with the visible monitor/work-area path.
Additional related symptom: when Codex changes focus state, the sidebar/top chrome visibly repaints/flashes while the main content area remains stable. That focus-state repaint looks related to the translucent/Mica behavior discussed in #25154 and #25513.
kevinzien1107-ctrl commentedon Jun 24, 2026
I can reproduce this on a newer Codex Desktop build as well.
Environment:
OpenAI.Codex_26.616.10790.0_x64__2p2nqsd0c76g0149.0.7827.11510.0.26200, 64-bit32.0.16.1062{X=0,Y=0,Width=1707,Height=1067}, working area{X=0,Y=0,Width=1707,Height=1019}{X=1707,Y=0,Width=1707,Height=960}, working area{X=1707,Y=0,Width=1707,Height=912}Observed behavior:
L=-7,T=-7,R=1714,B=1026,W=1721,H=1033, while the primary monitor bounds are0..1707horizontally.Expected behavior:
BoillingFish commentedon Jul 8, 2026
Additional reproduction details from another Windows user:
OpenAI.Codex_26.623.19656.0_x64__2p2nqsd0c76g010.0.26200, build26200, 64-bit200%scaling, so this does not appear to require mixed DPI scalingObserved behavior: when Codex is maximized, the window border/edge still appears on adjacent displays instead of being fully clipped to the target monitor bounds.
This points more toward Codex Desktop's Windows maximize/window-bounds handling than a user display-scaling mismatch.
UPSOKen commentedon Jul 11, 2026
Still happening on the new ChatGPT/Codex combined application.
gilmarvitor commentedon Jul 16, 2026
I reproduced this issue and was able to capture the exact technical measurements of the Codex Desktop window maximized vs. restored, including the monitor rectangles.
Relevant topology (two of four monitors on this machine):
Monitor where Codex was open (secondary, vertical):
Adjacent horizontal monitor to the right (primary):
Both monitors use 100% scale/96 DPI, so this reproduction does not depend on mixed-DPI.
Restored window (no overflow), before maximizing:
Maximized window (with overflow):
Measured difference: when maximized, the window overflows 8px past the monitor on the left, 8px above, 8px below the working area, and — most notably — 8px to the right of the vertical monitor's boundary (which ends at X=0), spilling those 8px onto the adjacent horizontal monitor. The DWMWA_EXTENDED_FRAME_BOUNDS value is identical to GetWindowRect, including the 8px overflow, which indicates that DWM itself reports the extended frame outside the monitor bounds, not just a logical rectangle.
After taking these measurements, I manually restored the window and the bounds returned to the original, non-overflowing state, confirming that native maximization is what computes a rectangle 16px larger (in width and height) than the destination monitor's working area, with 8px of overflow per side.
I did not change any monitor settings, drivers, DWM configuration, registry, or transparency settings during this test.
gaocapital commentedon Jul 27, 2026
Confirming this remains reproducible on a newer build as of 2026-07-27.
Environment:
OpenAI.Codex_26.721.4979.0_x64__2p2nqsd0c76g026200.8875, x6432.0.101.8508Measured logical geometry:
The native maximized rect exceeds the selected monitor by 7 logical pixels on each edge. At the shared physical edge, the affected DWM frame began at
X=1911while the monitor boundary wasX=1920, producing an intermittently visible rounded strip about 9 physical pixels wide on the adjacent display. Changing focus can make the strip repaint or temporarily disappear.Additional results:
F11, works around it. In true fullscreen the DWM frame begins exactly at the physical shared edge,X=1920, and no Codex pixels appear on the adjacent display.This looks like a Codex app frame clipping or native maximize bounds issue rather than a Windows monitor alignment problem.
zhiwenliang commentedon Aug 1, 2026
Adding another affected environment — still reproducible on the current Microsoft Store build.
Environment
OpenAI.Codex_26.727.6591.0_x64__2p2nqsd0c76g0(window process:app\ChatGPT.exe)32.0.16.1074) + AMD Radeon integrated graphics0,0x=3840, directly to the right of the primaryObserved behavior
Maximizing the Codex window on either monitor makes it spill onto the adjacent monitor: a thin visible strip of the window renders on the neighboring display at the shared edge instead of being clipped to the target monitor.
Measured Win32 geometry (window maximized on the primary display)
GetDpiForWindow(hwnd)= 144.GetWindowRectobserved from a DPI-unaware (96-DPI virtualized) context:The maximized window extends ~7–8 logical px (~11–12 physical px at 150%) beyond every edge of the target monitor. For ordinary maximized windows this overhang is the invisible resize border and DWM clips it on adjacent monitors; for the Codex window the strip is actually rendered on the neighboring display.
Additional data point
Forcing the process to system-DPI awareness via the
AppCompatFlags\Layers→HIGHDPIAWAREshim onChatGPT.exe/Codex.exedoes not change the behavior. This is consistent with earlier comments here that the bug does not depend on mixed/high DPI scaling — it looks like the app's own frameless-window maximize geometry is not being clipped to the target monitor.enderdantelian-lab commentedon Aug 3, 2026
Still reproducible on
26.727.6591.0at 100% DPI, with both adjacent-monitor and taskbar-side spill.Environment
OpenAI.Codex_26.727.6591.0_x64__2p2nqsd0c76g010.0.2620096(100%)0,0 → 2560,1440; working area:0,0 → 2560,13920,1392 → 2560,1440(48px)x=2560(1920×1080; top aligned aty=360)Measured while Codex is natively maximized
IsZoomed(hwnd) = true;GetWindowPlacement.showCmd = 3GetWindowRect = -8,-8,2568,1400DWMWA_EXTENDED_FRAME_BOUNDS = -8,-8,2568,1400-1,-1,2561,13930,0,2560,1392The DWM-visible frame therefore extends 8px past the right working-area edge into the adjacent display and 8px past the bottom working-area edge into the taskbar-reserved region. The client surface itself also crosses the right and bottom working-area boundaries by 1px. Three consecutive samples returned the same geometry.
Same-machine control
A maximized Chrome window on the same monitor at the same DPI reports the same ordinary Win32 outer rect (
-8,-8,2568,1400), but its DWM visible frame and client surface are both correctly clipped to0,0,2560,1392.This distinguishes the Codex symptom from the normal invisible Win32 resize-border overhang. It confirms the visible/composited-frame clipping boundary, but does not establish the internal implementation root cause.
No screenshot or raw logs are attached, to avoid exposing local conversation or session information.
Disclosure: this reproduction summary was prepared and posted by Codex at the account owner's request. The account owner did not manually write or post this comment.
HailiangLoo commentedon Aug 4, 2026
Adding another affected current Windows environment. This is still reproducible on the latest Microsoft Store/MSIX build available on this machine, with a mixed-DPI layout where the maximized display is physically to the left of the adjacent display.
Environment
OpenAI.Codex_26.727.6591.0_x64__2p2nqsd0c76g0app\ChatGPT.exe, product/file version150.0.7871.18226100.6584, x6432.0.15.7652(Parsec Virtual Display Adapter also installed)0,0, work area0,0 → 3840,20643840,313, directly to the right of the primaryObserved
When Codex is natively maximized on the primary display, part of its left sidebar/frame is visibly rendered along the left edge of the secondary display. Restoring the window removes the spill. The user reports this has persisted across versions for a substantial period.
Measured while maximized
GetWindowPlacement.showCmd = 3GetWindowRect = -7,-7,1926,1038DWMWA_EXTENDED_FRAME_BOUNDS = -13,-13,3853,2077-1,-1,3841,2065x=3840The DWM-visible frame therefore extends 13 physical pixels onto the adjacent display, and the client surface itself crosses the shared boundary by 1 pixel. This is another confirmation that the visible/composited Codex frame is not being clipped to the selected monitor during native maximize. A user-provided screenshot visually confirms the strip; it was not uploaded here because the cropped sidebar still contains local thread/project names.
Disclosure: these diagnostics and this comment were prepared and posted by Codex at the account owner's request.
41 remaining items
wbdb commentedon Oct 1, 2026
Same issue with version 26.928.31416
goro0803-droid commentedon Oct 2, 2026
Additional user confirmation on October 3, 2026 (Asia/Tokyo): the visible spillover still reproduces on Codex desktop version
26.930.21537, build12776, production release channel. The app's update check reportedup_to_dateafter the user restarted the app.Environment and observed behavior:
Win + Upreproduces the same issue as the maximize button.Expected: all visible parts of a maximized Codex window should remain inside the selected monitor's work area.
Please consider reopening this issue, or directing this confirmation to the active tracking issue. Screenshots are not attached here because the full app screenshot includes unrelated chat and project names.
This comment was prepared and submitted by Codex at the user's explicit request.
wbdb commentedon Oct 2, 2026
@bc-openai Can you reopen this? V26.930.21537 doesn't fix it. Thank you!
wbdb commentedon Oct 5, 2026
@etraut-openai @chess-oai Version 26.930.41038 doesn't fix it. The error has persisted since June 2. It has not been resolved. Please reopen this case.
chess-oai commentedon Oct 5, 2026
apologies gang, we've got one more fix en route. reopening until it lands.
coolfarmer commentedon Oct 8, 2026
Still not fixed... latest build.
jim608 commentedon Oct 8, 2026
I've also encountered this problem.
wbdb commentedon Oct 9, 2026
With every new update, you get your hopes up... and then...
But just so you don't get too comfortable on the web: https://x.com/dboedger/status/2108635479843242414
AMArostegui commentedon Oct 9, 2026
Still happening in 26.1002.52244
chess-oai commentedon Oct 9, 2026
thanks for sticking with us, and apologies this has been such a journey. fingers crossed our final fix is included in 26.1007.21434 (store package 26.1007.2314.0). please update and report back!
wbdb commentedon Oct 9, 2026
@chess-oai Fixed 🎉🎉🎉Please make sure to designate at least one person internally who can keep an eye on these kinds of issues for Windows on an ongoing basis. It was really annoying for weeks. But I'm very grateful that it's finally taken care of.
Ali229 commentedon Oct 9, 2026
Finally it's fixed!
MtkN1 commentedon Oct 10, 2026
Thanks for the fix! Really glad this is resolved.
One thing I've noticed, though: the animation when maximizing the window seems to be gone, so it feels a bit abrupt compared to other apps. I'm not sure if this is related to the fix. Has anyone else noticed this?
claell commentedon Oct 15, 2026
Confirming that the adjacent-monitor spillover is resolved on my Windows multi-monitor setup as of October 15, 2026. Maximizing Codex no longer leaves a visible strip or border on the neighboring monitors.
Current Microsoft Store package:
OpenAI.Codex_26.1007.9446.0_x64__2p2nqsd0c76g0(package version26.1007.9446.0).I do not know exactly which update resolved it on my machine; I noticed the improvement within the last few days and can confirm it is fixed today. Thanks for the fix!