Bug 499488

Summary: WebP Images are not shown
Product: [Applications] Tokodon Reporter: 白川間瀬流 <vamp898-kde>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 24.12.1   
Target Milestone: ---   
Platform: Android   
OS: Android 14.x   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 白川間瀬流 2025-02-04 06:54:44 UTC
SUMMARY
A lot of Servers don't use JPEG or PNG but webp for images (especially Misskey), these images are not shown on Tokodon on Android (they just load endlessly)

STEPS TO REPRODUCE
1. Follow People from misskey instances

OBSERVED RESULT
Images doesn't load

EXPECTED RESULT
Image should show properly

SOFTWARE/OS VERSIONS
Latest Tokodon Version installed via F-Droid from the KDE Android Release Builds Repository (Version 24.12.2)

ADDITIONAL INFORMATION
They are not shown on the Desktop Version either until qt6-imageformats is installed. As soon that package is installed, the images load flawlessly. So i assume, this dependency is missing on Android.
Comment 1 Joshua Goins 2025-02-10 20:36:01 UTC
Ah, this has been bothering me too. I noticed that Misskey instances never loaded images for me on mobile, but this makes sense.
Comment 2 Bug Janitor Service 2025-02-10 21:56:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/packaging/craft-blueprints-kde/-/merge_requests/1162
Comment 3 Joshua Goins 2025-02-11 09:48:39 UTC
Git commit 24ec34e332c4a3ad5b64274c384046976182f9a9 by Joshua Goins.
Committed on 10/02/2025 at 21:56.
Pushed by carlschwan into branch 'master'.

tokodon: Add dependency on qtimageformats

This fixes loading WebP attachments, which are common from certain
Fediverse software.

M  +1    -0    kde/applications/tokodon/tokodon.py

https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/24ec34e332c4a3ad5b64274c384046976182f9a9