Window title is inconsistently updated with tab rename #9474

Open
opened 2026-01-31 01:55:28 +00:00 by claunia · 0 comments
Owner

Originally created by @jtippet on GitHub (Jul 7, 2020).

Originally assigned to: @PankajBhojwani on GitHub.

Environment

Windows build number: 10.0.19041.329
Windows Terminal version (if applicable): d350a8932485f618b1658353a0573ac2422a3c36 and also repros in 1.1.1812.0

Steps to reproduce

  1. Launch Terminal
  2. Create a 2nd tab
  3. Rename the inactive tab to anything, like "bananas"
  4. Switch to the inactive tab
  5. Check the top-level window's title text (e.g., by looking at the label in the ALT+TAB experience)

Expected behavior

I'd expect the top-level window's title text to always match the active tab's title (_runtimeTabText).

Actual behavior

The top-level window's title text is just the default tab title. If you rename the tab while it's the active tab, then the top-level window title is updated... until you switch away from the tab. Once you return back to the tab, the top-level window has returned to the default title for the tab.

This is the console:
image

But this is what ALT+TAB thinks it's titled -- I'd expect it to say "bananas" at the top, not "PowerShell":
image

Originally created by @jtippet on GitHub (Jul 7, 2020). Originally assigned to: @PankajBhojwani on GitHub. # Environment ```none Windows build number: 10.0.19041.329 Windows Terminal version (if applicable): d350a8932485f618b1658353a0573ac2422a3c36 and also repros in 1.1.1812.0 ``` # Steps to reproduce 1. Launch Terminal 2. Create a 2nd tab 3. Rename the inactive tab to anything, like "bananas" 4. Switch to the inactive tab 5. Check the top-level window's title text (e.g., by looking at the label in the ALT+TAB experience) # Expected behavior I'd expect the top-level window's title text to always match the active tab's title (`_runtimeTabText`). # Actual behavior The top-level window's title text is just the default tab title. If you rename the tab while it's the *active* tab, then the top-level window title is updated... until you switch away from the tab. Once you return back to the tab, the top-level window has returned to the default title for the tab. This is the console: ![image](https://user-images.githubusercontent.com/10259764/86709258-9c059080-bfce-11ea-92fa-e81f288898a7.png) But this is what ALT+TAB thinks it's titled -- I'd expect it to say "bananas" at the top, not "PowerShell": ![image](https://user-images.githubusercontent.com/10259764/86709196-8db77480-bfce-11ea-9bd3-ffbc7300bb9a.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9474