Bug 166035

Summary: Dragging application links is broken
Product: [Unmaintained] plasma4 Reporter: Frank Schmitt <tonne2004>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frank Schmitt 2008-07-08 13:50:44 UTC
Version:            (using Devel)
Installed from:    Compiled sources

1) Right-Click in a folder view and say "Create new->Link to application"
2) Choose an icon and a command in the pop-up dialog
3) Drag and drop the newly created icon to a panel

The new icon has lost the icon and clicking it doesn't run the specified command, but opens the .desktop-File in kwrite
Comment 1 Marco Martin 2008-07-08 14:16:22 UTC
The problem is that folderview shows the desktop:/ url
that makes the if on line 112 of icon.cpp
if (m_url.isLocalFile() && KDesktopFile::isDesktopFile(m_url.toLocalFile())) {
to fail
Comment 2 Marco Martin 2008-07-08 14:48:46 UTC
SVN commit 829425 by mart:

try to use the most local url, makes easier to identify desktop files.

BUG: 166035


 M  +2 -1      icon.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=829425