-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
HTML-formatted Media Captions not supported by Element client #27927
Comments
I think this is resolved by element-hq/matrix-react-sdk#43 . But still no way to send captions from Element Web unless I'm missing something. |
Hi @t3chguy @ajkessel GREAT, thanks for that, works well for Element/Web and Element/Windows, also older events prepared in the test are now displayed correctly. Element/IOS (I assume also Element/Android) are not yet corrected. |
@RannerDesign this repo is unrelated to any other platforms or projects, so an issue here does not affect iOS or Android. |
@ajkessel I doubt the product team has even seen an issue from yesterday never mind chose to include it in their quarterly roadmaps which are planned a quarter-3 in advance |
Sorry! I didn't mean to imply that my own new issue would be the trigger. The issue itself has been around for at least four years, and since the ability to render captions recently got some attention, I was wondering if anyone had thought at the same time about the ability to send captions in Element. Other clients support it but none that have thread support as of yet. |
That roadmap repository hasn't been touched in 2 years, not sure where they keep track of the roadmap nowadays. The ability to render captions was a community contribution. |
Steps to reproduce
HTML-formatted Media Captions not supported by Element client
The Client-Server-API describes in chapter 10.2.2.7 how to set up captions for media
https://spec.matrix.org/unstable/client-server-api/#media-captions
Unfortunately the support for HTML-formatted captions could not be verified in the following tests.
The tests were performed in the following environments:
Element Desktop on Windows 10 pro 22H2 (Build 19045.4780)
Version von Element: 1.11.74
Krypto-Version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0
Element Web
Version von Element: 1.11.74
Krypto-Version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0
accessed with Chrome Version 127.0.6533.120 (Offizieller Build) (64-Bit)
Element IOS client
Element 1.11.16 (20240723142348)
Matrix SDK 0.27.11
Rust Crypto SDK 0.7.1 (Vodozemac 0.6.0)
The following server and user environment was used:
The generation of events was performed with Python scripts using matrix-nio
Test 1: as recommended with filename != body
Result for Desktop unexpected:
Fotograf 7 (22.71 KB)
with mouse-over thumbnail and title of large image
Result for Web unexpected:
Result for IOS unexpected:
No display of any caption
Test 2: with filename = body
Result for Desktop as expected:
testbild1.jpg (21.08 KB)
with mouse-over thumbnail and title of large image
Result for Web as expected:
Result for IOS unexpected:
No display of any caption
Test 3: without filename
Result for Desktop as expected:
Fotograf 3 (22.14 KB)
with mouse-over thumbnail and title of large image
Result for Web as expected:
Result for IOS unexpected:
No display of any caption
Test4: with filename and empty body
Result for Desktop suprisingly:
Bild (22.49 KB)
with mouse-over thumbnail and title of large image
Result for Web suprisingly:
Result for IOS unexpected:
No display of any caption
It could not be understood, that as caption there were 4 letters taken from inside the formatted_body
Outcome
What did you expect?
Display of caption like defined in formatted_body
What happened instead?
Display of caption taken from body with unexpected surprise, if body is empty
on IOS no caption is displayed at all
Operating system
Windows 10 pro 22H2 (Build 19045.4780)
Browser information
Chrome Version 127.0.6533.120
URL for webapp
https://app.element.io/#/room/!mNtkvlOYMJmlSPpMZt:matrix.org
Application version
Element: 1.11.74 Krypto-Version: Rust SDK 0.7.1 (c8c9d15), Vodozemac 0.6.0
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: