Bug 464866 - WebP don't show thumbnails in Recent Documents
Summary: WebP don't show thumbnails in Recent Documents
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: amyspark
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-01-26 19:05 UTC by Freya Lupen
Modified: 2023-02-06 16:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freya Lupen 2023-01-26 19:05:54 UTC
SUMMARY
WebP don't show thumbnails in Recent Documents, because KisFileIconCreator uses QImage to create the thumbnails, and QImageReader::supportedImageFormats() isn't reporting .webp as a supported format.
This issue occurs after the update to Qt 5.15, but works on earlier versions of Krita (5.2.x-19d3f923b).

STEPS TO REPRODUCE
1. Open a WebP image.
2. Close the image and check the Recent Documents list.

OBSERVED RESULT
A WebP thumbnail.

EXPECTED RESULT
Missing WebP thumbnail.

SOFTWARE/OS VERSIONS
Krita 5.2.x git hash ee93c0498f.
Qt Version: 5.15.7
Comment 1 wolthera 2023-01-26 19:08:41 UTC
I can confirm with the Krita Version: 5.2.0-prealpha (git 5c98a72) Appimage with Qt 5.15.7
Comment 2 amyspark 2023-02-06 16:26:56 UTC
Found it. The upgrade to Qt 5.15 didn't carry over qtimageformats.