microsoft / microsoft/terminal

Profile icons not displayed on Task bar

Open
#16,233 4 comments 1 reaction 0 assignees View on GitHub
Area-ShellExtension Issue-Bug Priority-3 Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.18.2822.0

### Windows build number

10.0.22621

### Other Software

DevHome: 0.601.297.0

Not sure if the issue is with DevDrive, or just having two drives.

### Steps to reproduce

Pin Terminal to the task bar. Or launch terminal so the icon is visible on the task bar.

Install terminal from Store.

Create profiles that have a starting directory on drive D:. For the icon, select an image on drive C:, or specify an internet address (for example, https://github.com/Azure/bicep/blob/main/docs/images/BicepLogoImage.png?raw=true)

### Expected Behavior

Prior to creating a DevDrive, all icons displayed correctly.

### Actual Behavior

Right-click on the Terminal icon in the task bar. Profile icons only show if the icon file is on the same drive as the startup directory, or an OOB icon (for example, ms-appx://ProfileIcons/pwsh.png.

![image](https://github.com/microsoft/terminal/assets/8008013/fbadd711-1bbf-4528-82c5-dd5aa152c4c7)

In the above image, the icon for the "CLI" and "Manager" profiles are on drive D:. The third profile uses "ms-appx://ProfileIcons/pwsh.png" All others are drive C: or internet address.

**Note:**

When viewing the profiles from the selector menu (the inverted carat in the menu bar) and from the Settigns page, all icons show as expected.

Contributor guide

Open the contributing guide

Research direction

No source files, tests, or entry points are named. Start by reproducing the task-bar profile menu with a startup directory on drive D: and icons on drive C: or an internet URL, then compare it with the selector menu and Settings page where icons work. Done means external profile icons display correctly in the task-bar menu as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.