Skip to content

[Windows] Auto-hidden taskbar cannot be revealed by mouse while ChatGPT Desktop is maximized #45369

Open

Description

@Devstellar

What version of the Codex App are you using (From “About Codex” dialog)?

26.908.40834

What subscription do you have?

ChatGPT Plus

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What issue are you seeing?

When the Windows taskbar is configured to auto-hide, it cannot be revealed by moving the mouse pointer to the bottom edge of the screen while the ChatGPT Desktop window is in the native maximized state.

The problem occurs specifically when ChatGPT Desktop is maximized.

The taskbar itself remains fully functional: pressing Ctrl+Esc causes it to appear immediately. Restoring the ChatGPT window to a non-maximized state also restores normal mouse edge-triggered taskbar behavior.

A manually resized ChatGPT window occupying almost the entire screen does not reproduce the issue. The problem appears to be specifically associated with the native maximized window state.

What steps can reproduce the bug?

  1. In Windows, enable "Automatically hide the taskbar".
  2. Open ChatGPT Desktop.
  3. Maximize the ChatGPT window using the normal Windows maximize button.
  4. Move the mouse pointer to the bottom edge of the screen.
  5. The auto-hidden Windows taskbar does not appear.
  6. Press Ctrl+Esc.
  7. The taskbar appears immediately.
  8. Restore the ChatGPT window to a non-maximized state.
  9. Move the mouse pointer to the bottom edge again.
  10. The taskbar now appears normally.

The issue is consistently reproducible when ChatGPT Desktop is maximized.

A manually resized window that occupies almost the full screen does not reproduce the problem; entering the native maximized state does.

What is the expected behavior?

A maximized ChatGPT Desktop window should not prevent Windows from revealing an auto-hidden taskbar when the mouse pointer reaches the bottom screen edge.

The Windows taskbar should behave in the same way whether the ChatGPT window is maximized or restored.

Additional information

This may be related to Windows misclassifying a maximized window using custom window chrome / a custom non-client area as a fullscreen application.

There are some particularly relevant precedents.

Electron previously had an issue with essentially the same observable behavior:

electron/electron#5990
"Maximized frameless window causes Windows' auto-hide task bar to not show"
electron/electron#5990

It was later addressed by:

electron/electron#18321
"leave space for autohide taskbar for frameless maximized window"
electron/electron#18321

Chromium also contains specific Windows handling for maximized windows and auto-hidden taskbars in HWNDMessageHandler. The relevant code explicitly discusses preventing Windows from treating the maximized window as a "fullscreen app":

https://chromium.googlesource.com/chromium/src/+/master/ui/views/win/hwnd_message_handler.cc

There is also a very recent and particularly similar Firefox issue:

Mozilla Bug 2064534
https://bugzilla.mozilla.org/show_bug.cgi?id=2064534

Firefox exhibited a very similar failure mode with maximized windows and an auto-hidden Windows taskbar. Reports for that bug also include the notable behavior that Ctrl+Esc can make the taskbar appear.

Mozilla's fix documents the Windows behavior explicitly:

"Windows may misdetect a maximized window with a custom non-client area as fullscreen"

The Firefox fix reasserts that the maximized custom-chrome window is not fullscreen after the relevant window state has been established, including additional Windows shell handling:

mozilla-firefox/firefox@9349836256e5

I cannot determine whether ChatGPT Desktop has exactly the same root cause, but the reproduction pattern is strikingly similar:

  • Only occurs in the native maximized state.
  • Auto-hide mouse edge activation stops working.
  • Ctrl+Esc still reveals the taskbar immediately.
  • Restoring the window fixes the problem.

It may therefore be useful to check whether ChatGPT Desktop's custom titlebar / maximization path causes Windows fullscreen detection to change, or whether it bypasses or invalidates Chromium's existing auto-hide taskbar handling.

Related OpenAI issue:

#36594
"Windows taskbar with auto-hide overlaps the bottom of the Codex composer"
#36594

That issue appears related to maximized-window/taskbar handling, but its failure mode is different. In this case the auto-hidden taskbar cannot be revealed at all using the mouse while ChatGPT Desktop is maximized.

