Version: SVN (using KDE 4.5.90) OS: Linux When dragging a samba shared folder (i.e. a folder visible in the smb://hostname view) to another folder and selecting “create shortcut here” creates a .desktop file without icon (its icon is set to ”unknown”). Manually creating a shortcut to url using the New-menu correctly(?) uses the “network-workgroup” icon which looks nice. Reproducible: Always
Confirmed in KDE Frameworks 5.47.
I'm pretty sure that needs fixing in KIO's CopyJob which is what actually implements the link action. Supposedly it'd have to determine the icon at link time by doing a KIO::stat on the uri.