[Windows] Pet overlay causes the ChatGPT desktop window to flicker and jump while dragging
What version of the Codex App are you using (From “About Codex” dialog)?
26.1007.21434, build 13901
What subscription do you have?
plus
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What issue are you seeing?
Description The ChatGPT desktop app’s main window flickers and appears to jump between positions while being dragged after it approaches, overlaps, or interacts with the floating pet. The issue reproduces with both built-in and custom pets. Other applications’ windows do not exhibit this behavior. Hiding the pet eliminates the issue. Environment
- OS: Windows, x64
- App version: 26.1007.21434
- Build: 13901
- Installed package: OpenAI.Codex_26.1007.2314.0_x64
- Update check on October 12, 2026: up_to_date
What steps can reproduce the bug?
Steps to reproduce
- Open the ChatGPT desktop app.
- Show a floating pet, either built-in or custom.
- Move the main window near or across the pet, or interact with the pet.
- Drag the main window around.
- Hide the pet and repeat the dragging operation for comparison.
What is the expected behavior?
Expected behavior The main window moves smoothly, regardless of whether the pet is visible or nearby. Actual behavior With the pet visible, dragging the main window causes flickering and apparent jumps to previous positions. Hiding the pet stops the problem.
Additional information
Troubleshooting performed
The GPU test was verified through the running processes:
- Main process included
--disable-gpu. - Renderer processes included
--disable-gpu-compositing. - GPU service included
--use-angle=d3d11-warp-webgl.
Disabling hardware acceleration therefore did not resolve the issue.
Recording
Attachment: Desktop 2026.10.12 - 12.28.05.01.mp4
The recording is approximately 17.45 seconds long, at 2560 × 1440 resolution. Around 8.10–8.16 seconds, the main window visibly alternates between positions. The recording alone cannot establish whether this is an actual native window-position change or presentation of stale frames.
Possible cause — not confirmed
Read-only inspection of the installed application bundle found that the pet overlay’s applyPointerInteractivityPolicy() includes a path calling:
setIgnoreMouseEvents(true, { forward: true })The symptoms closely resemble Electron issue #35030, which reports that mouse forwarding on a secondary window can cause another window in the same application to flicker while being dragged.
This is a potential lead, not a confirmed root cause. The installed application also contains an input-shape path, and the active runtime branch during reproduction has not been traced.
Suggested investigation
Check whether the pet overlay’s mouse forwarding interferes with the main window’s native move/resize loop on Windows. Consider testing whether temporarily suspending forwarding during movement or resizing, then restoring the appropriate interaction state afterward, resolves the issue without breaking pet hover or click-through behavior.
Impact and current workaround
The issue makes it difficult to keep the pet visible while repositioning the main window. The only verified workaround so far is to hide the pet.
Troubleshooting performed Test Result Switch from a custom pet to a built-in pet Still reproduces Hide the pet Issue disappears Drag other applications’ windows No equivalent issue observed Fully restart ChatGPT with --disable-gpu Still reproduces Check for an app update No update availableThe GPU test was verified through the running processes:
- Main process included --disable-gpu.
- Renderer processes included --disable-gpu-compositing.
- GPU service included --use-angle=d3d11-warp-webgl. Disabling hardware acceleration therefore did not resolve the issue. Recording Attachment: Desktop 2026.10.12 - 12.28.05.01.mp4 The recording is approximately 17.45 seconds long, at 2560 × 1440 resolution. Around 8.10–8.16 seconds, the main window visibly alternates between positions. The recording alone cannot establish whether this is an actual native window-position change or presentation of stale frames. Possible cause — not confirmed Read-only inspection of the installed application bundle found that the pet overlay’s applyPointerInteractivityPolicy() includes a path calling: setIgnoreMouseEvents(true, { forward: true }) The symptoms closely resemble Electron issue #35030, which reports that mouse forwarding on a secondary window can cause another window in the same application to flicker while being dragged. This is a potential lead, not a confirmed root cause. The installed application also contains an input-shape path, and the active runtime branch during reproduction has not been traced. Suggested investigation Check whether the pet overlay’s mouse forwarding interferes with the main window’s native move/resize loop on Windows. Consider testing whether temporarily suspending forwarding during movement or resizing, then restoring the appropriate interaction state afterward, resolves the issue without breaking pet hover or click-through behavior. Impact and current workaround The issue makes it difficult to keep the pet visible while repositioning the main window. The only verified workaround so far is to hide the pet.
https://github.com/user-attachments/assets/ea382159-e728-4ad5-b5a4-1ea23990eb9a
I can confirm that I'm experiencing the exact same issue on Windows.
When dragging the ChatGPT desktop window, it flickers and rapidly jumps between positions, exactly as shown in the attached video.
This makes moving the window very frustrating during normal use.
Hiding the floating pet completely resolves the issue, and showing it again brings the flickering back.
Environment:
- OS: Windows 11 Home 23H2 (Build 22631.4751, x64)
- App version: 26.1007.71326
I hope the team can investigate and fix this issue in an upcoming update. Thanks!
Additional reproduction and native-window telemetry (2026-10-19)
Two local captures confirm that this is an actual native window-position jump, not merely a stale rendered image. Moving the pet to the left can avoid the visible problem without hiding it.
Environment
- Windows 10 22H2, build 19045.3570, x64.
- App version 26.1013.40934, build 20770; MSIX package 26.1013.4894.0.
- Packaged runtime is Owl, with ChatGPT.exe/chrome.dll version 155.0.8059.80. The bundled package's Electron 42.3.0 development dependency should not be treated as proof of the running native implementation.
- Both measured windows reported DPI 120 (125%). The issue also persisted during a separate manual test at 100%; the two telemetry captures themselves were at DPI 120.
Reproduction / workarounds
- Keep the pet visible and place it toward the right of the screen.
- Hold the main window's title bar and drag through the affected region. Rare displaced positions produce visible flicker/ghosting.
- Move the pet toward the left and repeat. On this display, approximately the left third avoids visible flicker; this appears to be a layout-dependent threshold, not a universal screen fraction.
- Other applications drag normally. In this test, using Alt+Space → Move, then moving the mouse without holding the left button, also avoided the problem.
- Stopping pointer movement while still holding the button stops the visible flicker.
Measured relationship
A passive collector requested per-monitor-v2 DPI awareness and sampled GetWindowRect, the pet window's ClientToScreen(0,0), cursor position, left-button state, GetGUIThreadInfo, and out-of-context move/location notifications. Main-window samples below were filtered to left-button-down with hwndMoveSize identifying the main window. The main and pet windows share a native UI thread.
For each drag, define residual r = main_window.left - cursor.x. Normal movement preserves this residual approximately; displaced samples form a second residual mode.
| Pet transparent window client-origin x | Separation between normal/displaced residual modes | Large adjacent residual transitions | Transitions exactly matching ±origin |
|---|---|---|---|
| 0 | No comparable large jump observed | 0 | — |
| 394 | 394 px | 27 | 27 |
| 725 | 725 px | 44 | 42 |
| 808 | 808 px | 52 | 46 |
| 1241 | 1241 px | 296 | 245 |
The zero-origin controls contain 356 active polling samples across both captures. "Large transition" here means abs(delta r) > 80 px; out and back are counted separately. The second capture had 375 large transitions, 318 exactly matching the overlay origin and 350 within 8 px. Sequential, non-atomic queries can introduce small differences at transition edges.
A particularly direct example from capture 2: cursor.x stays 1312, the pet's client-origin x stays 1241, but GetWindowRect(main).left reads:
| Capture-relative time | cursor.x | main.left |
|---|---|---|
| 24277.456 ms | 1312 | 664 |
| 24286.095 ms | 1312 | -577 |
| 24298.573 ms | 1312 | 664 |
This is a native -1241 px jump and recovery while the mouse's horizontal coordinate is unchanged.
Localization, with remaining uncertainty
The measured error is approximately minus the pet transparent window's horizontal screen origin, rather than a fixed screen-third offset. The packaged pet layout clips a large transparent drawing window to the display; its origin stays at zero when sufficiently far left and then increases with the pet position. This explains the threshold followed by roughly linear offset growth.
The bundled pet policy contains a fallback using setIgnoreMouseEvents(true, { forward: true }), but successful input-shape handling takes a different path. The active forwarding/input-shape branch and the exact native message consumer have not been traced. The evidence supports a cross-window origin/mouse-move interaction; it does not establish a particular C++ statement as the root cause. Related Electron #35030 remains a lead, not proof of identical Owl behavior.
Please consider logging the active passthrough mode, input-shape capability/application result, target HWND, mouse-message coordinates, and main native move-loop boundaries. A targeted test would suspend only forwarded pet mouse movement during another app window's native move/resize loop, keep the pet visible and click-through, and restore its current interaction policy afterward. This is an unvalidated repair direction, not a claimed fix.
The captures were passive: no process injection, application patch, screenshots, or chat-content collection. Actual median polling intervals were about 15 ms, so sample clusters cannot determine precise frame counts, pulse widths, or true flicker frequency.
Additional reproduction: the pet also triggers native window resize jumps (2026-10-21)
I reproduced both title-bar dragging jumps and border-resize jumps on a newer Windows build. Hiding the desktop pet eliminated both symptoms in the same running app session.
Environment
- MSIX package:
26.1016.6573.0; bundled app version:26.1016.51333. - Packaged Owl runtime /
ChatGPT.exe:155.0.8059.80. - Windows 24H2, build
26100.7171, x64. - Active display:
1920 × 1080; measured window DPI:96(100%). - Active display adapter: NVIDIA GeForce RTX 3060 Laptop GPU.
- Hardware acceleration remained enabled throughout this comparison.
Native position evidence
A passive collector sampled GetWindowRect, cursor position, left-button state, and GetGUIThreadInfo, with per-monitor-v2 DPI awareness. The requested polling interval was approximately 8 ms; actual intervals depend on scheduling.
During title-bar dragging, the main window's left edge alternated between 679 and -419 while the cursor remained at (1254, 196): a native 1098 px jump. The pet-associated transparent window's screen origin was (1098, 0), matching the displacement. Its styles included layered, transparent, topmost, and tool-window attributes.
Additional symptom: border resizing
During a native border-resize operation, the main window width alternated between 1280 px and 480 px while the cursor remained at (1498, 931). The packaged window-manager code sets the main-window minimum width to 480, consistent with the erroneous size hitting that limit. This establishes a native geometry change; it is not merely a chat reflow or a stale rendered frame.
Pet-visible versus pet-hidden comparison
| Condition | Position changes sampled | Size changes sampled | Large horizontal jumps | Large width jumps |
|---|---|---|---|---|
| Pet visible | 761 | 504 | 75 | 185 |
| Pet hidden | 341 | 321 | 0 | 0 |
Large-jump counts use adjacent samples less than 80 ms apart, with the left button down and the native move/size flag active. Horizontal jumps exceed 500 px while cursor x changes by less than 25 px; width jumps exceed 500 px. These are sampled transitions, not exhaustive event counts or a frequency estimate.
The pet-hidden capture included both movement and resizing. I also confirmed visually that both symptoms disappeared. The persisted overlay-open state changed from true to false, and the transparent pet-associated window became hidden while the main window remained visible. No app restart, GPU-setting change, application patch, or process injection was used for this comparison. The pet was not re-enabled for a second reversal test.
This independently supports the cross-window origin interaction described above and adds the resize/minimum-width failure. The active forwarding/input-shape path and exact native call stack have not been traced, so this does not identify a specific C++ statement or establish a permanent fix.
Privacy-redacted recordings
The attachments show the original pet-enabled failure recordings. For privacy, the desktop and all application text/content are covered by opaque masks. The visible window extent is detected independently from each original frame, with no temporal smoothing; the 24 fps timing and abrupt movement/size changes are retained. Audio and source metadata are removed. There is no pet-hidden video; that comparison is supported by the separate native-coordinate capture and the manual test above.
Resize jump (9.875 s):
https://github.com/user-attachments/assets/c90a451c-31a2-4109-9082-c8363dc6b500
Dragging jump (7.875 s):
https://github.com/user-attachments/assets/0d84b1ee-221d-4f72-b36f-c78ffc803334
Still reproducible on October 22, 2026 with Windows package OpenAI.Codex_26.1016.8120.0_x64 (package version verified from the running desktop application's executable path; not the About dialog version).
Observed behavior / visibility comparison:
- Show the virtual pet and drag the main Codex desktop window in the middle of the screen.
- The main window rapidly jumps left and right while being dragged.
- Hide the pet and repeat the drag: the jumping stops.
- With the pet visible, the problem occurs even in the middle of the screen, not only near a screen edge.
Environment checked during this reproduction report:
- Windows, single active monitor, 2560 x 1440.
HKCU\Control Panel\Desktop\WindowArrangementActiveis0.- No running processes matching common window-management utilities such as PowerToys, DisplayFusion, AutoHotkey, Windhawk, GlazeWM, komorebi or AquaSnap were found in the process-name check. This is a limited check, not a comprehensive exclusion of hooks.
Expected: smooth main-window dragging regardless of pet visibility. Current workaround: hide the pet before moving the window.
The pet visibility comparison was performed and reported by the user. This follow-up does not establish an internal root cause, and GPU-disable / built-in-versus-custom pet comparisons were not repeated for this report.
Still reproducible on Windows package 26.1023.6123.0 (2026-10-28)
Adding another reproduction on a newer app package, including an independently verified DirectComposition-disable comparison.
Environment
- Windows x64.
- Installed MSIX package:
OpenAI.Codexversion26.1023.6123.0(verified from the installed package and running executable, not inferred from the About dialog). - Bundled Owl version metadata:
26.1023.50603; Chromium product version:156.0.8078.48. - NVIDIA GeForce RTX 4060 Laptop GPU, driver
32.0.15.6094.
Reproduction and placement comparison
- Show the built-in blue floating pet.
- Place it near the center or right side of the screen.
- Drag the main app window repeatedly: it flickers and its contents appear to jump horizontally.
- Hide the pet and repeat: the flicker stops.
- Move the visible pet to the left screen edge: dragging no longer flickers. This was also confirmed after an ordinary app restart without graphics compatibility flags, with the pet remaining at the left edge.
Keeping the pet at the left edge is only a placement workaround. The expected behavior is smooth main-window dragging with the native pet visible and freely placed anywhere.
Compatibility tests that did not resolve the issue
- Turning off the translucent sidebar did not help.
- Fully restarted with
--disable-gpu: the main-process argument was verified, and the GPU process used--use-angle=d3d11-warp-webgl. The pet on the right still caused flicker. - Fully restarted with
--disable-direct-compositionalone: this argument was verified in both the main and GPU processes. Moving the pet to the right still caused flicker.
These are user-observed visibility/placement comparisons with process-argument readback. This report does not claim a definitive internal root cause or a new native-window-coordinate trace.
No recording, chat contents, private configuration, or other attachments are included.
Additional reproduction detail from another Windows ChatGPT desktop user:
I tested the pet's horizontal position while dragging the main ChatGPT window:
- Pet hidden: the main window drags normally.
- Pet positioned at the far left edge of the screen: the main window also drags normally.
- Pet positioned on the right side of the screen: the main window flickers/jumps horizontally while being dragged, both when the pet is near the upper-right area and when it is near the lower-right area.
This suggests the behavior is related to the pet's horizontal position (left vs. right), rather than its vertical position. The far-left placement is a reproducible workaround on my setup. I have not confirmed the underlying cause.
Additional reproduction details and a more precise trigger condition (2026-11-24)
I can reproduce the same issue on a dual-monitor Windows setup using a newer version of the ChatGPT desktop application.
Environment
- Application: ChatGPT for Windows desktop
- Version:
26.1120.41243 - Release date: November 24, 2026
- Runtime identification: Powered by Codex & OWL
- Display configuration: Dual-monitor setup
- OS: Windows (exact build not yet collected)
More precise reproduction findings
I discovered a more specific correlation between the mouse cursor position and the floating pet overlay.
Using Windows Snipping Tool in Window capture mode, I can identify the area occupied by the floating pet.
When dragging the main ChatGPT window by its title bar:
- If the mouse cursor enters or is within the area occupied by the floating pet overlay, the main window starts flickering and jumping.
- If the cursor remains outside this area, window dragging behaves normally.
- Dragging from the left side of the title bar works normally, while dragging through the affected area reproduces the problem.
This suggests that the issue may be related to the pet overlay's screen-space bounds, hit-testing, or mouse-event forwarding, rather than simply the pet being visible.
A/B testing results
I performed the following tests in the same application session:
Test 1 — Pet visible in its original position
- Result: Window flickering is consistently reproduced.
Test 2 — Pet completely hidden
- Result: Window dragging works normally.
Test 3 — Pet moved to the far-left edge of the dual-monitor desktop
- Result: Window dragging works normally, even with the pet still visible.
Test 4 — Mouse cursor enters the affected pet area during window dragging
- Result: Window flickering and jumping are reproduced.
All results are repeatable.
Expected behavior
The main ChatGPT window should be draggable smoothly regardless of the floating pet's position or the mouse cursor's location relative to the pet overlay.
The floating pet should not interfere with the main window's native title-bar dragging behavior.
Actual behavior
The main window flickers and appears to jump between positions when the mouse cursor is within the affected area associated with the floating pet overlay.
Hiding the pet or moving it to the far-left edge of the desktop eliminates the issue.
Suggested investigation
Could the development team investigate whether the pet overlay's window bounds, input region / hit-testing, or forwarded mouse events interfere with the main window's native move loop on Windows?
In particular, it may be useful to inspect how mouse coordinates and overlay window origins are handled when the main application window is being dragged.
I have not independently measured the native overlay HWND bounds or confirmed the underlying implementation, so the correlation described above is based on reproducible visual testing rather than a confirmed root cause.
Attachments
- Screenshot showing the dual-monitor setup, floating pet position, and the Windows Snipping Tool observation.
The far-left pet placement is currently the only workaround that allows me to keep the pet visible while dragging the main window normally.
I can reproduce this on Windows 11 Pro (build 26100) with ChatGPT desktop MSIX OpenAI.Codex version 26.1120.6357.0 and one active display (2560 × 1440, 100% scaling, 100 Hz).
With the floating pet on the right, I hold the main window’s title bar and drag it to the right. Before the cursor reaches the screen edge, the window rapidly jumps between two horizontal positions. In two frames from my recording, the cursor is nearly stationary at about 81% of the recorded width, while the window content shifts about 1,765 pixels. The flicker stops when I stop moving the mouse.
Verified workaround: Moving the pet to the left side while keeping it visible restores smooth dragging.
I also submitted this through the desktop feedback flow. Feedback session ID: 01a22012-34c7-78a1-be7d-40f12d8a0a8f.
补充一份中文复现记录。
环境:Windows 11 专业版(内部版本 26100),ChatGPT 桌面端 MSIX 包 OpenAI.Codex 版本 26.1120.6357.0,单个活动显示器(2560 × 1440,缩放 100%,刷新率 100 Hz)。
复现:把悬浮宠物放在屏幕右侧,按住主窗口标题栏向右拖动。光标还没碰到屏幕边缘,主窗口就开始在左右两个位置之间快速跳动,屏幕左侧短暂出现同一窗口的内容。录屏中两帧显示,光标在画面宽度约 81% 处且几乎没动,窗口内容却横向偏移约 1,765 像素。停止移动鼠标后,闪烁停止。
已验证的绕过方法:保持宠物显示,把它从屏幕右侧移到左侧,再拖动主窗口时就能平滑移动。
已通过桌面端提交反馈,session ID 为 01a22012-34c7-78a1-be7d-40f12d8a0a8f。
I reproduced the visible flicker on OpenAI.Codex 26.1120.6357.0 and independently measured a 2,369 physical-pixel jump in the main window’s native bounds.
Environment. Windows 11 Pro 25H2 x64, build 26200.6584. Desktop 26.1120.50957 (build 30866), Owl 158.0.8127.89. Active display 3840 × 2160 @ 160 Hz, both windows at 144 DPI (150%), DWM composition enabled, AMD Radeon RX 9070 XT driver 32.0.21013.1000.
Confirmed by passive sampling. During a normal title-bar drag with the pet visible, a Per-Monitor V2 DPI-aware collector sampled GetWindowRect and DWMWA_EXTENDED_FRAME_BOUNDS. Both APIs reported the same sequence. The main-window Δx is measured from the first row shown below (16.66 ms). The overlay window’s left boundary stayed at screen x = 2369 px. Its client-area origin, which would require a separate ClientToScreen(0,0) measurement, was unmeasured. The left button stayed down, and the main window’s top edge and dimensions stayed constant across these three samples.
| Elapsed time | Main window Δx |
|---|---|
| 16.66 ms | 0 px |
| 31.32 ms | −2369 px |
| 46.11 ms | −1 px |
The cursor-relative window offset changed by −2369 px and then +2369 px. Across 2,900 samples over 45 seconds (median interval 15.51 ms), the overlay bounds never changed. This confirms an actual native window displacement during the visible flicker. The capture did not record individual display frames. Pet visibility and placement stayed fixed throughout this session, so the pet-on/off and placement A/B comparisons remain untested on this machine.
Likely mechanism and remaining uncertainty. The displacement matches the overlay window’s screen-space left boundary, which strongly suggests a coordinate-space mix-up during the native move loop. The shipped .vite/build/early-bootstrap-916-47f4a741fd176386.js contains both the setInputShape() path and the setIgnoreMouseEvents(true, { forward: true }) fallback in applyPointerInteractivityPolicy() (:221). The helper at :212 also subtracts the overlay content origin before sending a mouseMove to that overlay. The active branch, the failing Owl native function, and the source-level root cause remain unverified.
Fix and regression coverage. Trace which window and coordinate space supply input during native move/resize. Test both input-shape and forwarding paths at nonzero overlay origins, including mixed-DPI monitors. Assert that the main window tracks the cursor continuously while pet hover and click-through still work.