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

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

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

State: closed
Merged: Yes


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

**Original Pull Request:** https://github.com/microsoft/terminal/pull/11413 **State:** closed **Merged:** Yes --- 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
claunia added the pull-request label 2026-01-31 09:29:17 +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#28559