[PR #8545] Fix SwitchToTab build break #27229

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

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

State: closed
Merged: Yes


#8420 removed SwitchToTab() as a responsibility of TabBase and replaces _mruTabActions with _mruTabs (conceptually). This PR fixes the build break by...

  • replacing TerminalPage's reference to the SettingsTab's SwitchToTab command, with a reference to the tab itself
  • using that reference to maintain existing tab switching behavior

References

#1564 - Settings UI
#8420 - Command Palette + SwitchToTab refactoring

PR Checklist

Validation Steps Performed

Open SUI --> switch to a different tab --> try opening SUI again --> switches to existing SUI
Open SUI --> switch to a different tab --> reorder tabs --> try opening SUI again --> switches to existing SUI

**Original Pull Request:** https://github.com/microsoft/terminal/pull/8545 **State:** closed **Merged:** Yes --- #8420 removed `SwitchToTab()` as a responsibility of `TabBase` and replaces `_mruTabActions` with `_mruTabs` (conceptually). This PR fixes the build break by... - replacing `TerminalPage`'s reference to the SettingsTab's SwitchToTab command, with a reference to the tab itself - using that reference to maintain existing tab switching behavior ## References #1564 - Settings UI #8420 - Command Palette + SwitchToTab refactoring ## PR Checklist * [X] Closes #8538 ## Validation Steps Performed ✅ Open SUI --> switch to a different tab --> try opening SUI again --> switches to existing SUI ✅ Open SUI --> switch to a different tab --> reorder tabs --> try opening SUI again --> switches to existing SUI
claunia added the pull-request label 2026-01-31 09:20:45 +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#27229