Any idea why some .jpg get QGIS as thumbnail? And how to fix it?
I am using PCManFM-Qt 1.4.1 and had similar problem already on Lubuntu 20.04. It is still happening on a brand new Lubuntu 24.04 install.
I set default opening program already and it works fine
file --mime-type IMG_20250302_093435.jpg
shows image/jpeg
in ~/.config/mimeapps.list
qgis is only under application/geo+json=org.qgis.qgis.desktop; and application/json=org.qgis.qgis.desktop;
I deleted /home/mateusz/.cache/thumbnails
just in case
xdg-mime query default image/jpeg
shows org.gnome.eog.desktop
exiftool IMG_20250302_093435.jpg
has entry Thumbnail Image : (Binary data 49792 bytes, use -b option to extract)
- no idea is it indicating anything bad
exiftool -b -ThumbnailImage IMG_20250302_093435.jpg > extracted_thumbnail.jpg
extracts 100% fine image
I have not disabled thumbnails.
What you are seeing is not a thumbnail, but an icon. This is what you see when thumbnails are not shown.
If you would like to see a thumbnail of files, you will need to ensure that PCManFM-Qt is configured to show them: