Is it possible to ensure that default file manager in a clean install generates thumbnails for reasonably sized images (for example 5 MB photos)?

Recently I run into confusing problem where some photos were not getting thumbs ( see https://askubuntu.com/questions/1543150/how-can-i-fix-qgis-logo-appearing-instead-of-thumbnail-of-a-photo )

Turned out that default settings in PCManFM-QT are generating thumbs only for files smaller than 4 MB.

Which nowadays is a very silly default as normal photos taken by smartphones are commonly larger. I can try to get statistics if someone doubts about that.

I also think that it is fairly safe assumption that people expect thumbnails for photos.

I tried reporting problem at [Feature request] Increase default thumbnailer limit as photos nowadays are commonly larger than 4MB · Issue #2024 · lxqt/pcmanfm-qt · GitHub but it got wontfixed.

Is it possible for Lubuntu to override this default in one of future releases?
Or is such patching not done for maintainability reasons?

It would be nice if defaults would be less user-hostile and getting reasonable behaviour would not require changing settings.

Not surprised. Upstream tends to be very selective when it comes to changes.

They tend to value things that make sense for a wide variety of types of users (whether they be maximalists or minimalists, whether they prioritize functionality or performance), are broadly applicable in terms of compatibility, provide the most amount of user control, and yet are simple.

I think the way it is meets that criteria. Interestingly that was set by PC Man himself 8 years ago. It hasn’t been changed once. It also does not appear that anyone else has complained since.

Possible, yes. Justifiable? Maybe not. Lubuntu does cater to folks seeking a lightweight solution. While we don’t want to cripple functionality just for performance gains, we’re not going to try to add all of the possible functionality. We’re not going to add support for thumbnails of comics, for example.

Thumbnails do take resources to generate. The fastest library apparently takes roughly half a second of about 80% CPU for a 7 MB file. Consider a folder of hundreds or thousands of such images.

That said, the way it is strikes a balance. It provides thumbnails for most things (including nearly all of our many wallpapers) while not stealing processing power for the largest of images.

And if you don’t like it, it’s easy to change.

If the response here is overwhelmingly in favor of increasing the default, that may help convince us.

2 Likes

Hmm. I can easily imagine someone not using thumbnails at all (if they see them elsewhere or it is unacceptable performance cost).

But I have not expected that some people would want to see thumbs on say half of photos coming from their smartphone.

There’s a bit of work going on with TUIs, thumbnails, even playing movies e.g. mpv in xterm or kitty …

Imagemagick has a converter to sixel that can be leveraged to make thumbnails (e.g lsix) that display in an xterm (vt340 or so).

I am hoping that soon, qterminal can render sixel or kitty formats (I really like qterminal with its xml bookmarks, mc combo, etc.)