[regression] The parent process of WT does not terminate
Windows Terminal version
1.23.12811.0
Windows build number
10.0.19045.3448
Other Software
No response
Steps to reproduce
Run WindowsTerminal.exe (or WT.exe) with default settings (note: work in background mode is OFF)
in Powershell window [default profile] press key 'ContextMenu' on keyboard
in context menu choose 'Close Tab' and click by left key mouse
Expected Behavior
latest good release: terminal-1.22.11751.0 and earler
latest good canary terminal-1.24.531.0 and earler
If we work not in background mode and close Latest Tab, process WindowsTerminal.exe must be closed
Actual Behavior
with trouble release: terminal-1.23.12681.0 terminal-1.23.12811.0
with trouble canary all since terminal-1.24.551.0 -> terminal-1.25.2821.0
check processes in OS, and see what the parent process of WT does not terminate. And we see app with default ico on taskbar Windows.
WT Hotkeys Alt+F4 and Ctrl+Shift+W, work fine, closed all (parent and child processes). command 'exit' in PS windows closed all. closing the last tab by clicking on the window cross also works great.
repro 100%
https://github.com/user-attachments/assets/580c9e1c-abda-4174-969a-2ba958a00d48
I couldn't reproduce the issue:
https://github.com/user-attachments/assets/58ff8062-e738-4cc1-9a50-0de8031eacec
@lhecker I cant watch your video, file damaged?
Maybe you're missing the right codec? Can you try downloading it and playing it in VLC or MPV or similar? Otherwise I'll re-encode it for you, of course.
@lhecker i download, now i see with player.
ok, but i have trouble. checked now on another computer (at home) with Microsoft.WindowsTerminalPreview_1.24.2812.0_x64.zip same behavior :/ win10 22h2 (user admin and limit user)
any idea how to debug this situation?
@lhecker Hi, you check this behavior on Windows 10, right?
I tried it in a VM, and it didn't reproduce:
https://github.com/user-attachments/assets/f49a5f83-c311-43fb-8da1-3689ebf45058