microsoft / microsoft/terminal
Sometimes the entire app freezes partway
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.23.12371.0
Windows build number
10.0.26100.5074
Other Software
No response
Steps to reproduce
Upgrade to specified version. Not sure of exact reproduction steps. But a 95% similar situation seems to be always reproducible by:
- Open the first window.
- Close the first window. Note that WindowsTerminal.exe remains running.
- Open the app again, creating the second window.
- Hit Ctrl-Shift-N to create the third window.
- Close the second window.
- The third window becomes partially unresponsive - not quite the same way as I've encountered "normally", as the actual 'terminal' area still remains responsive when doing these steps, but otherwise the same symptoms apply (titlebar stops redrawing, Ctrl-Shift-N opens completely blank windows, etc).
Expected Behavior
It shouldn't do that.
Actual Behavior
At seemingly random times, the terminal window freezes. More precisely, it stops redrawing, but Windows doesn't consider it frozen (e.g. the , and it actually still reacts to input:
- I can still drag windows by their titlebar, resize them (but the contents don't redraw), and click where the 'Close' button ought to be (and the window closes, but WindowsTerminal.exe does not exit),
- I can tear out tabs blindly, but the torn-off window remains blank (only background color),
- pressing e.g. Ctrl-Shift-N (the "open a new window" hotkey) indeed opens a new window (but that window only draws the background color (+ border) and nothing else, it does not fork a powershell.exe process).
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
Start by reproducing the reported sequence in Windows Terminal: close and reopen windows, create a third with Ctrl-Shift-N, then close the second window. Observe WindowsTerminal.exe, titlebar redraw, torn-out tabs, and newly opened windows; done means the freeze and blank-window behavior are understood and no longer occurs in this scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100