tab title only showing up short for powershell core #11117

Closed
opened 2026-01-31 02:39:03 +00:00 by claunia · 3 comments
Owner

Originally created by @smezger on GitHub (Oct 22, 2020).

Environment

Windows build number: 10.0.18363.0 
Windows Terminal version (if applicable): 1.4.2652
Powershell Core: 7.0.3

Steps to reproduce

  • Either specify a title in settings.json ("tabTitle": "PS Core") or through command line argument (--title PSCore) and open a new tab with that

Expected behavior

  • Tab title is persistent

Actual behavior

  • title is only shown shortly before it changes to the directory name
    refer to gif below: WindowsTerminal
Originally created by @smezger on GitHub (Oct 22, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 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: 10.0.18363.0 Windows Terminal version (if applicable): 1.4.2652 Powershell Core: 7.0.3 ``` # Steps to reproduce * Either specify a title in settings.json `("tabTitle": "PS Core")` or through command line argument (`--title PSCore`) and open a new tab with that # Expected behavior * Tab title is persistent # Actual behavior * title is only shown shortly before it changes to the directory name refer to gif below: ![WindowsTerminal](https://user-images.githubusercontent.com/19730006/96835263-a5165280-1443-11eb-8013-d275af10a32d.gif)
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Attention labels 2026-01-31 02:39:03 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 22, 2020):

If I had to guess, there’s code in your powershell profile.ps1 that sets $Host.UI.RawUI.WindowTitle. By default, “title” is advisory and provided to the shell as additional information it can use to determine what you want the title to br. If you want terminal’s “title” to win over the application’s title in all circumstances, you’ll want to look into suppressApplicationTitle (profile setting, boolean).

Personally, I just make my shells set their titles. It lets me use different titles for different remote machines without having to manage fiddly bits of local configuration.

@DHowett commented on GitHub (Oct 22, 2020): If I had to guess, there’s code in your powershell profile.ps1 that sets `$Host.UI.RawUI.WindowTitle`. By default, “title” is advisory and provided to the shell as additional information it can use to determine what you want the title to br. If you want terminal’s “title” to _win_ over the application’s title in all circumstances, you’ll want to look into `suppressApplicationTitle` (profile setting, boolean). Personally, I just make my shells set their titles. It lets me use different titles for different remote machines without having to manage fiddly bits of local configuration.
Author
Owner

@smezger commented on GitHub (Oct 22, 2020):

@DHowett Thanks for pointing this out, solved it for me! 👍
And also thank you for your always fun to read release notes 😄

@smezger commented on GitHub (Oct 22, 2020): @DHowett Thanks for pointing this out, solved it for me! 👍 And also thank you for your always fun to read release notes 😄
Author
Owner

@DHowett commented on GitHub (Oct 22, 2020):

always fun to read

Hey, thanks! I appreciate that 😄

@DHowett commented on GitHub (Oct 22, 2020): > always fun to read Hey, thanks! I appreciate that 😄
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11117