Bug 391404 - RFE: Dolphin shows an icon corresponding to the file suffix. It show one corresponding to the actual file type.
Summary: RFE: Dolphin shows an icon corresponding to the file suffix. It show one corr...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.43.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-04 22:56 UTC by David Tonhofer
Modified: 2020-06-07 12:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Tonhofer 2018-03-04 22:56:15 UTC
As I have currently a bit of trouble with Dolphin renaming my files willy-nilly, I though that:

Currently Dolpin displays an icon depending on the file suffix, e.g. one "image" icon for ".png", and another for ".pdf" - irrespective of the true file type (which is ontained by a call to the functionality of 'file' I suppose), which can be checked in the "properties" dialog.

Showing a file icon depending on the actual file type instead of the file suffix would be the Right Thing to do. It would alert the user to a type problem if a ".png" is displayed as a pdf for example.

If there is no suffix in the first place, the icon displayed depends on the file type in any case. So one would also be consistent here.
Comment 1 Kai Uwe Broulik 2018-03-05 09:10:20 UTC
That is KFileItem in KIO iirc and is done for speed.
Comment 2 K.J. Petrie 2020-06-07 12:19:25 UTC
I suspect a related issue (possibly the same) is that in its Open dialogue Okular only shows as "All Supported Files" those with a .pdf suffix, which is confusing if PDFs are saved without it.

However, if "All Files" is selected the correct icon is shown.
Comment 3 K.J. Petrie 2020-06-07 12:22:57 UTC
Forget that. Dolphin shows the correct icon so this is not the same bug, if the bug actually still exists.