microsoft / microsoft/terminal

Terminal icons stay in the taskbar after closing terminal session

Open
#19,368 4 comments 2 reactions 0 assignees View on GitHub
Issue-Bug Needs-Attention Needs-Triage
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.22.12111.0

### Windows build number

10.0.26100.0

### Other Software

After closing windows terminal, icons stay at taskbar.
Clicking on Windows menu item does not do anything.
App stays in memory for a long time, need to terminate WindowsTerminal processes on taskmanager to make them disappear.

Image

### Steps to reproduce

Open multiple terminal session in one or more windows, close all windows.
Click on taskbar, there is an icon for each window that was open, that when clicked nothing happens.

### Expected Behavior

WindowsTerminal processes terminating after closing all terminal instances using terminal window [x] close button.

### Actual Behavior

Strangely enough, when reopening it always opens an extra powershell window next to another where it restores my previous session in a single window with different instances, one pwsh, one cmd, 3 wsl related sessions.

Image

I usually close the extra pwsh window and keep one open with the multiple sessions on it.
But the icons stay on in the taskbar area, and also when I close the multi session window.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Windows Terminal 1.22.12111.0 on Windows build 10.0.26100.0 by opening multiple sessions, closing all terminal windows, and checking the taskbar and running processes. Done means the closed terminal instances no longer leave taskbar icons or require terminating WindowsTerminal processes manually.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.