Opening a new-tab after a split-pane causes two tab bars being highlighted #13155

Closed
opened 2026-01-31 03:35:09 +00:00 by claunia · 2 comments
Owner

Originally created by @furente on GitHub (Mar 23, 2021).

Windows Terminal version (or Windows build number)

Windows Terminal Version: 1.6.10571.0

Other Software

No response

Steps to reproduce

Run the following command:
wt ; split-pane -H ; new-tab

OR, for a better visual understanding:
wt --title wrong-tab --tabColor "#ff0000" ; split-pane -H --title wrong-tab --tabColor "#ff0000" ; new-tab --title correct-tab --tabColor "#04ff00"

Expected Behavior

Only one tab bar highlighted. The one from the last command.

Actual Behavior

Two tab bars highlighted.

After switching between tabs or hovering the wrong highlighted tab bar, it fix itself.

bug-tabBarHighlighted-wt-1 6

Originally created by @furente on GitHub (Mar 23, 2021). ### Windows Terminal version (or Windows build number) Windows Terminal Version: 1.6.10571.0 ### Other Software _No response_ ### Steps to reproduce Run the following command: wt ; split-pane -H ; new-tab OR, for a better visual understanding: wt --title wrong-tab --tabColor "#ff0000" ; split-pane -H --title wrong-tab --tabColor "#ff0000" ; new-tab --title correct-tab --tabColor "#04ff00" ### Expected Behavior Only one tab bar highlighted. The one from the last command. ### Actual Behavior Two tab bars highlighted. After switching between tabs or hovering the wrong highlighted tab bar, it fix itself. ![bug-tabBarHighlighted-wt-1 6](https://user-images.githubusercontent.com/23699968/112216485-d75df300-8c21-11eb-9796-c1c49ececfdf.gif)
Author
Owner

@zadjii-msft commented on GitHub (Mar 23, 2021):

Man those are some great repro steps. Thanks!

I'm guessing this is related to whatever's causing #8948. That's what we get for hot-swapping XAML resources like this 😝

@zadjii-msft commented on GitHub (Mar 23, 2021): Man those are some great repro steps. Thanks! I'm guessing this is related to whatever's causing #8948. That's what we get for hot-swapping XAML resources like this 😝
Author
Owner

@zadjii-msft commented on GitHub (Jan 20, 2022):

Hey guess what, I think this is just going to be fixed by magic by #11720

@zadjii-msft commented on GitHub (Jan 20, 2022): Hey guess what, I think this is just going to be fixed by magic by #11720
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13155