[PR #8838] Revert "Maintain current Pivot selection... (#8803)" #27309

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

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

State: closed
Merged: Yes


This reverts commit a7d7362b95 introduced by #8803.

Reverting this commit fixes #8836 at the expense of the profile page
remembering the last Pivot selection. The

References

#6800 - Settings UI Epic

#8803 maintained a ProfilePageNavigationState in MainPage to remember
the pivot position. However, the two-way binding on the TextBoxes
now seem to happen too late (after the navigation occurs),
resulting in the text being applied to the wrong profile. In other
words, the sequence of events probably looks something like this:

  1. user types text (_state.profile = old profile)
  2. user moves to new profile
  3. navigation completes (_state.profile = new profile)
  4. textbox two-way binding fires, setting _state.profile.WHATEVER = value

Validation Steps Performed

Performed repro sets from #8836. Bug no longer occurs.

Reopens #8769
Closes #8836

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8838 **State:** closed **Merged:** Yes --- This reverts commit a7d7362b958 introduced by #8803. Reverting this commit fixes #8836 at the expense of the profile page remembering the last Pivot selection. The ## References #6800 - Settings UI Epic #8803 maintained a `ProfilePageNavigationState` in `MainPage` to remember the pivot position. However, the two-way binding on the TextBoxes now seem to happen too late (after the navigation occurs), resulting in the text being applied to the wrong profile. In other words, the sequence of events probably looks something like this: 1. user types text (_state.profile = old profile) 2. user moves to new profile 3. navigation completes (_state.profile = new profile) 4. textbox two-way binding fires, setting _state.profile.WHATEVER = value ## Validation Steps Performed Performed repro sets from #8836. Bug no longer occurs. Reopens #8769 Closes #8836
claunia added the pull-request label 2026-01-31 09:21:15 +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#27309