Canary [regression] Trouble with close detached window #22837

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

Originally created by @Zeroes1 on GitHub (Feb 2, 2025).

Windows Terminal version

terminal-1.23.10311.0

Windows build number

10.0.19045.5371

Other Software

No response

Steps to reproduce

start WT with default config

add new window powershell
detach this window
try to close window

  1. by mouse [click to cross]
  2. alt+f4
  3. ctrl+shift+w

Expected Behavior

terminal-1.23.3461.0 - latest good version

child process (of detached window)
OpenConsole.exe
powershell.exe
closed

Actual Behavior

terminal-1.23.3481.0 - with trouble
...
terminal-1.23.10311.0 - latest canary with trouble

detached window is gone, but if look process manager we see what exist:
OpenConsole.exe
powershell.exe
of detached and closed window :)

If try close detached window with internal command: ( exit [+ enter] for powershell/cmd, F10 for Far Manager)
the associated processes [OpenConsole.exe + powershell.exe/cmd.exe/Far.exe] will be closed normally.

The problem is reproduced 100%.

I think the nature of non-closure of processes is related
https://github.com/microsoft/terminal/issues/18473

both problem start with terminal-1.23.3481.0 canary

Originally created by @Zeroes1 on GitHub (Feb 2, 2025). ### Windows Terminal version terminal-1.23.10311.0 ### Windows build number 10.0.19045.5371 ### Other Software _No response_ ### Steps to reproduce start WT with default config add new window powershell detach this window try to close window 1) by mouse [click to cross] 2) alt+f4 3) ctrl+shift+w ### Expected Behavior terminal-1.23.3461.0 - latest good version child process (of detached window) OpenConsole.exe powershell.exe closed ### Actual Behavior terminal-1.23.3481.0 - with trouble ... terminal-1.23.10311.0 - latest canary with trouble detached window is gone, but if look process manager we see what exist: OpenConsole.exe powershell.exe of detached and closed window :) If try close detached window with internal command: ( exit [+ enter] for powershell/cmd, F10 for Far Manager) the associated processes [OpenConsole.exe + powershell.exe/cmd.exe/Far.exe] will be closed normally. The problem is reproduced 100%. I think the nature of non-closure of processes is related https://github.com/microsoft/terminal/issues/18473 both problem start with terminal-1.23.3481.0 canary
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 08:24:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22837