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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silently dropped media description (aka image caption or alt-text) when the media description is too long. #13823

Open
1 task
subsys-R9boq8 opened this issue May 11, 2024 · 0 comments
Labels
鈿狅笍bug? This might be a bug

Comments

@subsys-R9boq8
Copy link

馃挕 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

  1. Open the note creating interface and upload an image/select an image from the drive.
  2. Add a media description that is longer than 512 characters, click the tick on the up-right corner.
  3. Re-click the image and click "add caption" in pop up menu.
  4. 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
@subsys-R9boq8 subsys-R9boq8 added the 鈿狅笍bug? This might be a bug label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
鈿狅笍bug? This might be a bug
Projects
Status: Triage
Development

No branches or pull requests

1 participant