Bug 428292

Summary: "unknown" icon shows up as blank
Product: [Frameworks and Libraries] frameworks-kio Reporter: medin <med.medin.2014>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: a.samirh78, bugseforuns, fella, joey.joey586, kainz.a, kdelibs-bugs-null, kremmarmin, nate
Priority: NOR Keywords: regression
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=426739
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: file with rdf extension has empty icon
Empty icon system file
msi empty icon

Description medin 2020-10-26 19:13:01 UTC
Created attachment 132770 [details]
file with rdf extension has empty icon

If you set file extension to rdf then the file icon in dolphin and desktop becomes empty. Shouldn't file with unknown extension fall back to some generic icon ? 
See attached image for more info.
Comment 1 medin 2020-10-27 21:42:43 UTC
The same happens with a system file called kdeinit5__0. See attached image for information.
Comment 2 medin 2020-10-27 21:43:23 UTC
Created attachment 132809 [details]
Empty icon system file
Comment 3 medin 2020-11-10 20:29:55 UTC
The same happens with .msi file
Comment 4 medin 2020-11-10 20:30:43 UTC
Created attachment 133211 [details]
msi empty icon
Comment 5 Christoph Feck 2020-11-10 21:04:26 UTC
This doesn't look like a Breeze bug. The fallback to the "unknown" icon was broken somewhere else.
Comment 6 medin 2020-11-10 21:17:31 UTC
(In reply to Christoph Feck from comment #5)
> This doesn't look like a Breeze bug. The fallback to the "unknown" icon was
> broken somewhere else.

I don't use any third party theme icon, the one I use is dark breeze theme.
Comment 7 Christoph Feck 2020-11-10 21:32:39 UTC
Sorry, I wasn't clear. The issue is either in Dolphin, in kio, or in kiconthemes framework.
Comment 8 Patrick Silva 2020-11-11 11:11:44 UTC
it seems related to bug 406023
Comment 9 medin 2020-11-11 12:15:12 UTC
(In reply to Patrick Silva from comment #8)
> it seems related to bug 406023

For me the files with those extensions : 
rdf, msi, pem,...
system files e.g /kdeinit5__0, /var/run/dmeventd-client, /etc/vconsole.conf, /etc/ca-certificates/extracted/cadir/e8de2f56.0, /dev/sda, /dev/cdrom, /dev/tty0, /dev/vcs3, /dev/zero,...
have no icons both in dolphin and desktop (I copied some of those to desktop).
Comment 10 medin 2020-11-12 00:28:43 UTC
(In reply to Christoph Feck from comment #7)
> Sorry, I wasn't clear. The issue is either in Dolphin, in kio, or in
> kiconthemes framework.

Yeah you are right I installed Krusader and it really shows those missing icons, it displays white icon for those uknown types.
Comment 11 Nate Graham 2020-11-16 16:42:24 UTC
(In reply to Christoph Feck from comment #5)
> This doesn't look like a Breeze bug. The fallback to the "unknown" icon was
> broken somewhere else.
Yes I think that's true, given that it happens in Dolphin, Folder View, and the file dialogs. Moving to KIO for now. Could also be in kiconthemes.
Comment 12 Nate Graham 2020-11-16 16:42:44 UTC
*** Bug 428572 has been marked as a duplicate of this bug. ***
Comment 13 Ahmad Samir 2020-11-16 18:36:02 UTC
Looks like it's been fixed in release/20.12 and master with https://invent.kde.org/system/dolphin/commit/1208f86696bde5011f57b1b577d149a1013d2553
Comment 14 Nate Graham 2020-11-16 21:14:58 UTC
Yup, can confirm that it was fixed with that commit. Excellent!
Comment 15 Patrick Silva 2020-11-16 23:23:26 UTC
*** Bug 426739 has been marked as a duplicate of this bug. ***
Comment 16 Nate Graham 2020-11-23 18:31:40 UTC
*** Bug 429429 has been marked as a duplicate of this bug. ***