microsoft / microsoft/terminal

Console icon?

Open
#11,759 31 comments 0 reactions 0 assignees View on GitHub
Area-Windowing Help Wanted Issue-Bug Priority-3 Product-Conhost
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

I don't know if this has anything to do with conhost, but I can't think of a better place to ask "What's going on here?".

If I give this command to CMD, `start "C:\WINDOWS\system32\notepad.EXE" cmd`, I get a new instance of CMD in a console with notepad's icon. Why does specifying a title affect the icon?

![image](https://user-images.githubusercontent.com/61856645/141690514-97b4a17a-9d65-44f1-85eb-d9291a1af0d5.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior with `start "C:\WINDOWS\system32\notepad.EXE" cmd` in CMD and compare it with the equivalent command without a title. The issue mentions conhost but no source files or tests; done would be an agreed explanation of why the title changes the console icon, or a clearly scoped fix if the behavior is unintended.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
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.