If user tries to enter media description that is too long (>512 characters?) for an image, the alt-text is silently dropped and no media description is added at all. This cannot be realized without reviewing one's previously sent posts or revisit image caption.
🥰 Expected Behavior
Media description is added, or at the very least an error like "Media description text count exceeded limit" is given to user trying to add an media description longer than supported.
🤬 Actual Behavior
Media description is silently dropped without informing the user about what has just happened.
📝 Steps to Reproduce
Open the note creating interface and upload an image/select an image from the drive.
Add a media description that is longer than 512 characters, click the tick on the up-right corner.
Re-click the image and click "add caption" in pop up menu.
The image description is not saved at all.
💻 Frontend Environment
Originally appeared on:
* Model and OS of the device(s): Pixel 4a, Android 13
* Browser: Chrome 124.0.6367.159
* Server URL: (I'm not comfortable disclosing this)
* Misskey: 2024.3.1
Replicated on:
* Model and OS of the device(s): Virtual Machine, Linux
* Browser: Tor Browser 13.0.14 (based on Mozilla Firefox 115.10.0esr), Security Level Standard (All browser functions enabled)
* Server URL: zmi.im
* Misskey: 2024.3.1
🛰 Backend Environment (for server admin)
No idea, I'm only a user.
Do you want to address this bug yourself?
[ ] Yes, I will patch the bug myself and send a pull request
💡 Summary
If user tries to enter media description that is too long (>512 characters?) for an image, the alt-text is silently dropped and no media description is added at all. This cannot be realized without reviewing one's previously sent posts or revisit image caption.
🥰 Expected Behavior
Media description is added, or at the very least an error like "Media description text count exceeded limit" is given to user trying to add an media description longer than supported.
🤬 Actual Behavior
Media description is silently dropped without informing the user about what has just happened.
📝 Steps to Reproduce
💻 Frontend Environment
🛰 Backend Environment (for server admin)
Do you want to address this bug yourself?