microsoft / microsoft/terminal
Windows Terminal failed to restore the position in the 2nd or 3rd monitor with maximized window mode.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version (or Windows build number)
1.12.2922.0
### Other Software
_No response_
### Steps to reproduce
Given two or three monitors installed.
1. Primary monitor: 3840x2160
2. Second monitor: 1920x1080
3. Third monitor: 1920x1080
Steps:
1. Move Windows Terminal to secondary monitor with normal size (not maximized), close it and reopen it. Windows Terminal got restored in secondary monitor which is as expected.
2. Move Windows Terminal to secondary monitor with maximized size, close it and reopen it. This time, Windows Terminal windows is restored in the primary monitor instead, with the size of the secondary monitor.
### Expected Behavior
Persist window layout on window close even with maximized window mode.
### Actual Behavior
Windows Terminal windows is restored in the primary monitor instead, with the size of the secondary monitor.
Contributor guide
Research direction
No source file, test, or entry point is named. Start by reproducing the maximized-window case across the described three-monitor setup, then trace how Windows Terminal saves and restores its window position and size. Done means a maximized window reopened on the monitor where it was closed, with the expected layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100