Bug 350082 - missing some icons
Summary: missing some icons
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 16.12.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-10 08:34 UTC by Ehsan Tork
Modified: 2017-09-03 17:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
strace -o ../dolphin_missing_icon.txt dolphin ~/missingicon (319.46 KB, application/gzip)
2015-11-28 16:06 UTC, Alexis Murzeau
Details
screenshot showing file view, property dialog and file type editor for pcap file type (98.92 KB, image/png)
2015-11-28 16:07 UTC, Alexis Murzeau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ehsan Tork 2015-07-10 08:34:58 UTC
some icons in files view are missing and empty. for example .apk. i use dolphin-git for kf5.

Reproducible: Always
Comment 1 Alexis Murzeau 2015-11-28 16:06:13 UTC
Created attachment 95787 [details]
strace -o ../dolphin_missing_icon.txt dolphin ~/missingicon

I can reproduce this too in debian sid with mime types without icons.
For example, .pcap files have the mimetype "application/vnd.tcpdump.pcap" which don't have an associated icon on my system.

In dolphin file view, the file don't have any icon, but the information panel and property dialog shows the unknown.png icon (like /usr/share/icons/oxygen/48x48/mimetypes/unknown.png as I use oxygen theme)

See also in attachment a screenshot and strace output of this scenario:
$ strace -o ../dolphin_missing_icon.txt dolphin ~/missingicon
- single-click on "packets.pcap" to select it
- close dolphin

------
Dolphin 15.08.2
KDE Frameworks 5.15.0
Qt 5.5.1
Comment 2 Alexis Murzeau 2015-11-28 16:07:55 UTC
Created attachment 95788 [details]
screenshot showing file view, property dialog and file type editor for pcap file type
Comment 3 Syam 2015-11-30 01:04:42 UTC
It seems that unknown MIME types are shown with an 'unknown' icon - one with a question martk. Nut known mime type without any set icons show up blank in Dolphin.

A bug report was filed against icons component (bug #355902) for APK files and the icons team says that it's not in their control how applications display known mime types with no icons set.

In contrast, if I create a new file with random contents and random extension (an unknown mime type), it gets an unknown icon.
dd if=/dev/zero of=foo.hku bs=1M count=1
Comment 4 michael 2016-05-23 04:37:05 UTC
This appears to be fixed by commit 44d4d2ea715719a08c639541530a5b330647297d which was not back-ported to 15.12.3.