Bug 488532 - Alt text not displaying when Alt Text overlay is clicked on.
Summary: Alt text not displaying when Alt Text overlay is clicked on.
Status: RESOLVED FIXED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 12:32 UTC by Kevin Frost
Modified: 2024-10-19 21:53 UTC (History)
2 users (show)

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


Attachments
Pop up image showing expanded image and Alt Text (180.26 KB, image/png)
2024-06-15 12:32 UTC, Kevin Frost
Details
Post showing "Save Image As..." on post. (172.35 KB, image/png)
2024-06-15 12:34 UTC, Kevin Frost
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Frost 2024-06-15 12:32:45 UTC
Created attachment 170521 [details]
Pop up image showing expanded image and Alt Text

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Open Tokodon 24.05.1 (Flatpak version) on Kubuntu 24.04, under Wayland - MastodonApp.uk site
2. Scroll down to an post with an image with the Alt overlay in the top right corner of the image.
3. Click on Alt overlay to review the Alt Text.

OBSERVED RESULT
Nothing happens. The image does not expand into a pop up, and the Alt Text is not displayed.


EXPECTED RESULT
On previous version 2024-04-12, clicking on either the image or the Alt Text overlay would pop up an expanded version of the image with the Alt Text underneath the image (see attached image).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version:  5.15.13
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Right mouse click brings up the "Save Image As..." pop up dialogue box (see attached image).
I have moved the .var/app/org.kde.tokodon folder so that Tokodon starts fresh and having to logon to the site. Still same result. 

Flatpak downgrading to the 2024-04-12 version works okay, with the image being displayed as stated above.
Comment 1 Kevin Frost 2024-06-15 12:34:09 UTC
Created attachment 170522 [details]
Post showing "Save Image As..." on post.
Comment 2 Joshua Goins 2024-06-15 21:42:21 UTC
It's intentional that clicking it does not reveal the alt text, but I'm keeping it open as I might want to actually make that a feature. It would also be a convenient place to put a "translate alt text" feature in the future.

Currently the only way to view the alt text is to open the image by tapping it.
Comment 3 Kevin Frost 2024-06-16 12:31:33 UTC
Thanks for coming back so quickly.
Okay on the reasoning behind not revealing the Alt Text when clicking on it, but having the Alt Text as clickable would mean that it would be okay for screen readers I would have thought. Also, saving the image and viewing it on an external viewer doesn't show the Alt Text.

Apart from that, thanks for making a really nice to use program. It's come on leaps and bounds.
Comment 4 Joshua Goins 2024-06-16 18:01:44 UTC
(In reply to Kevin Frost from comment #3)
> Also, saving the image and viewing it on an external viewer doesn't show the Alt Text.

Interesting, is there any other software that does this? If so, I can try replicating it in Tokodon. From what I heard, there's not a standard way to tag images with alt-text...
Comment 5 Kevin Frost 2024-06-17 09:57:21 UTC
I need to say that I'm not blind, just, being disabled, I tend to look out for things that impact upon the disabled. I did not try the old versions of Tokodon which displayed both the image and the Alt Text when clicking on it, but not the latest version does not do that. Clicking on the image does not even bring up the image in a separate window, which I miss. I cannot comment on whether screen readers would speak out the text on the pop up either, not having ever tried it.
Comment 6 Kevin Frost 2024-06-17 18:32:36 UTC
* I did try the old versions of Tokodon *
Comment 7 Joshua Goins 2024-10-19 21:53:24 UTC
Git commit 5ee4a2199ed7c6764038a8d6db47bcc684d18ec7 by Joshua Goins.
Committed on 19/10/2024 at 21:53.
Pushed by redstrate into branch 'master'.

Display media descriptions (or alt text) in a popup when clicked

This is just another, additional way to get to this text information. It
could also be useful for sighted users who wish to see the media
description while still hiding the image.

M  +14   -1    src/content/ui/PostDelegate/MediaContainer.qml

https://invent.kde.org/network/tokodon/-/commit/5ee4a2199ed7c6764038a8d6db47bcc684d18ec7