Tab titles (specified via command line arguments) are lost #19849

Closed
opened 2026-01-31 06:55:16 +00:00 by claunia · 3 comments
Owner

Originally created by @reaching-for-libra on GitHub (May 9, 2023).

Originally assigned to: @zadjii-msft on GitHub.

Windows Terminal version

1.17.1023

Windows build number

10.0.19044.0

Other Software

No response

Steps to reproduce

Not entirely sure which actions are relevant, and i have a hard time reproducing with explicit actions, so i'll outline my flow

  • Plug laptop into dock
  • Start windows terminal (pwsh profile). (suppressApplicationTitle is set to "true" in the settings.json file)
  • Launch new tab(s) in a new window, specifying titles for tabs

wt.exe -w 2 --title 6000 -p cmd cmd /c "cd \"c:\projectdirectory\" &\"C:\Program Files\dotnet\dotnet.exe\" run --urls \"http://*:6000\" &pause"

  • Some time later, unplug laptop from dock and close
  • Take laptop elsewhere (some amount of commute time), and plug into new dock.
  • Most likely, wait until the following day before opening the laptop again

Expected Behavior

Tab titles should be retained

Actual Behavior

Tab titles revert to the command. In the example, tab title changes to "cmd"

Originally created by @reaching-for-libra on GitHub (May 9, 2023). Originally assigned to: @zadjii-msft on GitHub. ### Windows Terminal version 1.17.1023 ### Windows build number 10.0.19044.0 ### Other Software _No response_ ### Steps to reproduce Not entirely sure which actions are relevant, and i have a hard time reproducing with explicit actions, so i'll outline my flow - Plug laptop into dock - Start windows terminal (pwsh profile). (suppressApplicationTitle is set to "true" in the settings.json file) - Launch new tab(s) in a new window, specifying titles for tabs `wt.exe -w 2 --title 6000 -p cmd cmd /c "cd \"c:\projectdirectory\" &\"C:\Program Files\dotnet\dotnet.exe\" run --urls \"http://*:6000\" &pause"` - Some time later, unplug laptop from dock and close - Take laptop elsewhere (some amount of commute time), and plug into new dock. - Most likely, wait until the following day before opening the laptop again ### Expected Behavior Tab titles should be retained ### Actual Behavior Tab titles revert to the command. In the example, tab title changes to "cmd"
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:55:16 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 9, 2023):

note to self: this isn't just the "language change causes runtime settings to be lost" issue. I think there's some other issue floating around for "a settings update causes commandline settings to be lost". Probably something about NewTerminalArgs.

I'll need to go dedupe later.

@zadjii-msft commented on GitHub (May 9, 2023): _note to self_: this isn't just the "language change causes runtime settings to be lost" issue. I think there's some other issue floating around for "a settings update causes commandline settings to be lost". Probably something about NewTerminalArgs. I'll need to go dedupe later.
Author
Owner

@zadjii-msft commented on GitHub (May 10, 2023):

I'm pretty sure this is ultimately #5047. Really hard to tell just by reading, but that's my read of the situation. Thanks for a more concrete example!

/dup #5047

@zadjii-msft commented on GitHub (May 10, 2023): I'm pretty sure this is ultimately #5047. Really hard to tell just by reading, but that's my read of the situation. Thanks for a more concrete example! /dup #5047
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (May 10, 2023):

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!

@microsoft-github-policy-service[bot] commented on GitHub (May 10, 2023): 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#19849