Activity

  1. added
    app
    on Sep 14, 2026
  2. added
    bug
    windows-os
    on Sep 14, 2026
  3. aoaoaoao-wu commented on Oct 10, 2026

    @aoaoaoao-wu

    Additional reproduction on Codex desktop app 26.1007.21434 (build 13901), MSIX package OpenAI.Codex 26.1007.2314.0, on Windows 11 Pro 25H2, build 26200.9457, x64.

    The same symptom occurs with a bottom, automatically hidden taskbar and a 2560 × 1600 display: while the app is natively maximized, moving the pointer to the bottom screen edge does not reveal the taskbar, and the pointer becomes a vertical window-resize cursor. Restoring and maximizing again did not resolve it. The user first noticed this after updating, but the previous installed version was not recorded, so the exact regression range is unknown.

    Native window observations

    Measurements were made from a per-monitor-DPI-aware diagnostic thread:

    • IsZoomed(app HWND) = true.
    • App window rectangle: (0,0)-(2560,1600).
    • Hidden Shell_TrayWnd rectangle: (0,1598)-(2560,1680).
    • Taskbar automatic hiding was enabled.
    • Neither the app nor the taskbar had WS_EX_TOPMOST.
    • WindowFromPoint at (10,1599), (1280,1599), and (2550,1599) returned the app's Chrome_WidgetWin_1 window owned by ChatGPT.exe, instead of the Explorer taskbar.

    Workaround and measured result

    Setting the taskbar topmost alone did not persist or restore edge hit testing. Refreshing the taskbar's automatic-hide state also did not resolve it.

    The following combination restored taskbar ownership of the bottom edge:

    1. SetProp(app HWND, L"NonRudeHWND", (HANDLE)TRUE).
    2. ITaskbarList2::MarkFullscreenWindow(app HWND, FALSE).
    3. Restore the taskbar topmost with SetWindowPos, using no-move, no-size, and no-activate flags.

    Afterwards, the app remained maximized, automatic hiding remained enabled, the taskbar had WS_EX_TOPMOST, and all three WindowFromPoint samples returned Explorer taskbar windows (Shell_TrayWnd, MSTaskSwWClass, or TrayNotifyWnd).

    This verifies the native layer/hit-test change; an automated end-to-end hover/animation test was not performed. No app binary was modified.

    This supports the fullscreen-misclassification hypothesis already discussed in this issue, but is not a confirmed diagnosis of a particular app source-code path. Microsoft documents NonRudeHWND as preventing automatic fullscreen classification:
    https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist2-markfullscreenwindow

    The property is per-window and disappears when the window is recreated, so a local workaround has to reapply it. Please investigate the maximized/custom-frame and auto-hidden-taskbar integration while preserving intentional fullscreen behavior.

    Submitted with the user's authorization. No private conversation transcript, account/machine identifiers, raw application logs, or screenshots are included.

  4. newakuma commented on Oct 14, 2026

    @newakuma

    no-active-thread-01a13b24-591d-7970-babd-aa2a5615265f
    same here

  5. s-huangze commented on Oct 14, 2026

    @s-huangze

    Adding another occurrence of this issue on October 14, 2026.

    With the Windows taskbar set to auto-hide, maximizing Codex and moving the pointer to the bottom screen edge does not reveal the taskbar. The pointer changes to a vertical resize cursor at the bottom edge even though Codex is maximized.

    The taskbar reveals normally with other apps maximized. Restarting Codex did not resolve the problem.

    Environment

    • Windows 11 Home, OS version 10.0.26200 (build 26200).
    • App version 26.1007.71326, build 20398, production channel, as reported by the app updater.
    • Installed Windows package version: OpenAI.Codex 26.1007.9446.0.
    • The app updater reports that the installed app is up to date.

    Expected: Hovering at the bottom screen edge reveals the auto-hidden taskbar while Codex is maximized.

    These symptoms were reported by the affected user; app and OS versions were checked locally. The root cause has not been established.

  6. Krsmqn commented on Oct 15, 2026

    @Krsmqn

    Additional reproduction/workaround detail for the Windows taskbar issue:

    When ChatGPT is maximized and prevents an auto-hidden Windows taskbar from appearing, going to View → Toggle Full Screen, then repeating View → Toggle Full Screen to exit full screen restores normal taskbar behavior while leaving ChatGPT effectively maximized.

    After doing this, switching to another application and then returning to ChatGPT does not break the workaround; the taskbar continues to appear normally. However, if ChatGPT is minimized and then restored/maximized, the problem returns and the full-screen toggle sequence has to be repeated.

    This may help narrow the bug down to the window state handling during maximize/minimize/restore, since entering and exiting full screen appears to reset the window/taskbar state correctly.

  7. Anonymous-1028 commented on Oct 19, 2026

    @Anonymous-1028

    Additional occurrence reported on October 19, 2026, with Windows desktop package OpenAI.Codex 26.1013.4894.0 (the application window is titled ChatGPT).

    User-reported behavior and reproduction

    1. Enable automatic hiding of the Windows taskbar at the bottom of the screen.
    2. Open ChatGPT Desktop and maximize its window.
    3. Move the pointer to the very bottom screen edge.
    4. The taskbar does not appear, and the pointer becomes a vertical resize cursor.

    Expected: hovering at the bottom edge should reveal the auto-hidden taskbar while the application remains maximized.

    Environment checked locally

    • Windows 11 Pro 25H2, OS build 26200.9457.
    • Installed MSIX package: OpenAI.Codex 26.1013.4894.0, x64.
    • Display containing the application: 2560 × 1440.
    • Taskbar automatic hiding is enabled.

    Native window measurements

    The application was briefly maximized for measurements and then returned to its original restored size. The diagnostic thread used per-monitor DPI awareness.

    • IsZoomed(app HWND) = true.
    • Application window rectangle: (0,0)-(2560,1440).
    • Monitor rectangle and reported work area: (0,0)-(2560,1440).
    • ABM_GETSTATE returned ABS_AUTOHIDE.
    • ABM_GETAUTOHIDEBAREX for the bottom edge returned the Explorer taskbar window.
    • Hidden taskbar rectangle: (0,1438)-(2560,1510).
    • Sending WM_NCHITTEST to the main application window at (1280,1439), the last screen row, returned 15 / HTBOTTOM. One row above, (1280,1438), it returned 1 / HTCLIENT.
    • At the last screen row near the left and right corners, the application returned HTBOTTOMLEFT and HTBOTTOMRIGHT.

    These resize-border responses from a maximized window are consistent with the reported cursor appearance, but do not establish the root cause. In this measurement, WindowFromPoint at the bottom edge returned Explorer taskbar windows/children, so it would be premature to conclude from the direct application hit tests alone that the application owns all mouse input there.

    The taskbar failure and cursor appearance were reported by the affected user. Automated pointer hovering/animation verification was not performed, and no fix has been verified on this installation. Please investigate maximized-window edge handling and integration with the auto-hidden taskbar.

    This adds a newer affected package version and native measurements to the existing report.

  8. Raichu13 commented on Oct 23, 2026

    @Raichu13

    same bug so frustrating

    Windows: auto-hidden taskbar does not appear when Codex is maximized

    Environment

    • Application: Codex desktop app for Windows
    • Codex version: 26.1016.62342
    • Build: 21477
    • OS: Windows 11 25H2, x64, build 26200.9711
    • Windows taskbar: positioned at the bottom, automatic hiding enabled

    Description

    When Codex is maximized, moving the mouse pointer to the bottom edge of the screen does not reveal the automatically hidden Windows taskbar.

    The same gesture works normally with maximized File Explorer and browser windows on the same computer.

    Steps to reproduce

    1. Enable automatic hiding of the Windows taskbar.
    2. Open the Codex desktop application.
    3. Maximize its window.
    4. Move the mouse pointer to the bottom edge of the screen and wait for the taskbar to appear.
    5. Compare with a maximized File Explorer or browser window.

    Expected behavior

    The taskbar should appear when the pointer reaches the bottom edge, just as it does with other maximized applications.

    Actual behavior

    The taskbar remains hidden while Codex is maximized, preventing access through the normal mouse gesture.

    When it started

    I first noticed this approximately a week ago or possibly earlier. It appears to be a regression, but the exact first affected version is unknown.

    Impact

    This interferes with switching applications and accessing the taskbar while working in maximized Codex.

    Please investigate how the maximized Codex window interacts with Windows taskbar auto-hide and screen-edge activation.

  9. RosuLaurentiu commented on Oct 25, 2026

    @RosuLaurentiu

    Additional verified occurrence on 2026-10-25, with Windows package OpenAI.Codex 26.1021.3705.0, x64, Windows 10.0.26300, and a 2560 × 1440 primary monitor. A second 2560 × 1440 monitor is present to the left.

    The user reports that the auto-hidden taskbar is inaccessible when Codex opens, and that the fault returns both after a full app restart and after minimizing/hiding and showing the window. F11 twice restores taskbar access temporarily.

    Two read-only Win32 snapshots were captured from a per-monitor-DPI-aware diagnostic thread. The user explicitly confirmed the first state was stuck, then pressed F11 twice and confirmed that the taskbar worked again. No programmatic taskbar/window modification was applied.

    Measurement Stuck state, 20:10:11 UTC Working state, 20:11:12 UTC
    Main app HWND/process Same in both samples Same in both samples
    IsZoomed(app) true true
    GetWindowPlacement.showCmd 3 (maximized) 3 (maximized)
    App window rectangle (0,0)–(2560,1440) unchanged
    App DWM extended frame rectangle (0,0)–(2560,1438) unchanged
    App style / extended style 0x15070000 / 0x00240100 unchanged
    App WS_EX_TOPMOST absent absent
    Primary taskbar extended style 0x00000080 0x00000088
    Primary taskbar WS_EX_TOPMOST absent present
    Root owner returned by WindowFromPoint(1280,1438) ChatGPT.exe / Chrome_WidgetWin_1 explorer.exe / Shell_TrayWnd
    Hidden primary taskbar rectangle (0,1438)–(2560,1486) unchanged
    Taskbar auto-hide enabled enabled

    ABM_GETSTATE returned 1 in both samples. This was used only to establish auto-hide. The topmost comparison above comes from GetWindowLongPtr(GWL_EXSTYLE), not from the absence of ABS_ALWAYSONTOP in ABM_GETSTATE (Microsoft documents that this older return bit is no longer used on Windows 7+).

    The secondary taskbar retained WS_EX_TOPMOST and owned its bottom-edge test point in both snapshots.

    The saved desktop window state contains normal restore bounds and isMaximized: true. The installed restore path reads this maximized flag and calls maximize(); the inspected persistence path does not save a full-screen flag. There is no evidence here of a corrupted saved full-screen setting.

    This comparison establishes a taskbar window-order and edge-hit-test difference, with unchanged app geometry, across the user's F11 recovery. It does not yet prove which Codex/Electron/Windows code path demotes the primary taskbar or marks the window as full-screen from the shell's perspective. Recurrence after restart/minimize/restore is user-reported; the captured before/after pair directly verifies the F11 recovery.

    Please include restore/show/minimize and initial saved-maximized launch paths in the regression coverage. A lasting fix should preserve normal auto-hide edge activation across these transitions without requiring repeated F11 toggles or changing the user's taskbar preference.

    This is separate from the backend runtime conflict reported in #56950, which was corrected locally and has not recurred in the inspected session. No raw config, private paths, full logs, or conversation transcript is attached.

  10. Jazzwind commented on Oct 26, 2026

    @Jazzwind

    I can reproduce this on Windows 11 with Codex 26.1021.31345 (Build 21828).

    With taskbar auto-hide enabled and Codex maximized, moving the pointer to the bottom screen edge does not reveal the taskbar. Instead, the pointer changes to a vertical resize cursor.

    An additional observation: holding the left mouse button at that edge and dragging upward actually shrinks the window, despite it having been maximized.

    Restoring and maximizing the window again, as well as quitting and relaunching Codex, did not resolve the issue. Maximized File Explorer and Chrome reveal the taskbar normally under the same Windows settings.

    I originally reported this in #57008 and am closing that report as a duplicate to consolidate tracking here. The root cause has not been established.

  11. el-pandor commented on Oct 26, 2026

    @el-pandor

    Same issue on version 26.1021.31345.

    This is really annoying.

  12. JasonBunting commented on Oct 27, 2026

    @JasonBunting

    Yep, this is shite.
    Windows 10 Pro (22H2)
    OS Build 19045.6466

  13. RosuLaurentiu commented on Oct 28, 2026

    @RosuLaurentiu

    Follow-up: the auto-hidden taskbar still fails to appear with Codex normally maximized after turning off “Translucent sidebar” and fully restarting the app. Disabling that setting did not fix the problem. The exact code cause remains unconfirmed.

  14. krwhiteman commented on Oct 30, 2026

    @krwhiteman

    I can reproduce this issue in the ChatGPT desktop application on Windows 11. And it has been going on for quite a while. Just assumed it was something like a setting in ChatGPT or another issue on my end that I'd eventually need to address.

    Additional testing:

    • Win+T successfully reveals the taskbar.
    • Pressing Win or Ctrl+Esc also reveals the taskbar.
    • Restoring the ChatGPT window allows the taskbar to reveal normally when hovering at the bottom edge.
    • Manually resizing the restored window to occupy essentially the entire screen also preserves normal taskbar auto-hide functionality.
    • Re-maximizing ChatGPT immediately breaks mouse-triggered taskbar reveal again.
    • Disabling and re-enabling taskbar auto-hide does not resolve the problem.
    • Multiple Windows restarts have not resolved the issue.

    This appears specifically tied to the application's maximized window state, rather than its dimensions or Windows' auto-hide setting.

    The current keyboard workarounds are functional, but inconvenient during normal desktop use.

  15. el-pandor commented on Oct 31, 2026

    @el-pandor

    I can't believe such a basic bug hasn't been addressed already.

  16. JJBNICE-0712 commented on Nov 4, 2026

    @JJBNICE-0712

    Additional user confirmation on November 4, 2026: with Windows taskbar auto-hide enabled, maximizing Codex prevented the taskbar from appearing when hovering at the bottom edge, and the pointer changed to a vertical resize cursor. Other maximized applications worked normally.

    Pressing F11 twice in quick succession restored normal mouse-triggered taskbar access. The affected user explicitly confirmed that the workaround resolved the symptom on their machine.

    This confirms the previously reported F11 workaround; persistence after minimizing or restarting has not been tested in this session. App and Windows versions were not collected.

  17. JJBNICE-0712 commented on Nov 4, 2026

    @JJBNICE-0712

    Follow-up to my previous confirmation: after the F11-twice workaround restores normal taskbar access, restoring the Codex window from maximized to a normal window and then maximizing it again makes the issue recur. Mouse hovering at the bottom edge again fails to reveal the auto-hidden Windows taskbar.

    The affected user explicitly confirmed this restore → maximize recurrence. The F11 workaround therefore does not persist across that window-state transition.

  18. ramunas-cvirka commented on Nov 7, 2026

    @ramunas-cvirka

    Confirmed on OpenAI.Codex 26.1103.4239.0 on Windows, with a 2560×1440 primary display and the bottom taskbar set to auto-hide.

    Live Win32 measurements while reproducing:

    • Foreground process: ChatGPT
    • Native maximized state: IsZoomed = true
    • Codex window rect: (0,0) → (2560,1440)
    • Auto-hidden taskbar rect: (0,1439) → (2560,1487)
    • ABM_GETSTATE reports taskbar auto-hide enabled
    • Codex is not WS_EX_TOPMOST

    Moving the pointer to the bottom edge did not reveal the taskbar while Codex had focus. Other applications revealed it normally.

    Additional behavior: after restoring Codex, IsZoomed became false, but the restored window retained a full-screen-sized rect of (0,0) → (2564,1440), so the taskbar still could not be revealed. Manually dragging the Codex bottom border upward by a few pixels immediately restored normal taskbar edge activation.

    This suggests both the native maximized geometry and the persisted restored-window geometry can cover/interfere with the taskbar's one-pixel activation strip. Workaround confirmed: resize the restored window so its bottom edge ends above the display edge.

  19. diodiogod commented on Nov 10, 2026

    @diodiogod

    I'm also affected on Windows 10 Pro, version 10.0.19045, x64, with installed Windows package OpenAI.Codex 26.1103.4239.0 and a 3840 × 2160 display. With the bottom taskbar set to auto-hide, moving the mouse to the bottom edge does not reveal it while Codex is maximized.

    Working temporary workaround: AutoHotkey v2

    A small AutoHotkey helper restored normal mouse-triggered taskbar access for me. It checks the foreground window every 250 ms and, when Codex is maximized, restores it to a nearly screen-sized normal window, leaving 4 physical pixels clear at the bottom. Maximizing it again reapplies that layout.

    The helper checks the Codex installation path as well as the executable name, since this package currently runs as ChatGPT.exe. It leaves smaller windows and minimized windows alone and waits until the left mouse button is released before correcting the layout.

    On my setup, the measured window rectangle changed from (0,0)–(3840,2160), maximized, to (0,0)–(3840,2156), normal. I confirmed that hovering at the bottom edge actually reveals the taskbar afterward. Repeated maximizing, manual resizing to a smaller window, and minimizing were also checked.

    This is a band-aid: it trades native maximization for a large normal window, a small bottom gap, and a background helper. It does not fix the app's window/taskbar integration or establish its root cause. It does not change the app files or Windows taskbar settings.

    How to use it

    1. Use AutoHotkey v2 (the script is not for v1).
    2. Save the code below as CodexTaskbarFix.ahk in a writable folder, then run it with AutoHotkey v2.
    3. Maximize Codex normally. The helper should resize it within about 250 ms after you release the mouse.
    4. Right-click its tray icon, labeled Codex Taskbar Fix, to pause it, change the gap, enable Start at sign-in, or exit. Gap changes take effect on the next maximize at the latest. Starting at sign-in is optional.

    To remove it, uncheck Start at sign-in, exit the helper, and delete its folder. This targets the current Codex installation layouts; the path check may need updating if a future version changes those layouts. The verified result is on the setup above; true in-app fullscreen behavior has not been validated.

    AutoHotkey v2 script — the same helper used for this workaround
    #Requires AutoHotkey v2.0
    #SingleInstance Off
    
    ; Only the Codex desktop package is eligible. No keys, hooks, or app files change.
    global StopEventName := "Local\CodexTaskbarFix.Stop"
    if A_Args.Length && A_Args[1] = "--stop" {
        event := DllCall("OpenEventW", "uint", 2, "int", false, "str", StopEventName, "ptr")
        if event {
            DllCall("SetEvent", "ptr", event)
            DllCall("CloseHandle", "ptr", event)
        }
        ExitApp()
    }
    if A_Args.Length && A_Args[1] = "--validate"
        ExitApp()
    
    global InstanceMutex := DllCall("CreateMutexW", "ptr", 0, "int", false,
        "str", "Local\CodexTaskbarFix.Instance", "ptr")
    if !InstanceMutex || A_LastError = 183
        ExitApp()
    global StopEvent := DllCall("CreateEventW", "ptr", 0, "int", true, "int", false,
        "str", StopEventName, "ptr")
    if !StopEvent
        ExitApp(1)
    DllCall("ResetEvent", "ptr", StopEvent)
    
    global SettingsPath := A_ScriptDir "\settings.ini"
    global GapPixels := Max(2, Min(32, Integer(IniRead(SettingsPath, "Window", "BottomGapPixels", 4))))
    global StartupLink := A_Startup "\Codex Taskbar Fix.lnk"
    global CorrectionPaused := false
    global LastErrorMessage := ""
    global GapMenu := Menu()
    
    A_IconTip := "Codex Taskbar Fix - keeps the bottom edge clear"
    A_TrayMenu.Delete()
    A_TrayMenu.Add("Pause window correction", TogglePause)
    A_TrayMenu.Add("Start at sign-in", ToggleStartup)
    for pixels in [2, 4, 8, 12]
        GapMenu.Add(pixels " pixels", SetGap.Bind(pixels))
    A_TrayMenu.Add("Bottom gap", GapMenu)
    A_TrayMenu.Add()
    A_TrayMenu.Add("Open helper folder", (*) => Run(A_ScriptDir))
    A_TrayMenu.Add("Exit", (*) => ExitApp())
    RefreshMenu()
    OnExit(Cleanup)
    SetWinDelay(-1)
    SetTimer(CheckWindow, 250)
    CheckWindow()
    Persistent(true)
    
    CheckWindow() {
        global CorrectionPaused, StopEvent, GapPixels, LastErrorMessage
        if DllCall("WaitForSingleObject", "ptr", StopEvent, "uint", 0) = 0
            ExitApp()
        ; Wait for title-bar drags and resizing to finish. Never unminimize a window.
        if CorrectionPaused || GetKeyState("LButton", "P")
            return
        previousDpi := DllCall("SetThreadDpiAwarenessContext", "ptr", -4, "ptr")
        try {
            hwnd := WinExist("A")
            if !hwnd || !IsCodexWindow(hwnd) || WinGetMinMax(hwnd) = -1
                return
            monitor := GetMonitorBounds(hwnd)
            WinGetPos(&x, &y, &width, &height, hwnd)
            maximized := WinGetMinMax(hwnd) = 1
            coversMonitor := x <= monitor.left + 1 && y <= monitor.top + 1
                && x + width >= monitor.right - 1 && y + height >= monitor.bottom - 1
            if !maximized && !coversMonitor
                return
    
            ; Capture the monitor before restoring: the old restore rectangle may
            ; belong to a different display. Keep the entire input rectangle off
            ; the bottom strip, including invisible resize borders.
            if maximized
                WinRestore(hwnd)
            bottom := Min(monitor.workBottom, monitor.bottom - GapPixels)
            WinMove(monitor.workLeft, monitor.workTop,
                monitor.workRight - monitor.workLeft, bottom - monitor.workTop, hwnd)
        } catch Error as err {
            ; Closing/changing a window during a timer tick is normal. Log each
            ; distinct error once rather than showing a dialog or growing a log.
            if err.Message != LastErrorMessage {
                LastErrorMessage := err.Message
                try FileAppend(FormatTime(, "yyyy-MM-dd HH:mm:ss") " " err.Message "`n",
                    A_ScriptDir "\errors.log", "UTF-8")
            }
        } finally {
            if previousDpi
                DllCall("SetThreadDpiAwarenessContext", "ptr", previousDpi, "ptr")
        }
    }
    
    IsCodexWindow(hwnd) {
        processName := WinGetProcessName(hwnd)
        if !RegExMatch(processName, "i)^(ChatGPT|Codex)\.exe$")
            return false
        if WinGetClass(hwnd) != "Chrome_WidgetWin_1" || (WinGetExStyle(hwnd) & 0x80)
            return false
        if DllCall("GetWindow", "ptr", hwnd, "uint", 4, "ptr")
            return false
        path := WinGetProcessPath(hwnd)
        return RegExMatch(path,
            "i)\\OpenAI\.Codex_[^\\]+\\app\\(ChatGPT|Codex)\.exe$")
            || RegExMatch(path, "i)\\OpenAI\\Codex\\(?:app\\)?(ChatGPT|Codex)\.exe$")
    }
    
    GetMonitorBounds(hwnd) {
        handle := DllCall("MonitorFromWindow", "ptr", hwnd, "uint", 2, "ptr")
        info := Buffer(40, 0)
        NumPut("uint", 40, info)
        if !DllCall("GetMonitorInfoW", "ptr", handle, "ptr", info)
            throw OSError()
        return {left: NumGet(info, 4, "int"), top: NumGet(info, 8, "int"),
            right: NumGet(info, 12, "int"), bottom: NumGet(info, 16, "int"),
            workLeft: NumGet(info, 20, "int"), workTop: NumGet(info, 24, "int"),
            workRight: NumGet(info, 28, "int"), workBottom: NumGet(info, 32, "int")}
    }
    
    TogglePause(*) {
        global CorrectionPaused
        CorrectionPaused := !CorrectionPaused
        RefreshMenu()
    }
    
    ToggleStartup(*) {
        global StartupLink
        if FileExist(StartupLink)
            FileDelete(StartupLink)
        else
            FileCreateShortcut(A_AhkPath, StartupLink, A_ScriptDir,
                '"' A_ScriptFullPath '"', "Keep Codex large while leaving the taskbar edge accessible")
        RefreshMenu()
    }
    
    SetGap(pixels, *) {
        global GapPixels, SettingsPath
        GapPixels := pixels
        IniWrite(pixels, SettingsPath, "Window", "BottomGapPixels")
        RefreshMenu()
        ; Apply a changed gap only to a foreground Codex window that was already
        ; using the previous near-screen-sized layout; leave small windows alone.
        hwnd := WinExist("A")
        if hwnd && IsCodexWindow(hwnd) {
            WinGetPos(&x, &y, &w, &h, hwnd)
            monitor := GetMonitorBounds(hwnd)
            if w >= (monitor.right - monitor.left) * 0.95
                && h >= (monitor.bottom - monitor.top) * 0.95 {
                WinMaximize(hwnd)
                CheckWindow()
            }
        }
    }
    
    RefreshMenu() {
        global CorrectionPaused, StartupLink, GapPixels, GapMenu
        if CorrectionPaused
            A_TrayMenu.Check("Pause window correction")
        else
            A_TrayMenu.Uncheck("Pause window correction")
        if FileExist(StartupLink)
            A_TrayMenu.Check("Start at sign-in")
        else
            A_TrayMenu.Uncheck("Start at sign-in")
        for pixels in [2, 4, 8, 12] {
            if pixels = GapPixels
                GapMenu.Check(pixels " pixels")
            else
                GapMenu.Uncheck(pixels " pixels")
        }
    }
    
    Cleanup(*) {
        global InstanceMutex, StopEvent
        DllCall("CloseHandle", "ptr", StopEvent)
        DllCall("CloseHandle", "ptr", InstanceMutex)
    }
  20. justelson commented on Nov 11, 2026

    @justelson

    damn codex team where are you this is really annoying

  21. Voyz commented on Nov 11, 2026

    @Voyz

    Pressing F11 twice fixes it

  22. justelson commented on Nov 11, 2026

    @justelson

    it doesnt, work on my side

  23. DanDG923 commented on Nov 17, 2026

    @DanDG923

    Clearing the Windows Shell’s full-screen flag on the ChatGPT main window made the auto-hidden taskbar open on hover while ChatGPT stayed maximised. Minimising and restoring the window brought the failure back.

    • ChatGPT desktop package OpenAI.Codex version 26.1111.2228.0
    • Windows 11 build 26300.9974, tested on 17 November 2026
    • Two displays, each 3840 × 2160 physical pixels at 150% scaling, with the primary on the right
    • Bottom taskbar set to auto-hide on both displays

    I tested on the primary display. All coordinates below are physical desktop pixels. Right and bottom edges are exclusive.

    Region Left Top Right Bottom
    ChatGPT outer window 0 0 3840 2160
    ChatGPT client area and visible DWM frame 0 0 3840 2158
    Explorer taskbar fully open after the Shell call 0 2088 3840 2160
    1. ChatGPT had focus, IsZoomed(hwnd) returned true and its always-on-top flag (WS_EX_TOPMOST) was clear. The hidden taskbar started at y = 2158, exactly where the visible app frame ended. At (1920, 2159), the hit test returned ChatGPT and the taskbar stayed hidden.
    2. I called ITaskbarList2::MarkFullscreenWindow(hwnd, FALSE) on the main window. The hit test at the same point immediately returned Explorer’s taskbar. Hovering there opened it to its full height of 72 physical pixels. ChatGPT kept focus and stayed maximised, with the same window bounds. The NonRudeHWND property was absent before the call and I did not set it.
    3. I minimised and restored ChatGPT. Hovering at the same point failed again. Reapplying the call restored taskbar access.

    The call alone corrected this instance. The test did not establish how the Shell reached its original state. Microsoft documents how clearing the flag interacts with the Shell’s automatic full-screen detection.

    Check whether the app marks the window full-screen, or leaves an earlier marking in place, when showing or restoring a normally maximised window. Scope any change to normal maximise and restore so intentional full-screen mode retains its behaviour. For a regression test, minimise and restore the window, move the pointer to the last physical row, and verify that Explorer receives the hit and the taskbar opens while IsZoomed(hwnd) remains true. Comparing window bounds alone would miss this failure.

  24. Cincy-Web-Dev commented on Nov 20, 2026

    @Cincy-Web-Dev

    I can confirm that I'm experiencing this same issue with the new ChatGPT desktop interface on Windows 11.

    I recently switched from the Classic interface to the new interface, and immediately noticed that my auto-hidden Windows taskbar would no longer appear when moving my mouse to the bottom of the screen.

    Pressing the Windows key brings up the Start menu and taskbar normally, so the taskbar itself is functioning.

    Minimizing, restoring, and maximizing the ChatGPT window did not resolve the problem.

    I did find a working temporary solution:

    1. Open the View menu.
    2. Select Toggle Full Screen.
    3. Select Toggle Full Screen a second time to exit fullscreen.
    4. Move the mouse to the bottom edge of the screen.

    After doing this, the taskbar appears normally again.

    However, this should not be necessary every time the application is opened. The new interface should respect Windows 11's auto-hide taskbar settings without requiring manual intervention.

    Please investigate a permanent fix, as this significantly affects everyday usability.

  25. kkskaguya commented on Nov 28, 2026

    @kkskaguya

    I can reproduce this in Codex on Windows with taskbar auto-hide enabled. After I click the maximize button, moving the mouse to the bottom edge no longer reveals the taskbar. Pressing F11 twice temporarily restores it, but the issue returns when I restore the window and maximize it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions