microsoft / microsoft/terminal
Certain tab titles break tab theme when opening a new tab (Windows Legacy theme)
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.18.2822.0
### Windows build number
10.0.19045.0
### Other Software
_No response_
### Steps to reproduce
On tabs with certain titles, opening a new tab makes the tab bar revert from a light to a black background, which corrects itself when switching to another tab. This requires "Use Windows theme (Legacy)" as the application theme. Other options like tab width mode don't seem to matter, since I could reproduce it with a blank new settings.json just changing the theme.

### Expected Behavior
Proper theme rendering.
### Actual Behavior
Broken theme rendering.
Contributor guide
Research direction
Reproduce the tab-bar color change on Windows Terminal 1.18.2822.0 with the Windows theme (Legacy) setting and a minimal settings.json, using tab titles that trigger the issue. Trace the tab creation and theme-rendering path, then verify that opening a new tab preserves the light theme without requiring a switch to another tab.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100