Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images with long alt text can't be viewed fullscreen #3278

Open
Jaffex opened this issue Sep 12, 2024 · 2 comments
Open

Images with long alt text can't be viewed fullscreen #3278

Jaffex opened this issue Sep 12, 2024 · 2 comments
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@Jaffex
Copy link

Jaffex commented Sep 12, 2024

Steps to reproduce

When receiving images with a long alt text, trying to zoom in on the image will only show the full alt text.

Let's imagine I received 2 messages of type m.image that also contain a body as depicted here:
IMG_5967

The first image has a very short alt text - tapping on it opens the image in fullscreen and the alt text ("hello") is shown above:
IMG_5968

But now let's tap on the second image with a longer alt text.

Outcome

What did you expect?

I would have expected a full screen version of the tapped image, so I could potentially zoom in on the image or simply look at it in a bigger version.

What happened instead?

An image with a longer alt text when tapped on, will show both an abbreviated version of the alt text at the top as well as the alt text in full instead of the image:

IMG_5969

Your phone model

iPhone 12 mini

Operating system version

iOS 17.6.1

Application version

1.8.0 (122)

Homeserver

Synapse 1.114.0

Will you send logs?

No

@Jaffex
Copy link
Author

Jaffex commented Sep 12, 2024

Slightly related to element-hq/element-meta#2370 (?)

@Velin92 Velin92 added A-Media S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely labels Sep 16, 2024
@wrjlewis
Copy link

I have a similar issue to this one, but the image fails to show full screen and I don't get alt text either. The body of the image is fairly huge and it causes a filename too long os error in ElementX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Media O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

3 participants