Bug 423431 - No thumbnails in low resource mode for Canon PowerShot A700 photos
Summary: No thumbnails in low resource mode for Canon PowerShot A700 photos
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.08.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 428013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-24 10:08 UTC by bug2019@fantasymail.de
Modified: 2025-09-05 04:47 UTC (History)
3 users (show)

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


Attachments
Sample image take with Canon PowerShot A700 (2.08 MB, image/jpeg)
2020-06-24 10:08 UTC, bug2019@fantasymail.de
Details
Gwenview showing a unicolor thumbnail (86.09 KB, image/png)
2020-06-24 10:09 UTC, bug2019@fantasymail.de
Details
Personal fix for this bug (1.10 KB, patch)
2021-01-17 07:52 UTC, bug2019@fantasymail.de
Details
Gwenview 23.08.5 screenshot - small thumbnails (289.06 KB, image/png)
2025-08-21 07:47 UTC, bug2019@fantasymail.de
Details
Gwenview 23.08.5 screenshot - bigger thumbnails (95.83 KB, image/png)
2025-08-21 07:48 UTC, bug2019@fantasymail.de
Details
Gwenview 25.04.3 screenshot (87.51 KB, image/png)
2025-08-21 08:32 UTC, bug2019@fantasymail.de
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bug2019@fantasymail.de 2020-06-24 10:08:54 UTC
Created attachment 129630 [details]
Sample image take with Canon PowerShot A700

Gwenview does not show thumbnails for Canon PowerShot A700 photos when in low resource mode (see Screenshot and sample image).
Maybe the problem is an invalid exif thumbnail size (exiftool prints "Thumbnail Image Valid Area: 0 0 0 0" for these images).

STEPS TO REPRODUCE
1. Switch gwenview to "Low resource usage mode"
2. Restart gwenview to clear thumbnail cache
3. Open gwenview in folder with sample image

OBSERVED RESULT
The thumbnail for the sample image is only unicolor.

EXPECTED RESULT
The thumbnail should be a small version of the actual photo.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04 LTS
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 bug2019@fantasymail.de 2020-06-24 10:09:26 UTC
Created attachment 129631 [details]
Gwenview showing a unicolor thumbnail
Comment 2 bug2019@fantasymail.de 2020-06-24 12:15:51 UTC
The problem seems to be in lib/jpegcontent.cpp line 581 (https://github.com/KDE/gwenview/blob/master/lib/jpegcontent.cpp#L581).
As stated here https://exiftool.org/TagNames/Canon.html, the four zeros mean 'no crop'.
If the validArea rect is created by two QPoint(0, 0) it results in a QRect(0,0 1x1).
I think this should be QRect(0,0 0x0).
Maybe this is a Qt bug?
Comment 3 bug2019@fantasymail.de 2021-01-17 07:52:30 UTC
Created attachment 134952 [details]
Personal fix for this bug

I fixed the bug for myself with this change.
Comment 4 bug2019@fantasymail.de 2022-12-11 15:19:30 UTC
Bug still exists in current Kubuntu 22.10 installation running Gwenview 22.08.2.
Comment 5 Andy 2023-03-14 11:44:46 UTC
*** Bug 428013 has been marked as a duplicate of this bug. ***
Comment 6 Andy 2023-03-14 11:47:44 UTC
Problem also occurs with a Canon Ixus 255 camera.  An example image file from that camera is attached to this duplicate bug report:
https://bugs.kde.org/show_bug.cgi?id=428013
Comment 7 A Linux User 2025-08-21 00:39:06 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 8 bug2019@fantasymail.de 2025-08-21 07:47:50 UTC
Created attachment 184308 [details]
Gwenview 23.08.5 screenshot - small thumbnails
Comment 9 bug2019@fantasymail.de 2025-08-21 07:48:35 UTC
Created attachment 184309 [details]
Gwenview 23.08.5 screenshot - bigger thumbnails

The bug still exists in version Gwenview 23.08.5 (Kubuntu 24.04.3 LTS), but now I can reproduce it only at bigger thumbnail sizes.
Using smaller thumbnail overview, the image is correct (see first screenshot), scaling up the thumbnails it changes to the wrong preview (see second screenshot).
Comment 10 bug2019@fantasymail.de 2025-08-21 08:32:41 UTC
Created attachment 184310 [details]
Gwenview 25.04.3 screenshot

Just tested with current Neon setup (Gwenview 25.04.3): The bug still exists and shows up at any thumbnail size.
I had to delete ~/.cache/thumbnails after switching to "low resource" mode - "low resource" does not store new thumbnails, but does not delete already existing.
Comment 11 Bug Janitor Service 2025-09-05 03:47:58 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!