Crash in main when saving any setting with SUI #13820

Closed
opened 2026-01-31 03:53:02 +00:00 by claunia · 2 comments
Owner

Originally created by @PankajBhojwani on GitHub (May 17, 2021).

Windows Terminal version (or Windows build number)

main

Other Software

N/A

Steps to reproduce

Note, this is separate from #10003.

Repro:

  1. Open SUI
  2. Click 'Save'
  3. Crash

Did some digging and it seems that we have an unhandled exception when trying to navigate back to the last selected item in the SUI (in MainPage::UpdateSettings, in the SettingsNav().SelectedItem(item) call on lines 139 and 152).

Expected Behavior

No crash

Actual Behavior

Crash

Originally created by @PankajBhojwani on GitHub (May 17, 2021). ### Windows Terminal version (or Windows build number) main ### Other Software N/A ### Steps to reproduce Note, this is separate from #10003. Repro: 1. Open SUI 2. Click 'Save' 3. Crash Did some digging and it seems that we have an unhandled exception when trying to navigate back to the last selected item in the SUI (in `MainPage::UpdateSettings`, in the `SettingsNav().SelectedItem(item)` call on lines 139 and 152). ### Expected Behavior No crash ### Actual Behavior Crash
Author
Owner

@mpela81 commented on GitHub (May 17, 2021):

It seems to happen if you "Discard changes" as well.

@mpela81 commented on GitHub (May 17, 2021): It seems to happen if you "Discard changes" as well.
Author
Owner

@PankajBhojwani commented on GitHub (May 21, 2021):

This was resolved in #10124

@PankajBhojwani commented on GitHub (May 21, 2021): This was resolved in #10124
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13820