Bug 380873 - Folder icons in Folder View show a preview of the contents of .desktop file
Summary: Folder icons in Folder View show a preview of the contents of .desktop file
Status: RESOLVED DUPLICATE of bug 220330
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.10.1
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-06 04:33 UTC by Bernie Innocenti
Modified: 2017-06-20 02:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of desktop icons (127.56 KB, image/png)
2017-06-06 04:33 UTC, Bernie Innocenti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernie Innocenti 2017-06-06 04:33:29 UTC
Created attachment 105940 [details]
Screenshot of desktop icons

See attached screenshot. The same icons display as folders in Dolphin.

Worked with Plasma 5.9.5, broke when I upgraded to 5.10
Comment 1 Kai Uwe Broulik 2017-06-06 05:40:19 UTC
Well, they're .desktop files which are text files. The same happens in Dolphin if you have thumbnails for text files enabled.

(Check your thumbnail settings in right click desktop → Configure Desktop → Icons → Button "Advanced preview settings")
Comment 2 Bernie Innocenti 2017-06-08 01:24:27 UTC
> Well, they're .desktop files which are text files.

I have text file previews enabled in Plasma 5.9.5, and the folders displayed correctly.

> The same happens in Dolphin if you have thumbnails for text files enabled.

No, Dolphin displays the icons correctly even when text file previews are enabled.
Comment 3 Kai Uwe Broulik 2017-06-08 07:48:13 UTC
It does here. What KIO (KDE Frameworks) and Dolphin version are you on?
Comment 4 Bernie Innocenti 2017-06-09 03:53:20 UTC
kio 5.34.0-1
dolphin 17.04.1-1

This is on Arch Linux. I'll install today's updates (which include qt 5.9.0 and plasma 5.10.1) and report back.
Comment 5 Bernie Innocenti 2017-06-09 04:09:55 UTC
Same behavior with Plasma 5.10.1 and Qt 5.9.0
Comment 6 Bernie Innocenti 2017-06-09 04:15:58 UTC
> No, Dolphin displays the icons correctly even when text file previews are enabled.

I'm very sorry, the above wasn't accurate: text file previews were actually disabled in Dolphin. So, yes, Dolphin behaves the same way as the folder view.

Can it still be considered a bug that previewing text files renders .desktop files as text rather than showing the intended icon?
Comment 7 Christoph Feck 2017-06-20 02:38:38 UTC

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