microsoft / microsoft/terminal
Window width resets to ~153 columns after minimize/restore when width is smaller
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.24.10921.0
### Windows build number
10.0.26200.0
### Other Software
_No response_
### Steps to reproduce
1. Open Windows Terminal
2. Resize the window to a width smaller than ~153 columns (for example, ~100 columns)
(can be verified using `tput cols` in bash or similar command)
3. Minimize the window using:
- the minimize button (-), OR
- clicking the app icon on the taskbar
4. Restore the window
### Expected Behavior
The window should restore to the same width it had before being minimized, preserving the number of columns.
### Actual Behavior
This issue occurs when minimizing either via the minimize button (-) or by clicking the application icon on the taskbar.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce on Windows Terminal 1.24.10921.0 with Windows build 10.0.26200.0, using a window narrower than about 153 columns and both reported minimize methods. Trace the window minimize/restore handling and verify that restoring preserves the pre-minimize column width, such as approximately 100 columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100