[Windows touch] Minimize and Close title-bar buttons ignore touch input on ROG Ally; mouse-emulated clicks work
What version of the Codex App are you using (From “About Codex” dialog)?
Current Microsoft Store Windows build. Exact version was not captured at the time of this report.
What subscription do you have?
Not relevant to the reproduction.
What platform is your computer?
Windows 11 on an ASUS ROG Ally / ROG Xbox Ally-class handheld PC with built-in touchscreen.
What issue are you seeing?
The Codex app itself is responsive and usable, but two custom title-bar window controls do not respond to direct touchscreen input:
- Minimize: tapping with a finger does nothing.
- Close (X): tapping with a finger does nothing.
- Maximize / Restore: direct touch works.
The rest of the Codex UI remains responsive: the window can be dragged, text can be entered, and app content can be interacted with normally.
This appears to be specific to Codex's touch handling for the title bar:
- Other Windows apps on the same device (for example, File Explorer and browsers) can be minimized and closed normally using direct touch.
- When the ROG Ally is switched to Desktop Mode and the built-in controls emulate a standard mouse, the exact same Codex Minimize and Close buttons work normally.
- Codex app zoom is already at 100%.
- Changing Windows display scaling to 125% does not fix the issue.
This strongly suggests a touch/pointer hit-testing problem in the Codex custom title bar rather than a frozen app or a general Windows/DPI problem.
What steps can reproduce the bug?
- Open Codex on a Windows 11 ROG Ally / similar touchscreen handheld.
- Use a finger to tap the title-bar Minimize button.
- Observe that nothing happens.
- Use a finger to tap the Close (X) button.
- Observe that nothing happens.
- Tap Maximize / Restore and observe that it does work.
- Switch the handheld to a mode that emulates a normal mouse pointer (ROG Armoury Crate Desktop Mode).
- Use the emulated mouse to click Minimize or Close.
- Observe that both now work normally.
What is the expected behavior?
Direct touchscreen taps on the Codex title-bar Minimize, Maximize/Restore, and Close buttons should behave the same way as standard mouse clicks.
Additional information
The behavior is consistently reproducible on the affected device.
The contrast between direct touch and mouse-emulated input is especially clear:
- direct touch -> Minimize/Close fail
- mouse-emulated click -> Minimize/Close work
This may be related to touch/pointer event handling or hit-testing in the custom Windows title bar on hybrid/touch-first devices.
A possibly related open issue is #46250, which reports a different UI symptom on a Surface device but also points to hybrid Windows input-capability handling.
I can reproduce a closely related issue in the Codex Windows desktop app.
Installed Windows package version confirmed during troubleshooting: OpenAI.Codex 26.915.4065.0.
Observed behavior:
- Direct touchscreen tap on Minimize: no response.
- Mouse click on the same Minimize button: works.
- Touchpad click on the same Minimize button: works.
- Direct touchscreen taps on Maximize/Restore and Close: both work.
- Other applications on the same computer do not exhibit this touchscreen minimization problem.
The key difference from the original report is that Close responds to touch on my machine; only Minimize fails.
Reproduction:
- Open Codex on a Windows computer with a touchscreen.
- Tap the title-bar Minimize button with a finger; the window stays visible.
- Click the same button using a mouse or touchpad; the window minimizes normally.
Expected: a direct touchscreen tap should minimize the window just as a mouse or touchpad click does.
Please investigate the touch input handling for the Windows title-bar Minimize button. If a fix or a workaround that restores direct touch on the original button becomes available, please share it here.
I can reproduce the same Minimize and Close touch failures on an LG Electronics 16T90SP-K touchscreen computer.
Environment:
- ChatGPT desktop, Codex view.
- Installed Windows package:
OpenAI.Codex 26.930.2377.0(package version; About-page version not collected). - Windows 11 Home, build
26200, x64.
| Window control | Direct finger tap | Mouse click |
|---|---|---|
| Minimize | Button changes appearance; window does not minimize | Works |
| Close | Button changes appearance; window does not close | Works |
| Maximize/Restore | Works | Works |
The 38.8-second recording contains this comparison in order:
- Repeated finger taps on Minimize and Close produce visual feedback without the window action.
- Finger input on Maximize/Restore changes the window state.
- Mouse clicks on Minimize, Close and Maximize/Restore work.
- Returning to finger taps on Minimize and Close reproduces the failure again.
Approximate positions: touch failures at 00:00–00:08, working Maximize/Restore at 00:10–00:12, mouse controls at 00:16–00:32, repeated touch failures at 00:34–00:38.
The input methods and repeated taps are identified by the person making the recording; this screen recording does not show a physical finger. The entire original video sequence is preserved, with audio and removable container metadata removed.
This adds a recording and reproduction on another computer with a confirmed package version. No root cause has been established in this reproduction.
https://github.com/user-attachments/assets/6e541736-cf17-4512-8c71-96c4009848b3
I also encounter this issue in the Codex Windows desktop app when accessing the PC through Moonlight streaming.
Environment:
- Codex desktop app:
26.930.31730, build12947(prod). - Microsoft Store package:
OpenAI.Codex 26.930.3930.0. - Windows:
Microsoft Windows NT 10.0.22631.0, x64. - Input: Moonlight touch mode. Client and streaming host versions have not been collected.
After retesting, the behavior matches the original report:
| Window control | Moonlight touch mode | Moonlight mouse mode |
|---|---|---|
| Minimize | Does not minimize | Works |
| Maximize / Restore | Works | Works |
| Close (X) | Does not close | Works |
Touch interaction works on the top-left File, Edit, View, and Help menus, the back-navigation control, split-pane controls, and the chat/content area. I have not exhaustively tested every other control, but the app remains responsive and the failures observed are limited to Minimize and Close.
To reproduce:
- Access the Windows desktop through Moonlight and open Codex.
- In Moonlight touch mode, tap Minimize and Close: neither performs its window action.
- Tap Maximize/Restore: it works.
- Switch the same streaming session to mouse mode: all three window controls work.
This adds an observation through remote-streaming touch input to the direct-touchscreen reports above. It does not establish which component causes the failure.
I initially reported Maximize/Restore as affected in #50908, but corrected that after retesting and closed #50908 as a duplicate of this issue.
Additional reproduction report on ASUS ROG Ally, confirmed by the user during troubleshooting on October 11, 2026 (JST).
- ChatGPT Windows desktop app (OpenAI.Codex package): version 26.1007.21434, build 13901, prod. The app update-check tool reported this installed version and
up_to_dateduring this session. - Direct touchscreen input makes the Close (X) and Minimize buttons visually react, but neither window action occurs.
- Maximize works with touch.
- Clicking the same controls with a mouse works normally.
- Other applications on the same device accept touch input for Close and Minimize normally.
- The problem has persisted since October 10 and remains after ending the application and reopening it.
The user primarily operates the handheld without an external mouse or keyboard, so this affects normal use. Expected behavior: a finger tap on Close or Minimize should execute the same action as a mouse click.
Touch behavior above is user-confirmed, not a claim of automated touch reproduction. The underlying cause has not been established. Please investigate the app's Windows title-bar touch handling.
same on windows 11 arm on microsoft surface 11
Additional reproduction on a Surface Pro 9 (Intel), confirmed by the owner during troubleshooting on November 3, 2026.
Environment
- Windows 11 Home 25H2, build
26200.9711. - ChatGPT/Codex desktop app
26.1027.51404, build23880, production channel. - Windows package:
OpenAI.Codex 26.1027.6604.0. - The app's configured updater reported
up_to_dateon November 3.
Reproduction
- Open the desktop app.
- Tap its title-bar Minimize button directly with a finger.
- The button visually highlights, but the window stays visible.
Expected: the window minimizes as it does with ordinary window commands. The owner also reported similar failures of Close and other caption controls during the investigation; Minimize is the specifically isolated current issue.
Controlled comparisons
- File Explorer minimizes normally with a direct finger tap in the same Windows account where the desktop app has the problem.
- Window-button touch also works in a separate local standard account on the same Surface.
- Alt+Space followed by N previously minimized the affected app.
- These physical-touch results are owner-confirmed; automated mouse clicks were not treated as proof that touch works.
- Early broad reports suggested other apps were affected. The later explicit File Explorer comparison narrows the current diagnosis; this is not a confirmed Windows-wide touchscreen failure.
Troubleshooting already completed
- DISM succeeded; SFC found no integrity violations.
- Windows rebooted on November 3 at 06:57 Eastern. An initial successful touch report was followed by recurrence.
- Restarting the precise touchscreen HID device succeeded (PnPUtil exit 0, device problem code 0) but did not change the symptom.
- The checked touch/pen and accessibility settings, and the desktop UserPreferencesMask, matched the working standard account.
- A fresh owner Windows session and fresh desktop-app process were observed before the latest File Explorer comparison.
Code-path observation—not a proven root cause
Read-only inspection of the installed archive found Windows primary and detached windows configured with titleBarStyle: "hidden" and titleBarOverlay. No supported native-title-bar preference was found. The installed archive was not modified.
Please investigate the Windows title-bar touch handling, including Electron's overlay path. The defect remains unresolved; this report does not establish the exact underlying cause.
Additional reproduction on a Lenovo ThinkPad X12, confirmed by the device owner during troubleshooting on November 11, 2026.
Environment:
- Device: Lenovo ThinkPad X12 (system model 20UVS1T200), Intel/x64.
- Windows Professional; the system reports 26H2 / build 26300.
- Installed package: OpenAI.Codex 26.1106.6628.0.
- The app's configured production updater returned up_to_date.
Owner-confirmed input comparison:
- Direct finger taps on ChatGPT's Minimize and Close buttons: neither window action occurs.
- Mouse/touchpad clicks on the same buttons: both work.
- File Explorer was maximized so its Close button was in the same physical top-right screen area: a finger tap closed it normally.
- The ChatGPT failure remains in both maximized and restored window states.
Troubleshooting completed without resolving it:
- Full Windows sign-out/sign-in and full device restart.
- Successful, data-preserving MSIX re-registration and application relaunch.
- Backed up and tested the saved main-window maximized state, then restored the original state after the test failed.
- No non-default persisted app zoom setting was found.
The evidence narrows this to the app's title-bar touch-input path, but does not establish the underlying cause. Physical touch and mouse comparisons above were confirmed by the owner; automated mouse clicks were not treated as proof that touch works.
No credentials, conversation contents, raw application state, logs, or screenshots are included in this report. Please investigate the Windows title-bar touch handling on this package version.
Confirming this exact touch-only bug on Microsoft Surface Pro (Windows 11 ARM64) with OpenAI.Codex_26.1117.4957.0_arm64__2p2nqsd0c76g0 (ChatGPT.exe).
Note for reproduction: This only reproduces with direct touchscreen input (finger tap /
WM_POINTER*). Standard mouse clicks work normally, so non-touch PCs will not reproduce it.
Root Cause Observed via Win32 / UIA Diagnostics
On a Surface Pro at 200% DPI (2880x1920, top taskbar 0..96):
- The top-level window
Chrome_WidgetWin_1hasGWL_STYLE = 0x15070000(missingWS_SYSMENU) and is not hung (IsHungAppWindow = False,Responding = True,Modal = False). - The child
Chrome_RenderWidgetHostHWNDcovers the entire window ([0, 96, 2880, 1920]), overlapping the three top-right caption buttons (Minimize,Restore/Maximize,Close). WindowFromPointover all three caption buttons resolves to the childChrome_RenderWidgetHostHWNDrather thanChrome_WidgetWin_1.- Sending
WM_NCHITTESTdirectly toChrome_RenderWidgetHostHWNDreturns:- Minimize (
view_1):8(HTMINBUTTON) - Restore/Maximize (
view_3):-1(HTTRANSPARENT) - Close (
view_4):20(HTCLOSE)
- Minimize (
- Because
WM_POINTER*touch input is routed to the childChrome_RenderWidgetHostHWNDunder the finger instead of being promoted to non-client frame actions onChrome_WidgetWin_1, tapping the buttons with a finger does nothing (in our case, all three buttons failed on touch, while mouse clicks worked).
Working Workaround (Verified on 2 Surface Pro ARM64 devices)
Until Chrome_RenderWidgetHostHWND excludes the caption-button strip or returns HTTRANSPARENT / delegates WM_POINTER* to the parent frame:
- A lightweight native Win32 overlay (
WS_POPUP | WS_EX_LAYEREDwithLWA_ALPHA = 1,WS_EX_TOOLWINDOW | WS_EX_NOACTIVATE | WS_EX_TOPMOST) that:- Only appears when a
Chrome_WidgetWin_1window belonging toChatGPTis the foreground window (hidden otherwise, so it never affects other apps). - Covers only the DPI-scaled top-right
137x36logical px caption strip (DwmGetWindowAttribute(DWMWA_EXTENDED_FRAME_BOUNDS)+GetDpiForWindow). - Handles
WM_POINTERUP/WM_LBUTTONUPand postsWM_SYSCOMMAND(SC_MINIMIZE,SC_MAXIMIZE/SC_RESTORE) orWM_CLOSEdirectly toChrome_WidgetWin_1.
- Only appears when a
This immediately restored reliable finger-touch Minimize, Maximize/Restore, and Close on both Surface Pro devices.
I can still reproduce this on a Microsoft Surface running Windows 11 26H2 (build 26300.10075) with the ARM64 ChatGPT desktop app, package version 26.1120.6357.0.
In the main ChatGPT window, I tapped Minimize, Maximize/Restore, and Close with my finger. All three failed to perform their window action. On retest I could see a button highlight when I touched it, but the window stayed in the same state. The chat input still responded to touch.
For comparison, I placed File Explorer’s Minimize button at the same spot on the screen and tapped it with the same finger input. File Explorer minimized normally.
The issue persisted after re-registering the previous package (26.1117.4957.0) and then upgrading and reopening ChatGPT. The running app was confirmed to be 26.1120.6357.0 before the final touch test.
Confirming a similar issue on a Microsoft Surface running Windows. The title-bar window control buttons in the ChatGPT desktop app do not respond properly to direct finger touch. I noticed this before installing a protective case, so the case is not responsible. This is particularly frustrating when using the Surface as a tablet without a mouse or keyboard. Please investigate touch input handling for these controls. Expected behavior: tapping the window controls should work just like clicking them with a mouse.