[PR #11413] [MERGED] Fix the tab color, part III #28554

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/11413
Author: @zadjii-msft
Created: 10/4/2021
Status: Merged
Merged: 10/5/2021
Merged by: @undefined

Base: mainHead: dev/migrie/b/11382-tab-color-fix-3


📝 Commits (3)

📊 Changes

1 file changed (+9 additions, -9 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalTab.cpp (+9 -9)

📄 Description

I've had a hard time with the tab colors this week.

Turns out that setting the background to nullptr will make the tabviewitem invisible to hit tests. Transparent, on the other hand, is totally valid, and the expected default.

Tabs as of this commit:

tab-color-fix-3

PR Checklist

This low-key reverts a bit of #11369, which fixed #11294, which regressed in #11240


🔄 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/11413 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 10/4/2021 **Status:** ✅ Merged **Merged:** 10/5/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/migrie/b/11382-tab-color-fix-3` --- ### 📝 Commits (3) - [`65a06f3`](https://github.com/microsoft/terminal/commit/65a06f3817654bfe7bce8d0265acbe013eb3e8f9) This fixes it but I have to remove the dead code. Fixes #11382 - [`30e6a0d`](https://github.com/microsoft/terminal/commit/30e6a0d3a1e2b9e5e8fcbaf46e10246012cc4c1c) most cleanup - [`ca9c357`](https://github.com/microsoft/terminal/commit/ca9c357354f26adca36268cbc012cba1c040b155) all good ### 📊 Changes **1 file changed** (+9 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalTab.cpp` (+9 -9) </details> ### 📄 Description I've had a hard time with the tab colors this week. Turns out that setting the background to nullptr will make the tabviewitem invisible to hit tests. `Transparent`, on the other hand, is totally valid, and the expected default. Tabs as of this commit: ![tab-color-fix-3](https://user-images.githubusercontent.com/18356694/135915272-ff90b28b-f260-493e-bf0b-3450b4702dce.gif) ## PR Checklist * [x] Closes #11382 * [x] I work here This low-key reverts a bit of #11369, which fixed #11294, which regressed in #11240 --- <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:29:16 +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#28554