Bug 290405

Summary: Adding a folder shortcut icon to plasma will handle it as an application
Product: [Plasma] plasma4 Reporter: Philip Muškovac <yofel>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bloodse3ker, bugzilla, myriam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philip Muškovac 2012-01-02 15:01:30 UTC
Version:           unspecified (using Devel) 
OS:                Linux

KDE 4.7.95 on Kubuntu precise
When you add a shortcut icon to the panel or desktop for folders, opening it will result in an error like:

KDEInit could not launch '/path/to/folder'

Looking at the Command in the icon properties shows that the folder path is used as the icon command, which only makes sense for applications, so I guess you check if the file that is added is marked executable, but not if it's a regular file or a directory.

Reproducible: Always

Steps to Reproduce:
Drag a folder to a panel or the desktop
In the dialog that pops up select 'Icon'
Click on the new Icon

Actual Results:  
You get a window with the mentioned error message.

Expected Results:  
The folder should be opened in whatever file manager is set as preferred application.
Comment 1 Boris Yonchev 2012-01-04 14:58:06 UTC
I wasn't able to reproduce this bug
Comment 2 Janet 2012-01-29 03:10:25 UTC
Seems to be fixed according to Bug 292455.
Comment 3 Philip Muškovac 2012-01-29 03:55:41 UTC
Seems so lookin at the patch

*** This bug has been marked as a duplicate of bug 292455 ***