You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WSLDVCPlugin sets unquoted wslg.exe path in PKEY_AppUserModel_RelaunchCommand, breaking "Pin to taskbar" #1530
Launch any Linux GUI application that has a valid .desktop entry and icon in /usr/share/applications or /usr/local/share/applications so WSLDVCPlugin associates the window (OnAssociateWindowId -> UpdateTaskBarInfo).
Right-click the running application's icon on the Windows taskbar and click Pin to taskbar.
Close the Linux GUI application.
Click the newly pinned taskbar icon.
WSL logs:
No response
WSL dumps:
No response
Expected behavior:
Clicking the pinned taskbar icon launches C:\Program Files\WSL\wslg.exe -d <Distro> --cd "~" -- <Exec> and merges the running window into the pinned taskbar button.
Actual behavior:
Windows displays an error dialog:
Problem with Shortcut
The item 'Program' that this shortcut refers to has been changed or moved, so this shortcut will no longer work properly.
Inspecting the shortcut created by Windows Shell in %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\ImplicitAppShortcuts\<hash>\<App> (<Distro>).lnk shows:
Activity
Add a WSL check and confirmed repair for Windows taskbar shortcuts