microsoft / microsoft/terminal

Terminal does not come to foreground to present the "Do you want to close all tabs?" dialog

Open
#12,605 7 comments 0 reactions 0 assignees View on GitHub
Area-Windowing Help Wanted In-PR Issue-Task Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.12.10393.0

### Windows build number

10.0.22000.493

### Other Software

_No response_

### Steps to reproduce

1) Open Terminal
2) Open a second tab
3) Minimize Terminal
4) Right click Terminal on the taskbar and select "Close all Windows"

This _might_ be a bigger issue than just Terminal. I recall mspaint doing this, but it doesn't anymore. Notepad does properly reappear out of nowhere to ask me to save my work, so it does seem _possible_.

### Expected Behavior

Terminal opens and comes to foreground to present the "Do you want to close all tabs?" dialog

### Actual Behavior

Nothing happens. Presumably the dialog shows but restoring the window closes the dialog, so I never see it.

Contributor guide

Open the contributing guide

Research direction

Reproduce the Windows Terminal 1.12.10393.0 behavior using the listed steps, especially minimizing the window before choosing “Close all Windows” from the taskbar. Trace the close-all handling and window activation behavior; done means the confirmation dialog is visible in the foreground instead of disappearing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, 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.