Wrong icon gets rendered when directly running apps in terminal (double click exe to open terminal tab). #17489

Open
opened 2026-01-31 05:44:07 +00:00 by claunia · 0 comments
Owner

Originally created by @AraHaan on GitHub (May 16, 2022).

Windows Terminal version

1.13.10984.0

Windows build number

10.0.22000.0

Other Software

My Discord Bot v2.1.100.

On my Discord bot, it is designed to have an application icon. However when Windows Terminal is configured to be the default console host, all terminal tabs do not render the application icon when you directly double click it's executable file to run it.

Steps to reproduce

  1. Build an .NET Console application with an *.ico file for the program's icon, then double click the built output so it launches in Windows Terminal.

Expected Behavior

For the icon of the application to be rendered on the tab. On MacOS it renders the icon just fine, however that is in Apple's terminal.

Actual Behavior

A different icon is rendered and is provided from the OS or some other application instead?

Originally created by @AraHaan on GitHub (May 16, 2022). ### Windows Terminal version 1.13.10984.0 ### Windows build number 10.0.22000.0 ### Other Software My Discord Bot v2.1.100. On my Discord bot, it is designed to have an application icon. However when Windows Terminal is configured to be the default console host, all terminal tabs do not render the application icon when you directly double click it's executable file to run it. ### Steps to reproduce 1. Build an .NET Console application with an *.ico file for the program's icon, then double click the built output so it launches in Windows Terminal. ### Expected Behavior For the icon of the application to be rendered on the tab. On MacOS it renders the icon just fine, however that is in Apple's terminal. ### Actual Behavior A different icon is rendered and is provided from the OS or some other application instead?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17489