microsoft / microsoft/terminal

the tab title after launching powershell (launches terminal I think) doesn't make sense... "app data"???

Open
#12,581 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-DefApp Area-UserInterface Issue-Bug Priority-2 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

From MSFT:38253775

When launching pwsh From the Start Menu with defterm enabled, the title is set to the full path to the shortcut, rather than "PowerShell 7" (or whatever"

![image](https://user-images.githubusercontent.com/18356694/155758395-150af0a6-3902-4f64-8163-19654152e803.png)

idle thought: might be because conpty doesn't load ANY settings when we start it. In this case thought, the _title_ is a setting that's in the lnk.

Unclear if this is something we could fix Terminal side. IDK if we know the lnk when we get an inbound connection.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Start Menu launch with defterm enabled and compare the tab title with the shortcut's expected PowerShell title. Start by investigating the conpty and inbound connection behavior, including whether the .lnk information is available; done means the terminal shows a meaningful PowerShell title instead of the shortcut's full path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.