Cannot find renamed profile #12191

Closed
opened 2026-01-31 03:08:27 +00:00 by claunia · 1 comment
Owner

Originally created by @carlos-zamora on GitHub (Jan 25, 2021).

Originally assigned to: @carlos-zamora on GitHub.

Environment

In a world where #8844 and #8837 are both merged.

Steps to reproduce

  1. Open Settings UI
  2. Navigate to a custom profile
  3. Rename the profile
  4. Invoke "discard changes" button

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.

Originally created by @carlos-zamora on GitHub (Jan 25, 2021). Originally assigned to: @carlos-zamora on GitHub. # Environment In a world where #8844 and #8837 are both merged. # Steps to reproduce 1. Open Settings UI 2. Navigate to a custom profile 3. Rename the profile 4. Invoke "discard changes" button # 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.
Author
Owner

@ghost commented on GitHub (May 25, 2021):

:tada:This issue was addressed in #10147, which has now been successfully released as Windows Terminal Preview v1.9.1445.0.🎉

Handy links:

@ghost commented on GitHub (May 25, 2021): :tada:This issue was addressed in #10147, which has now been successfully released as `Windows Terminal Preview v1.9.1445.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.9.1445.0) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12191