microsoft / microsoft/terminal
Clicking shortcut to WT PowerShell profile opens 2 windows
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.16.10261.0
### Windows build number
Edition Windows 11 Pro Version 22H2 Installed on 12-8-2022 OS build 22621.1194 Experience Windows Feature Experience Pack 1000.22638.1000.0
### Other Software
PowerShell 7.3.2
### Steps to reproduce
1 Create a Windows shortcut with the command line `C:\Users\willp\AppData\Local\Microsoft\WindowsApps\wt.exe -p "PowerShell"`
2 Create a matching WT profile
3 Click the shortcut
How many windows opened?
### Expected Behavior
I'd expect only at most one new window.
### Actual Behavior
With no WT widows open, I get two to the same profile.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the Windows shortcut command `wt.exe -p "PowerShell"` and a matching Windows Terminal profile. Trace the shortcut and profile launch handling, then verify that clicking the shortcut with no existing Terminal windows opens only one window for the selected profile.
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
- Mostly clear
- Newbie friendliness
- 35/100