Canary [regression] Trouble with close detached window #22840

Closed
opened 2026-01-31 08:24:57 +00:00 by claunia · 2 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:57 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Feb 5, 2025):

Thanks for filing! We're going to mark this as a /duplicate of #18473 since it's related to the non-closure of processes, as you said above.

@carlos-zamora commented on GitHub (Feb 5, 2025): Thanks for filing! We're going to mark this as a /duplicate of #18473 since it's related to the non-closure of processes, as you said above.
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Feb 5, 2025):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@microsoft-github-policy-service[bot] commented on GitHub (Feb 5, 2025): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22840