suppressApplicationTitle doesn't seem to work in all cases #5242

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

Originally created by @ffes on GitHub (Nov 27, 2019).

Originally assigned to: @cinnamon-msft on GitHub.

Environment

Windows build number: Version 10.0.18363.476
Windows Terminal version: Version: 0.7.3291.0

Steps to reproduce

I created a profile like this:

{
    "name": "VS2017 Developer CMD",
    "tabTitle": "VS2017 Developer CMD",
    "commandline": "cmd.exe /k \"C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/Tools/VsDevCmd.bat\"",
    "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
    "suppressApplicationTitle": true,
    "startingDirectory": "C:/Source"
},

Expected behavior

The title of the tab should be VS2017 Developer CMD.

Actual behavior

The title of the tab is VS2017 Developer CMD - C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/Tools/VsDevCmd.bat

Knipsel

Originally created by @ffes on GitHub (Nov 27, 2019). Originally assigned to: @cinnamon-msft on GitHub. # Environment ```none Windows build number: Version 10.0.18363.476 Windows Terminal version: Version: 0.7.3291.0 ``` # Steps to reproduce I created a profile like this: ```json { "name": "VS2017 Developer CMD", "tabTitle": "VS2017 Developer CMD", "commandline": "cmd.exe /k \"C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/Tools/VsDevCmd.bat\"", "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png", "suppressApplicationTitle": true, "startingDirectory": "C:/Source" }, ``` # Expected behavior The title of the tab should be `VS2017 Developer CMD`. # Actual behavior The title of the tab is `VS2017 Developer CMD - C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/Tools/VsDevCmd.bat` ![Knipsel](https://user-images.githubusercontent.com/3225656/69727651-40fbe900-1123-11ea-9428-e760e9cf37e0.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5242