Bug 261196 - Dragging a samba shared folder and creating a shortcut creates .desktop file without icon
Summary: Dragging a samba shared folder and creating a shortcut creates .desktop file ...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.66.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2010-12-25 01:56 UTC by Kai Uwe Broulik
Modified: 2020-02-06 14:31 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2010-12-25 01:56:30 UTC
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
Comment 1 Nate Graham 2018-06-28 18:04:48 UTC
Confirmed in KDE Frameworks 5.47.
Comment 2 Harald Sitter 2020-02-06 14:31:04 UTC
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.