WT: Load profile icons from executables #15846

Closed
opened 2026-01-31 04:50:14 +00:00 by claunia · 3 comments
Owner

Originally created by @alabuzhev on GitHub (Nov 11, 2021).

Description of the new feature/enhancement

It's nice that WT supports custom profile icons.
It's nice that it can load jpg, png, bmp, gif, tiff and ico.

However, why doesn't it support loading icons from executables?
If I'm creating a new profile and setting its icon, usually I want it to have exactly the same icon as the underlying executable has, but I can't load it directly, so I have to either play with the Print Screen and Paint (ugh) or look for a 3rd party tool to extract an icon from the exe, because usually apps don't come with separately packaged icons, because every shortcut in Windows allows to load icons from exe, dll, etc. directly since 1995 or so.

Are there any technical limitations for that?

Originally created by @alabuzhev on GitHub (Nov 11, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement It's nice that WT supports custom profile icons. It's nice that it can load jpg, png, bmp, gif, tiff and ico. However, why doesn't it support loading icons from executables? If I'm creating a new profile and setting its icon, usually I want it to have exactly the same icon as the underlying executable has, but I can't load it directly, so I have to either play with the <kbd>Print Screen</kbd> and Paint (ugh) or look for a 3rd party tool to extract an icon from the exe, because _usually_ apps don't come with separately packaged icons, because every shortcut in Windows allows to load icons from exe, dll, etc. directly since 1995 or so. Are there any technical limitations for that? <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). -->
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 04:50:15 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 11, 2021):

There's mostly engineering time limitations for that 😋. In general, this is a dupe of:

  • #1504 - for being able to manually set an exe as the icon
  • #705 - for automatically grabbing the icon from an exe if no icon is set.

I'm also tempted to just close out #705, because that probably will work less often than the user would hope. Being explicit about the icon is probably a better idea.

So, /dup #1504

@zadjii-msft commented on GitHub (Nov 11, 2021): There's mostly _engineering time_ limitations for that 😋. In general, this is a dupe of: * #1504 - for being able to manually set an exe as the icon * #705 - for automatically grabbing the icon from an exe if no icon is set. I'm also tempted to just close out #705, because that probably will work less often than the user would hope. Being explicit about the icon is probably a better idea. So, /dup #1504
Author
Owner

@ghost commented on GitHub (Nov 11, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 11, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@alabuzhev commented on GitHub (Nov 11, 2021):

Thanks.

I'm also tempted to just close out #705, because that probably will work less often than the user would hope

Please don't - machines should work and it's a nice thing if the code can load the icon automatically and save the user some clicks, even if not in 100% of cases.

@alabuzhev commented on GitHub (Nov 11, 2021): Thanks. > I'm also tempted to just close out #705, because that probably will work less often than the user would hope Please don't - machines should work and it's a nice thing if the code can load the icon automatically and save the user some clicks, even if not in 100% of cases.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15846