[PR #13674] [MERGED] Use only one tab color picker for all tabs, delay load it #29697

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/13674
Author: @PankajBhojwani
Created: 8/4/2022
Status: Merged
Merged: 8/5/2022
Merged by: @undefined

Base: mainHead: dev/pabhoj/wt_start


📝 Commits (3)

📊 Changes

5 files changed (+70 additions, -22 deletions)

View changed files

📝 src/cascadia/TerminalApp/AppActionHandlers.cpp (+1 -1)
📝 src/cascadia/TerminalApp/TerminalPage.cpp (+14 -0)
📝 src/cascadia/TerminalApp/TerminalPage.h (+1 -0)
📝 src/cascadia/TerminalApp/TerminalTab.cpp (+45 -19)
📝 src/cascadia/TerminalApp/TerminalTab.h (+9 -2)

📄 Description

Summary of the Pull Request

  • We only ever have 1 color picker now, instead of each tab having its own
  • TerminalPage constructs this color picker (upon first request for it)
  • TerminalPage attaches the color picker to the tab that requested for it
  • TerminalTab detaches the color picker when it is done with it, so that TerminalPage can attach it to another tab later on

References

#5907

Validation Steps Performed

User-end behaviour is the same


🔄 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/13674 **Author:** [@PankajBhojwani](https://github.com/PankajBhojwani) **Created:** 8/4/2022 **Status:** ✅ Merged **Merged:** 8/5/2022 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/pabhoj/wt_start` --- ### 📝 Commits (3) - [`5515c17`](https://github.com/microsoft/terminal/commit/5515c1744bba91604d0782d1494f4edb8a10e301) works - [`617a578`](https://github.com/microsoft/terminal/commit/617a5783c90a6ee6fbc6b6f19bda371cf35a7b97) cmd pal - [`b30be98`](https://github.com/microsoft/terminal/commit/b30be989b82244fafc77c80ddfcc073c39d751ed) mtd desc ### 📊 Changes **5 files changed** (+70 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/AppActionHandlers.cpp` (+1 -1) 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+14 -0) 📝 `src/cascadia/TerminalApp/TerminalPage.h` (+1 -0) 📝 `src/cascadia/TerminalApp/TerminalTab.cpp` (+45 -19) 📝 `src/cascadia/TerminalApp/TerminalTab.h` (+9 -2) </details> ### 📄 Description ## Summary of the Pull Request - We only ever have 1 color picker now, instead of each tab having its own - `TerminalPage` constructs this color picker (upon first request for it) - `TerminalPage` attaches the color picker to the tab that requested for it - `TerminalTab` detaches the color picker when it is done with it, so that `TerminalPage` can attach it to another tab later on ## References #5907 ## Validation Steps Performed User-end behaviour is the same --- <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:36:23 +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#29697