Open RannerDesign opened 4 weeks ago
I have seen that the type „defect“ has been changed to „enhancement“, but I would consider this a defect: It is quite common that people send pictures with additional text e.g. using WhatsApp, and the text, even if it is technically called „caption“, often includes relevant information / personal questions etc. to the recipient. Currently according to this bug it is dropped from the conversation. In my situation it has caused confusion a couple of times already since questions in the caption have not been answered.
So indeed I would be glad if this issue could be addressed and the caption is shown as text below a picture, like it is done in WhatsApp/Signal/other messenger clients or in the desktop/web versions of element.
This feature is happening on ElementX-iOS: https://github.com/element-hq/element-x-ios/pull/3429. The whole feature is available on EXI nightlies. It will be released soon on the App Store.
Steps to reproduce
HTML-formatted Media Captions not supported by Element-IOS 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
After solution of Issue 27927 Element/Web and Element/Windows are supporting unformatted and HTML-formatted captions.
IOS and Android clients currently do not support captions.
The tests were performed in the following environments:
Element Desktop on Windows 10 pro 22H2 (Build 19045.4780) Version von Element: 1.11.83 Krypto-Version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0
Element IOS client Element 1.11.18 (20240917151940) Matrix SDK 0.27.13 Rust Crypto SDK 0.7.2 (Vodozemac 0.7.0)
The following server and user environment was used:
The generation of events was performed with Python scripts using matrix-nio
Results for Element/Windows and Element/Web are now as expected: the image is show with a formatted caption.
Result for Element/IOS is unexpected: the image is shown without caption.
The sources for these events are nearly identical:
Element/Windows
Element/Web
Element/IOS
A support of formatted captions for Element/IOS client like Element/Windows and Element/Web would be highly appreciated.
Outcome
What did you expect?
Image with caption
What happened instead?
Image without caption
Your phone model
iPhone Xs
Operating system version
IOS 18.0.1
Application version
No response
Homeserver
matrrix.org
Will you send logs?
No