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
Sometimes windows don't get persisted on a Windows Update #17179
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Yea, again today, I got both windows back, but the buffer state was what it was the previous time I had quit the Terminal. So, whatever happened during the update meant that the Terminal didn't actually persist the buffer. |
I found that this tool can be used for shutdown tests:
For instance: & "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\rmlogotest.exe" (ps -Name WindowsTerminal).Id I couldn't reproduce any issues on the main branch, even with multiple windows that have multiple tabs, and no matter how I re-launched the app. |
tl;dr: handoff doesn't assign a I figured out how to reproduce multiple issues (probably even the issue):
|
So yea here's the thing - defterm wasn't involved (to the best of my knowledge) in my scenario. I almost never open things via defterm anymore - pretty sure Stable is set as my defterm handler. Normally quitting the terminal will persist just fine - there's something specific about updates that makes the terminal not persist the current state of the buffer 🤷 |
v1.21
I've now had a couple days where I've gotten a Windows Update, and came back to the Terminal not quite in the right state as before:
I have a theory that this is somehow related to us not handling
WM_ENDSESSION
post-PMv3 quite right, but that's a guess, not a root cause.The text was updated successfully, but these errors were encountered: