[PR #10124] [MERGED] Revert "Add the profile, page icons to the page headers (#10046)" #27908

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10124
Author: @carlos-zamora
Created: 5/18/2021
Status: ✅ Merged
Merged: 5/18/2021
Merged by: @DHowett

Base: main ← Head: dev/cazamor/revert-page-header-icons


📝 Commits (1)

  • f6d58b1 Revert "Add the profile, page icons to the page headers (#10046)"

📊 Changes

5 files changed (+20 additions, -76 deletions)

View changed files

📝 src/cascadia/TerminalApp/CommandPalette.xaml (+6 -13)
📝 src/cascadia/TerminalSettingsEditor/AddProfile.xaml (+3 -8)
📝 src/cascadia/TerminalSettingsEditor/MainPage.cpp (+2 -6)
📝 src/cascadia/TerminalSettingsEditor/MainPage.xaml (+8 -49)
📝 src/cascadia/TerminalSettingsModel/IconPathConverter.cpp (+1 -0)

📄 Description

This reverts commit a3a2a4102d.

#10046 causes a crash on save. MainPage::UpdateSettings() is unable to update the navigation view's selected item due to an "incorrect parameter". This is particularly strange to see because #10046 only modifies the navigation view's header, not the menu items themselves. Reverting this change fixes that crash (verified).

Reopens #9694


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10124 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 5/18/2021 **Status:** ✅ Merged **Merged:** 5/18/2021 **Merged by:** [@DHowett](https://github.com/DHowett) **Base:** `main` ← **Head:** `dev/cazamor/revert-page-header-icons` --- ### 📝 Commits (1) - [`f6d58b1`](https://github.com/microsoft/terminal/commit/f6d58b1f7e4d182c8acff74a3b26368665ee7978) Revert "Add the profile, page icons to the page headers (#10046)" ### 📊 Changes **5 files changed** (+20 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CommandPalette.xaml` (+6 -13) 📝 `src/cascadia/TerminalSettingsEditor/AddProfile.xaml` (+3 -8) 📝 `src/cascadia/TerminalSettingsEditor/MainPage.cpp` (+2 -6) 📝 `src/cascadia/TerminalSettingsEditor/MainPage.xaml` (+8 -49) 📝 `src/cascadia/TerminalSettingsModel/IconPathConverter.cpp` (+1 -0) </details> ### 📄 Description This reverts commit a3a2a4102dff785ac84f0d37397113fae3ef2033. #10046 causes a crash on save. `MainPage::UpdateSettings()` is unable to update the navigation view's selected item due to an "incorrect parameter". This is particularly strange to see because #10046 only modifies the navigation view's header, not the menu items themselves. Reverting this change fixes that crash (verified). Reopens #9694 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:25:05 +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#27908