Bug 390254 - Icon thumbnails not generated for 64-bit .exe files
Summary: Icon thumbnails not generated for 64-bit .exe files
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.43.0
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-11 09:43 UTC by David
Modified: 2021-04-22 15:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
winrar exe's (12.90 KB, image/png)
2018-02-12 13:01 UTC, David
Details
exe icon currently (21.86 KB, image/png)
2018-02-12 20:12 UTC, Edmund Kasprzak
Details
exe icons in plasma 5.12 (16.97 KB, image/png)
2018-02-12 20:35 UTC, David
Details
debian 9 kde icons (161.82 KB, application/pdf)
2018-02-18 12:36 UTC, Edmund Kasprzak
Details
preview enabled icons (112.08 KB, application/pdf)
2018-02-18 13:36 UTC, Edmund Kasprzak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-02-11 09:43:56 UTC
If I'm browsing a folder in preview mode in which there are 64-bit .exe files, dolphin fails to show their icons as it does for 32-bit .exe files.
Comment 1 Edmund Kasprzak 2018-02-11 15:55:26 UTC
I can't see any difference in my environment (PLasma 5.12.0, KF 5.43.0, Qt 5.9.3, dolphin 17.12.2).

Could you post some screenshot showing the difference what exactly dolphin displays for 32bit and 64bit exe files in your desktop?
Comment 2 David 2018-02-12 13:01:29 UTC
Created attachment 110556 [details]
winrar exe's

Seems the problem got fixed with plasma 5.12. But I'm attaching a screenshot here just in case, with the 32-bit and 64-bit versions of winrar downloaded from https://www.rarlab.com/download.htm
Comment 3 Edmund Kasprzak 2018-02-12 20:12:59 UTC
Created attachment 110576 [details]
exe icon currently

32-bit looks really "interesting". It's not some generic icon for exe.
It actually represents a RAR icon, more like some very old RAR icon.

I have no clue from where and why KDE took that very specific RAR-like icon.

However, currently it looks the same like in attachment (third icon is RAR-sfx type archive I created just for test).

Neon Git Stable (Plasma 5.12.0, KF 5.43.0, Qt 5.9.3, Dolphin 17.12.2)
Comment 4 David 2018-02-12 20:35:26 UTC
Created attachment 110578 [details]
exe icons in plasma 5.12

That's funny, although I'm pretty sure I had more than one 64-bit .exe not displaying its icon. But in plasma 5.12.0, the x64 winrar now shows the same icon as the 32-bit one (attached a screenshot here).
Comment 5 Edmund Kasprzak 2018-02-12 21:33:46 UTC
These are still non-generic exe icons, but some rar-specific icons.

What Icon theme are you using (does it change if you switch theme to breeze for example?)
With breeze and oxygen icon themes I can see different icons, but these always look like generic exe.
I'm really curious from where they come from.

Can you check how it looks on some test user with fresh/empty profile?
Comment 6 David 2018-02-12 21:56:22 UTC
I'm using oxygen, but they look the same with breeze. The first picture I uploaded was from a fresh user in a fresh debian stretch install, with breeze-everything, while the second one was with oxygen icons.
Comment 7 Edmund Kasprzak 2018-02-18 12:36:42 UTC
Created attachment 110782 [details]
debian 9 kde icons

I got interested and installed debian 9.
apt update & upgrade of today (18/02/2018).

Icons looks the same (for exe files) for breeze, adwaita, monochrome and oxygen icons.
Details in attachment.

It must be something specific in your environment.

My vote is to close this bug as it can't be recreated on Plasma 5.8/debian9 and 5.12/neon git stable.
Comment 8 David 2018-02-18 12:40:34 UTC
(In reply to Edmund Kasprzak from comment #7)
> Created attachment 110782 [details]
> debian 9 kde icons
> 
> I got interested and installed debian 9.
> apt update & upgrade of today (18/02/2018).
> 
> Icons looks the same (for exe files) for breeze, adwaita, monochrome and
> oxygen icons.
> Details in attachment.
> 
> It must be something specific in your environment.
> 
> My vote is to close this bug as it can't be recreated on Plasma 5.8/debian9
> and 5.12/neon git stable.

Did you, by the way, enable previews of .exe files? (Dolphin -> Control -> Configure Dolphin -> General -> Previews -> check 'Microsoft Windows Executables')
Comment 9 Edmund Kasprzak 2018-02-18 13:36:13 UTC
Created attachment 110783 [details]
preview enabled icons

David, thanks for that hint!
That's what I was missing (I was just clicking preview button in dolphin, didn't have it enabled for exe in settings).

In that case, I can confirm the issue in most recent Plasma 5.12, it looks like KDE gets this embedded icon in some classic-way (I compared it to Windows 2012 with preview-enabled option in explorer).

Summary:
When preview of exe files is enabled:
1. SFX archive exe file displays a proper embedded icon (it's the same in KDE and windows),
2. 64-bit exe file doesn't display an embedded icon at all (it just shows generic-exe icon),
3. 32-bit exe file displays an embedded icon in some old-way as it's different on KDE and windows.

For developer: I can do some more tests if necessary, just let me know.