Version: 1.1 (using 4.1.00 (KDE 4.1.0) "release 16.3", KDE:KDE4:Factory:Desktop / openSUSE_10.3) Compiler: gcc OS: Linux (i686) release 2.6.22.17-0.1-default Dolphin the text contents of a .desktop file if file previews are enabled. This is visible in the network:// slave, or just by opening /usr/share/applications.
Where is the bug exactly ? .desktop files only contain text.
@Christophe: I agree from a technical point of view that showing a text is OK. However I'm not sure whether it is correct from a users point of view. From a users point of view .desktop files have specific icons. My plan was that I have a look whether it's possible in an easy way to disable the previews for .desktop files - before committing I'd for sure request an official OK in core-devel to commit this.
*** Bug 163134 has been marked as a duplicate of this bug. ***
In order to fix this you have to block the .desktop mimetype from being recognized only as text/plain. I have looked into the code of kio/thumbnail but I couldn't do anything :(
*** Bug 181772 has been marked as a duplicate of this bug. ***
This is probably making things even more complicated, but it would be awesome if .desktop files that are links (contain "Type=Link") would show a preview of the URL they point to.
*** Bug 185011 has been marked as a duplicate of this bug. ***
As far as the user is concerned, .desktop files are equivalent to the Windows .LNK files, they are technically both text but they are just shortcuts and should at least display the file's type icon.
SVN commit 954443 by ppenz: Most users don't want to have a text preview for *.desktop files -> make it possible that users can turn on/off previews for *.desktop files independent from text files. BUG: 168331 M +1 -1 CMakeLists.txt A desktopthumbnail.desktop WebSVN link: http://websvn.kde.org/?view=rev&revision=954443