microsoft / microsoft/terminal

Opening a new terminal window does not restore the previous window's size and position on the screen

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

Description

### Windows Terminal version

1.13.10395.0

### Windows build number

10.0.19044

### Other Software

_No response_

### Steps to reproduce

1. Open Terminal
2. Resize and reposition window
3. Close window
4. Open Terminal again

### Expected Behavior

Terminal would open the window in the same position and size

### Actual Behavior

The position and size are reset.

Note: I am not referring to session restore on start-up like you'd find in a web browser that can be enabled optionally. I'm referring to regular behaviour that people expect on desktop operating systems. And in particular, this makes it easier to use on smaller screens such as laptops.

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the report. Start by tracing Windows Terminal's window startup and shutdown handling, then reproduce the resize-and-reopen sequence on Windows 10; done means a newly opened Terminal window retains the previous window's size and screen position.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.