microsoft / microsoft/terminal

Subsequent `wt.exe /min` to an existing window restores a minimized window

Open
#18,076 1 comment 0 reactions 0 assignees View on GitHub
Area-Remoting Area-Windowing Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.22.2702.0

### Windows build number

10.0.19045.4894

### Other Software

_No response_

### Steps to reproduce

new console creating wt.exe respects ```/min```
```start /min wt.exe -w exam``` -> new wt, single tab, minimized
```start /min wt.exe -w exam sp``` -> new wt, single tab, minimized, two panes

### Expected Behavior

```
start /min wt.exe -w exam && ^
(echo "sleep 1.0" && ping -n 2 localhost) > NUL && ^
start /min wt.exe -w exam sp
```
-> minimized wt, single tab, two panes

### Actual Behavior

```
start /min wt.exe -w exam && ^
(echo "sleep 1.0" && ping -n 2 localhost) > NUL && ^
start /min wt.exe -w exam sp
```
-> visible wt, single tab, two panes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with the two `start /min wt.exe -w exam` commands on Windows Terminal 1.22.2702.0 and Windows build 10.0.19045.4894. Trace the existing-window handling for `wt.exe -w exam sp`; done means the existing window remains minimized while the second command adds the pane.

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.