Version: unspecified (using KDE 4.6.0)
I've created a link to a url with Dolphin. I've also set a custom icon.
When I drag it to plasma desktop the icon becomes a gear instead of the custom.
Reproducible: Didn't try
Steps to Reproduce:
create a link to a url with Dolphin (right click ->create new ->Link URL).
Set a custom icon.
Drag to plasma-desktop
the link icon becomes a gear instead of the custom.
The link should have the same icon
This is - I think - because Plasma doesn‘t actually use the .desktop file but the file directly? Don‘t know for sure.
What I encountered that when dragging a Windows .exe file (Delphi32.exe development environment for example) to my plasma desktop, it also got the gear default icon but when renaming that file, i.e. to Delphi 32 or something resulted in the ORIGINAL file being renamed. Plasma should just rely on .desktop files for icons.
There should be a duplicate of this bug somewhere
Is this still valid for KDE 4.8.3 or trunk?
I can confirm that the bug is valid for 4.8.2
Thank you for the fast feedback.
I can confirm this for 4.8.2. Icons in .desktops file are completly ignored, no matter if the desptop file describes programms or folders.
This is really nasty!
Created attachment 71671 [details]
Screen-shot showing only "exe"-Icon for "My Files", "Trash" and a program.
Git commit 88627b1f9eaa778b80aaf6cd6bd5f4026b5fade0 by Gregor Tätzner.
Committed on 19/06/2012 at 20:51.
Pushed by gregort into branch 'master'.
icon applet: Fix drag and drop of desktop files.
Use KFileItem instead of KDesktopFile to handle desktop files without
M +4 -1 plasma/generic/applets/icon/icon.cpp
(In reply to comment #8)
> Git commit 88627b1f9eaa778b80aaf6cd6bd5f4026b5fade0 by Gregor Tätzner.
> Committed on 19/06/2012 at 20:51.
> Pushed by gregort into branch 'master'.
> icon applet: Fix drag and drop of desktop files.
> Use KFileItem instead of KDesktopFile to handle desktop files without
> REVIEW: 104764
> M +4 -1 plasma/generic/applets/icon/icon.cpp
Great, thank you :=) Please also use the commit hook "FIXED-IN:" so the field is set.