[1.22] Terminal stops functioning after closing last window with "compatibility.allowHeadless" enabled and "windowingBehavior" set to "useExisting"/"useAnyExisting" #23192

Open
opened 2026-01-31 08:35:01 +00:00 by claunia · 0 comments
Owner

Originally created by @nickamante on GitHub (Apr 23, 2025).

Originally assigned to: @carlos-zamora on GitHub.

Windows Terminal version

1.22.10730.0

Windows build number

10.0.26100 (Windows 11)
10.0.19045 (Windows 10)

Other Software

No response

Steps to reproduce

  • Enable Settings > Compatibility > Allow Windows Terminal to run in the background
  • Close all existing Terminal windows
  • Attempt to re-launch Terminal (directly via Start > Terminal or via Global Summon hotkey)
    • Terminal does not launch
  • Attempt to launch Command Prompt, Windows Powershell, Powershell 7 (x64)
    • Terminal does not launch; after ~30 seconds the non-terminal version of the app launches.

Expected Behavior

Terminal remains running in the background and launching new Terminal windows continues to work.

Actual Behavior

  • After closing the last window, WindowsTerminal.exe remains running in Task Manager.
  • If Appearance > Always display an icon in the notification area is enabled, left-clicking the icon or right-click Focus Terminal has no effect. Under Windows > the last window to be closed remains listed.
  • New terminal windows will not launch until the WindowsTerminal.exe process is killed in Task Manager.
  • Turning off Allow Windows Terminal to run in the background causes the WindowsTerminal.exe process to exit after the last window is closed and allows re-launch
Originally created by @nickamante on GitHub (Apr 23, 2025). Originally assigned to: @carlos-zamora on GitHub. ### Windows Terminal version 1.22.10730.0 ### Windows build number 10.0.26100 (Windows 11) 10.0.19045 (Windows 10) ### Other Software _No response_ ### Steps to reproduce * Enable `Settings > Compatibility > Allow Windows Terminal to run in the background` * Close all existing Terminal windows * Attempt to re-launch Terminal (directly via Start > Terminal or via Global Summon hotkey) * **Terminal does not launch** * Attempt to launch Command Prompt, Windows Powershell, Powershell 7 (x64) * **Terminal does not launch**; after ~30 seconds the non-terminal version of the app launches. ### Expected Behavior Terminal remains running in the background and launching new Terminal windows continues to work. ### Actual Behavior * After closing the last window, `WindowsTerminal.exe` remains running in Task Manager. * If `Appearance > Always display an icon in the notification area` is enabled, left-clicking the icon or right-click Focus Terminal has no effect. Under `Windows >` the last window to be closed remains listed. * New terminal windows will not launch until the `WindowsTerminal.exe` process is killed in Task Manager. * Turning off `Allow Windows Terminal to run in the background` causes the `WindowsTerminal.exe` process to exit after the last window is closed and allows re-launch
claunia added the Issue-BugNeeds-Tag-FixProduct-TerminalPriority-1Area-Windowing labels 2026-01-31 08:35:01 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23192