microsoft / microsoft/terminal
Terminal will always choose 16x16 image in profile icon regardless resolution and scaling when an .ico file is used.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.23.12102.0
### Windows build number
10.0.26100.4946
### Other Software
_No response_
### Steps to reproduce
The attached icon has all the image sizes from 16 to 256 as follows:
Assign this test.ico file to a profile.
[test.zip](https://github.com/user-attachments/files/21937402/test.zip)
### Expected Behavior
Show different colors in the icon depending on the resolution and scaling, so it is selecting the best icon size for the screen like File Explorer does.
### Actual Behavior
Windows terminal always shows an orange color, in the menu, tab or quick menu in the task bar. It means it is always choosing the 16x16 ico.
### Importance
This is essential because WSL's new architecture only supports ico files as a shortcut icon. And as we can only ship the 256 one, it will make that Windows Terminal reduce the image and the results are not good.
Contributor guide
Research direction
Reproduce the issue in Windows Terminal by assigning the attached test.ico to a profile and checking the icon in the menu, tab, and taskbar quick menu at different resolutions and scaling levels. Trace the profile icon loading and selection path; done means the displayed icon uses the best matching embedded .ico resolution instead of always selecting 16x16.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100