-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Deleting all profiles crashes Windows Terminal #13125
Comments
A few quick thoughts...
|
Is this perhaps the same thing as #13017? |
No those are separate issues as far as I can tell. #13017 occurred when you saved your settings and you deleted a profile afterwards. Due to a bug in the UI code it crashed. But I noticed that we also crash if you simply delete all profiles. |
## Summary of the Pull Request When a profile gets deleted, we were navigating to the next item assuming it was a profile when it may not be. This commit fixes this by checking the tag of the next menu item before we navigate to it. ## PR Checklist * [x] Closes #13125 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here ## Validation Steps Performed Deleting the last profile in the SUI doesn't cause a crash
## Summary of the Pull Request When a profile gets deleted, we were navigating to the next item assuming it was a profile when it may not be. This commit fixes this by checking the tag of the next menu item before we navigate to it. ## PR Checklist * [x] Closes #13125 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA * [ ] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. * [x] I work here ## Validation Steps Performed Deleting the last profile in the SUI doesn't cause a crash (cherry picked from commit 4e20a86) Service-Card-Id: 82925050 Service-Version: 1.14
🎉This issue was addressed in #13242, which has now been successfully released as Handy links: |
🎉This issue was addressed in #13242, which has now been successfully released as Handy links: |
Windows Terminal version
1.13.11373.0
Windows build number
No response
Other Software
No response
Steps to reproduce
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: