If tab title updates when terminal window isn't in focus, Terminal Title doesn't update in taskbar #12368

Closed
opened 2026-01-31 03:13:40 +00:00 by claunia · 4 comments
Owner

Originally created by @sarim on GitHub (Feb 2, 2021).

Environment

Windows build number: Version 10.0.19042.746
Windows Terminal version (if applicable):   Windows Terminal Preview Version: 1.6.10272.0

Steps to reproduce

can be reproduced in both wsl or in powershell.

  1. run this and then switch to another application
    sleep 5; cd .\Documents\
    
  2. after 5 secs, tab title will be updated, but title in taskbar won't.

Expected behavior

title in taskbar updates properly even when terminal is not in focus.

Here's two screenshot:
image
image

Actual behavior

title in taskbar stays old value when terrminal is not in focus.

Originally created by @sarim on GitHub (Feb 2, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Version 10.0.19042.746 Windows Terminal version (if applicable): Windows Terminal Preview Version: 1.6.10272.0 ``` # Steps to reproduce can be reproduced in both wsl or in powershell. 1. run this and then switch to another application ``` sleep 5; cd .\Documents\ ``` 2. after 5 secs, tab title will be updated, but title in taskbar won't. <!-- A description of how to trigger this bug. --> # Expected behavior title in taskbar updates properly even when terminal is not in focus. <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> Here's two screenshot: ![image](https://user-images.githubusercontent.com/1235888/106647066-aade1100-65b8-11eb-9215-e555fdafc6b1.png) ![image](https://user-images.githubusercontent.com/1235888/106647083-b03b5b80-65b8-11eb-83bb-dc3716701022.png) # Actual behavior title in taskbar stays old value when terrminal is not in focus. <!-- What's actually happening? -->
Author
Owner

@zadjii-msft commented on GitHub (Feb 3, 2021):

huh. Good catch!

@zadjii-msft commented on GitHub (Feb 3, 2021): _huh_. Good catch!
Author
Owner

@DHowett commented on GitHub (Feb 4, 2021):

This seems like another shade of #8704, actually. I wonder what happened.

@DHowett commented on GitHub (Feb 4, 2021): This seems like another shade of #8704, actually. I wonder what happened.
Author
Owner

@DHowett commented on GitHub (Feb 4, 2021):

/dup #8704

I'm going to make this the master issue for fixing title propagation issues.

@DHowett commented on GitHub (Feb 4, 2021): /dup #8704 I'm going to make this the master issue for fixing title propagation issues.
Author
Owner

@ghost commented on GitHub (Feb 4, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Feb 4, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12368