ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.63k stars 2.23k forks source link

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

Closed snowtimeglass closed 1 month ago

snowtimeglass commented 2 months ago

Checked for duplicates?

Does it also happen in the desktop version?

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:

Actual behaviour

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

david-allison commented 2 months ago

@criticalAY

A regression test along with the fix would be great