Closed snowtimeglass closed 1 month ago
Add a GIF image from Gallery into a field of a note
[sample]
https://images.app.goo.gl/9fnFVBRWEzp9cHZt8
As the followings in 2.18.4:
The original GIF file name (e.g. sample.gif) (with the tags) is added into the field
sample.gif
the GIF animation works in Previewer
https://github.com/user-attachments/assets/e5b497bd-3c1b-4ee6-93cf-30a878abaa90
After the note is added, the GIF animation works in Reviewer
The original GIF file name is not added into the field. Instead, another filename with jpg extension is added.
the (original) GIF animation doesn't work in Previewer (and in "Add image" screen, either)
https://github.com/user-attachments/assets/4d67abc1-0860-4a8d-9996-059b528ccc86
After the note is added, the GIF animation doesn't works in Reviewer (both in the existing reviewer and in the new reviewer).
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
No response
@criticalAY
A regression test along with the fix would be great
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:
The original GIF file name (e.g.
sample.gif
) (with the tags) is added into the fieldthe GIF animation works in Previewer
https://github.com/user-attachments/assets/e5b497bd-3c1b-4ee6-93cf-30a878abaa90
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.
the (original) GIF animation doesn't work in Previewer (and in "Add image" screen, either)
https://github.com/user-attachments/assets/4d67abc1-0860-4a8d-9996-059b528ccc86
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
(Optional) Anything else you want to share?
No response
Research