Cannot find renamed profile #8881
Labels
Area-Settings UI
Anything specific to the SUI
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Priority-2
A description (P2)
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Milestone
Environment
In a world where #8844 and #8837 are both merged.
Steps to reproduce
Expected behavior
After the changes are discarded, the same profile should still be selected. (If after #8844, the correct pivot should be selected too).
Actual behavior
The profile is not found, and "Startup" page is selected instead.
Additional Comments
Unless a guid is explicitly set for a profile (i.e. in-box profiles), the guid is automatically generated as a function of the profile name and source. Thus, renaming a profile results in changing the guid. Since we use the guid as a unique identifier to find the profile, we can no longer find that profile.
The text was updated successfully, but these errors were encountered: