Terminal will always choose 16x16 image in profile icon regardless resolution and scaling when an .ico file is used. #23533

Open
opened 2026-01-31 08:44:59 +00:00 by claunia · 2 comments
Owner

Originally created by @crramirez on GitHub (Aug 22, 2025).

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:

Image

Assign this test.ico file to a profile.

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.

Originally created by @crramirez on GitHub (Aug 22, 2025). ### 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: <img width="116" height="596" alt="Image" src="https://github.com/user-attachments/assets/a3e51cac-2cd0-4348-8825-02a0e0fe1529" /> 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.
claunia added the Help WantedIssue-TaskProduct-TerminalArea-UserInterface labels 2026-01-31 08:45:00 +00:00
Author
Owner

@crramirez commented on GitHub (Aug 25, 2025):

Another test. If the ico file is composed as the standard says, all the sizes but 256 in BMP and 256 in PNG, Windows Terminal will always choose regardless of the resolution, the 128px one:

Image

I attached the icon with those characteristics

test_icon2.zip

@crramirez commented on GitHub (Aug 25, 2025): Another test. If the ico file is composed as the standard says, all the sizes but 256 in BMP and 256 in PNG, Windows Terminal will always choose regardless of the resolution, the 128px one: ![Image](https://github.com/user-attachments/assets/ba34dfa3-6a20-4e39-a59d-749c7e907db9) I attached the icon with those characteristics [test_icon2.zip](https://github.com/user-attachments/files/21976181/test_icon2.zip)
Author
Owner

@zadjii-msft commented on GitHub (Aug 27, 2025):

By god would you look at that? We've seen this before! With a nearly identical .ico file 😆

#11732
https://github.com/microsoft/microsoft-ui-xaml/issues/6307

our current discussion though is basically "why don't we just do the HICO unpakcing that we do for .exes and render the ico manually"?

@zadjii-msft commented on GitHub (Aug 27, 2025): By god would you look at that? We've seen this before! With a nearly identical `.ico` file 😆 #11732 https://github.com/microsoft/microsoft-ui-xaml/issues/6307 our current discussion though is basically "why don't we just do the `HICO` unpakcing that we do for `.exe`s and render the ico manually"?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23533