Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Title after opening new tab via command line #9576

Closed
denis-taran opened this issue Mar 22, 2021 · 3 comments
Closed

Invalid Title after opening new tab via command line #9576

denis-taran opened this issue Mar 22, 2021 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@denis-taran
Copy link

denis-taran commented Mar 22, 2021

Windows Terminal version (or Windows build number)

10.0.19042.0

Other Software

Installed WSL Version 2 with Ubuntu Disto

Steps to reproduce

  1. Install WT, WSL2 and Ubuntu as Disto

  2. Set Ubuntu as Default for WT in settings.json

  3. Open a new tab with Powershell and enter the following command:

    wt --% new-tab powershell

Expected Behavior

The first tab in the new window should be called "Windows Powershell", because it is a powershell console

Actual Behavior

It shows that Ubuntu is started and that's not the case. The icon is also wrong.

WT-bug

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 22, 2021
@DHowett
Copy link
Member

DHowett commented Mar 22, 2021

This is just another instance of "the provided commandline replaces the commandline from the default profile". I believe we have an issue tracking this elsewhere on the repository.

The "right" way (today, and until we get executable->profile mapping) to launch this profile is to run wt -p "Windows PowerShell" (or whatever you've named the profile for powershell). Otherwise, your request is "take my default profile, with all of its options like color, title, icon, name, etc. and run powershell inside it."

@DHowett
Copy link
Member

DHowett commented Mar 22, 2021

Found it! This is a /duplicate of #7552. Thanks!

@ghost
Copy link

ghost commented Mar 22, 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 ghost closed this as completed Mar 22, 2021
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Mar 22, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

2 participants