Bug 254871 - Badge preview icon with file type
Summary: Badge preview icon with file type
Status: RESOLVED INTENTIONAL
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 18.12.3
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 14:52 UTC by Maxime Corteel
Modified: 2019-03-25 02:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Corteel 2010-10-21 14:52:01 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

It would be really cool to be able (through config) to display a little icon in preview mode, e.g. in the bottom-right corner of the preview.
In fact, in preview mode, it's more difficult to tell the type of file and this would help!

Reproducible: Didn't try
Comment 1 N. Dacres 2012-07-06 03:46:23 UTC
(In reply to comment #0)
> Version:           unspecified (using KDE 4.5.2) 
> OS:                Linux
> 
> It would be really cool to be able (through config) to display a little icon
> in preview mode, e.g. in the bottom-right corner of the preview.
> In fact, in preview mode, it's more difficult to tell the type of file and
> this would help!

the filetype text is superimposed on the preview already, if this is unsatisfactory please elaborate.
Comment 2 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:18:37 UTC
Resetting assignee to default as per bug #305719
Comment 3 Maxime Corteel 2017-08-19 08:24:02 UTC
I guess what I meant (I just stumbled upon this bug after 7 years) is that the icon displayed in normal mode (with preview disabled) could be displayed in a smaller version in the bottom-right corner of the preview when in preview mode.
Comment 4 Nate Graham 2019-03-18 15:13:10 UTC
I notice that the text file thumbnailer does indeed add a tiny almost-entirely-transparent badge of the app icon into the bottom-right corner. Probably this should be made non-transparent and added to other thumbnailers too.
Comment 5 Nate Graham 2019-03-18 16:27:44 UTC
I'm working on this now. Adding these badges back is not hard, but they're actually really annoying because they can take up a significant fraction of the preview area, partially defeating the purpose of having a preview in the first place. I feel like I maybe see why they were removed.

Another issue is that a lot of the mimetype icons are pretty useless right now. For example all of the image, audio, and video mimetype icons do not actually visually indicate in any way what their file type is--either with a symbol, or with built-in text. As a result, they're just visual noise right now.

I'm going to try to position the icons less obtrusively and reduce their size, and see if that provides a better user experience. We may also need to improve many of the mimetype icons so that they have some meaning on their own.
Comment 6 Nate Graham 2019-03-25 02:01:16 UTC
So I gave this a shot. Honestly I didn't like the result. The mimetype icons were very distracting, and the Breeze icons for many mimetypes have no real meaning, so there isn't actually any advantage to badging the icon with them (this is especially true of the image, audio, and video mimetype icons).

We could improve a whole mess of Breeze icons to be more meaningful (e.g. adding "JPG" into the mimetype icon for jpegs but even then, the icon is pretty distracting on top of the preview. I tried it out with various sizes and honestly nothing felt right. At a very tiny size, the mimetype icon was incomprehensible and useless. Any bigger, and it felt like it took up too much space on the preview.

Overall I was left with the impression that this would actually be a regression. So I don't think it will get done, sorry!