Describe the bug
When the Target and Icon for a shortcut are not the same file, Ueli displays the icon from the Target instead of the one specified in the shortcut properties. This results in the icon either disappearing or showing incorrectly, as illustrated in the screenshots below.
To ReproduceNo additional steps are needed if you already have shortcuts where the Target and Icon files differ.
Otherwise, follow these steps:
Create a shortcut where the Target and Icon files are different. (Refer to Fig 2 and Fig 4)
In Ueli, go to Settings -> Extensions -> Application Search, and click Rescan.
Check the search results in Ueli. You’ll see that the wrong icon is displayed or the icon is missing. (Refer to Fig 1 and Fig 3)
Expected behavior
Ueli should correctly display the icon that is specified in the shortcut's properties, even when it points to a different file than the Target.
ScreenshotsFig 1: The icon disappears or is incorrectly displayed when the Target and Icon files are different.
Fig 2: Properties of two files—the native Discord icon on the left displays correctly, while the custom icon I created (right) does not. I used %LOCALAPPDATA% to anonymize the path.
Fig 3 shows search results in Ueli with an incorrect icon for the shortcut "LAV Video (MPC-HC internal)," where the Target is mpc-hc64.exe and the icon is lavvideo.ax.
Finally, Fig 4 shows the properties of this shortcut, confirming that the icon file is not the same as the Target:
Environment
OS: Windows 11 23H2 (22635.4371)
Ueli Version: 9.8.0 (tested on Zip versions only)
Additional context
This issue is inherited from [#1133].
Describe the bug When the Target and Icon for a shortcut are not the same file, Ueli displays the icon from the Target instead of the one specified in the shortcut properties. This results in the icon either disappearing or showing incorrectly, as illustrated in the screenshots below.
To Reproduce No additional steps are needed if you already have shortcuts where the Target and Icon files differ. Otherwise, follow these steps:
Expected behavior Ueli should correctly display the icon that is specified in the shortcut's properties, even when it points to a different file than the Target.
Screenshots Fig 1: The icon disappears or is incorrectly displayed when the Target and Icon files are different.
Fig 2: Properties of two files—the native Discord icon on the left displays correctly, while the custom icon I created (right) does not. I used
%LOCALAPPDATA%
to anonymize the path.Fig 3 shows search results in Ueli with an incorrect icon for the shortcut "LAV Video (MPC-HC internal)," where the Target is
mpc-hc64.exe
and the icon islavvideo.ax
.Finally, Fig 4 shows the properties of this shortcut, confirming that the icon file is not the same as the Target:
Environment
Additional context This issue is inherited from [#1133].