-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buggy title bar appears in focus mode after long uptime #16221
Comments
Related: #16211 |
Sometimes, the "not last" Settings menus will not crash. |
The settings thing is definitely separate bug from the focus mode ones. I'll try and narrow this thread down to just the focus mode ones. I bet it's a pretty similar root cause though. Some sort of leftover state from the refrigeration/reheat. |
That would track with my refrigeration assumption. That was introduced in #15424 |
Thanks for the updates. I ran procmon and spy++ and a few other tools but didn't see any obvious difference between Windows, plus I need to get back to work. Using the info in this thread, it's now quite easy to repro: open two windows, close one, open another. Also, on one occasion, there were two "Settings" selections and both worked. In any case, you definitely have a much better idea of what is occurring and how to remedy, so I'll bow out. Let me know if I can do anything else to help/test. (I believe the other thread states this doesn't affect Windows 11 at all. I definitely appreciate the work keeping Terminal functional on older platforms. I have 10 at work and 11 at home, and I'm really much happier with 10 for a very large variety of rather small reasons.) |
FWIW, I'm experiencing this randomly with a uptime of <6,5 hours. I was trying to reproduce it with PowerShell and a clean settings.json, but couldn't get it. With WSL profile I have it every day and can reproduce more easily by opening a few instances. Windows 10 as well. |
Windows Terminal version
1.19.2682.0
Windows build number
10.0.19045.3570
Other Software
No response
Steps to reproduce
Expected Behavior
No title bar in focus mode
Actual Behavior
Title bar appears in focus mode—sporadically and after a long system uptime and resource usage.
The window cannot be dragged using the title bar, but the buttons (min/max/close) still function as expected. There are no tabs or text in the title bar.
Currently, I'm at 3:23:14:42 uptime after waking, vmmem was at 5.5 GB. (After the first crash, it is at 3.8 GB.) If I run a handful of wasteful tasks to run up resource usage (e.g. multiple ripgreps in Win command prompt and WSL at the same time) I can exceed 6 GB usage but this doesn't cause the title bar to appear in newly opened terminal processes.
This seems to be a problem independent of profile and other processes. I can run
wt cmd
and a title bar is there, thenwt ubuntu
and it's there, thenwt powershell
and it's no longer there, even though the other terminal processes are still open.Restarting Windows will restore the expected behavior: no title bar
(update: unrelated to PID stored in a 16-bit variable; problem exists while all PIDs are under 23000)
The text was updated successfully, but these errors were encountered: