Bug 507442

Summary: Tokodon does not always load images in posts
Product: [Applications] Tokodon Reporter: Kevin Frost <kevin>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: App window with image displaying rotating gear icon

Description Kevin Frost 2025-07-24 13:41:09 UTC
Created attachment 183488 [details]
App window with image displaying rotating gear icon

SUMMARY
I am using 25.04.3 Tokodon on Kubuntu 25.04 under Wayland and I am finding that quite often, but not always, the images contained in posts are not always displayed automatically, the image is sitting there with the gear icon rotating as though it’s trying to download the image. The image is displayed in the pop-up window, when clicking on the image, and I am finding that, if I right click and go to save image, it’s nearly always either .jpg or .jpeg but have not done an extensive test. If, however, I close the app and restart it immediately, all the images previously not showing are displayed, but if I click on the Load More Tokodon updates and when scrolling up, the images are back to the rotating gear icon.

STEPS TO REPRODUCE
1. Run Tokodon snap.
2. Scroll up to view posts with embedded images.

OBSERVED RESULT
Quite often the image will be replaced with a coloured background and a rotating gear icon in the centre.

EXPECTED RESULT
View the image

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.14.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-24-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1650
snap:    2.70
snapd:   2.70

ADDITIONAL INFORMATION
Error log info:
https://mastodonapp.uk/api/v1/notifications/unread_count: Error transferring https://mastodonapp.uk/api/v1/notifications/unread_count - server replied: 

https://mastodonapp.uk/api/v2/notifications/policy: Error transferring https://mastodonapp.uk/api/v2/notifications/policy - server replied: 

SEE ALSO:
https://discuss.kde.org/t/tokodon-does-not-always-load-images-in-posts/37352
Comment 1 Joshua Goins 2025-07-24 15:13:26 UTC
This was an annoying Qt regression, but I believe it's QTBUG-138399 and suspected to be fixed in 6.9.2 releasing next month. A workaround might be to disable HTTP/2 somehow, but I'm not sure how to on an application-level. Despite this not being a Tokodon bug, I want to keep this bug open to track it and help other users affected by this :)
Comment 2 Joshua Goins 2025-09-22 21:47:56 UTC
Closing as 6.9.2 is here and fixes this issue. I don't know if they backported it 6.8.X though, sorry.