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

Closed
opened 2026-01-31 00:08:35 +00:00 by claunia · 2 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)
Author
Owner

@4k3or3et commented on GitHub (Nov 27, 2019):

I can confirm the issue.

It works with:

"commandline" : "%windir%/system32/openssh/ssh.exe root@192.168.1.2

However when you have:

"commandline" : "%windir%/system32/openssh/ssh.exe root@192.168.1.2 -i path_to_the_authentication_key"

the title still changes to 'OpenSSH SSH client'...

@4k3or3et commented on GitHub (Nov 27, 2019): I can confirm the issue. It works with: `"commandline" : "%windir%/system32/openssh/ssh.exe root@192.168.1.2` However when you have: `"commandline" : "%windir%/system32/openssh/ssh.exe root@192.168.1.2 -i path_to_the_authentication_key"` the title still changes to 'OpenSSH SSH client'...
Author
Owner

@ghost commented on GitHub (Dec 12, 2019):

:tada:This issue was addressed in #3837, which has now been successfully released as Windows Terminal Preview v0.7.3451.0.🎉

Handy links:

@ghost commented on GitHub (Dec 12, 2019): :tada:This issue was addressed in #3837, which has now been successfully released as `Windows Terminal Preview v0.7.3451.0`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.7.3451.0) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5247