Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG]: Can't add GIF image #16967

Closed
5 tasks done
snowtimeglass opened this issue Aug 27, 2024 · 1 comment · Fixed by #17014
Closed
5 tasks done

[BUG]: Can't add GIF image #16967

snowtimeglass opened this issue Aug 27, 2024 · 1 comment · Fixed by #17014

Comments

@snowtimeglass
Copy link
Contributor

snowtimeglass commented Aug 27, 2024

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki

What are the steps to reproduce this bug?

Add a GIF image from Gallery into a field of a note

[sample]

https://images.app.goo.gl/9fnFVBRWEzp9cHZt8

Expected behaviour

As the followings in 2.18.4:

  • The original GIF file name (e.g. sample.gif) (with the tags) is added into the field
     image

  • the GIF animation works in Previewer

    Record_2024-08-27-11-45-37_a9eef3a2a561b80d5c76daebd0f9a14c.mp4
  • After the note is added, the GIF animation works in Reviewer

Actual behaviour

  • The original GIF file name is not added into the field. Instead, another filename with jpg extension is added.
    image

  • the (original) GIF animation doesn't work in Previewer (and in "Add image" screen, either)

    Record_2024-08-27-11-48-01_c428a0327e1e5e78cdd71c6b04816edf.mp4
  • After the note is added, the GIF animation doesn't works in Reviewer (both in the existing reviewer and in the new reviewer).

Debug info

AnkiDroid Version = 2.19beta1 (6630ff411d643bf03206e106c4d940dc7076e738)

Backend Version = 0.1.40-anki24.06.3 (24.06.3 d678e39350a2d243242a69f4e22f5192b04398f2)

Android Version = 11 (SDK 30)

ProductFlavor = full

Manufacturer = OPPO

Model = CPH2013

Hardware = qcom

Webview User Agent = Mozilla/5.0 (Linux; Android 11; CPH2013 Build/RKQ1.200903.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/127.0.6533.103 Mobile Safari/537.36

ACRA UUID = 5e59349c-ede4-4942-91b7-199dcf1342c0

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

Research

  • I am reporting a bug specific to AnkiDroid (Android app)
  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
@david-allison
Copy link
Member

@criticalAY

A regression test along with the fix would be great

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@mikehardy @snowtimeglass @criticalAY @david-allison and others