[PR #10147] Fix profile selection upon discarding changes in SUI #27930

Open
opened 2026-01-31 09:25:12 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10147

State: closed
Merged: Yes


PR Checklist

Detailed Description of the Pull Request / Additional comments

  • Preserve profile GUID upon item Tag creation.
  • Use this GUID rather than the current profile GUID to select an item
    upon settings update.

So even if the profile was renamed and the GUID has changed,
the GUID in the tag remains unchanged and can be found
upon discarding.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/10147 **State:** closed **Merged:** Yes --- ## PR Checklist * [x] Closes https://github.com/microsoft/terminal/issues/8881 * [x] CLA signed. * [ ] Tests added/passed * [ ] Documentation updated. * [ ] Schema updated. * [ ] I've discussed this with core contributors already. ## Detailed Description of the Pull Request / Additional comments * Preserve profile GUID upon item Tag creation. * Use this GUID rather than the current profile GUID to select an item upon settings update. So even if the profile was renamed and the GUID has changed, the GUID in the tag remains unchanged and can be found upon discarding.
claunia added the pull-request label 2026-01-31 09:25:12 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27930