-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Closed
Closed
Copy link
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.
Description
Windows Terminal version
1.22.11141.0
Windows build number
10.0.26100.4652
Other Software
WSL1
WSL2
Steps to reproduce
I was setting up multiple WSL distribution instances as the following method:
wsl --export Ubuntu ubuntu_base.tar
wsl --import Ubuntu_export1 e:/wsl/Ubuntu_export1 ./ubuntu_base.tar
The process of the export and import is successful and works fine.
Close the terminal and open it again.
The terminal popup a dialogue message:
Found a profile with an invalid "icon".
Defaulting that profile to have no icon. Make sure that when setting an "icon", the value is a valid file path to an image.
Reason
Open the terminal settings, the Ubuntu_export1 profile (which was generated automatically) shows that:
Icon \\?\E:\wsl\Ubuntu_export1\shortcut.ico
Workaround
Modify
Icon \\?\E:\wsl\Ubuntu_export1\shortcut.ico
to
Icon E:\wsl\Ubuntu_export1\shortcut.ico
Then everything is OK
P.S. Both WSL1 and WSL2 distribution has the same problem.
Expected Behavior
No the dialogue message.
Actual Behavior
The terminal popup a dialogue message:
Found a profile with an invalid "icon".
Defaulting that profile to have no icon. Make sure that when setting an "icon", the value is a valid file path to an image.
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.There's another issue on the tracker that's pretty much the same thing.