Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

[New study screen] Missing media message appears repeatedly

Open vintotal opened this issue 9 months ago • 2 comments

Checked for duplicates?

  • [x] 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 Desktop

What are the steps to reproduce this bug?

In the latest version available, when the ‘new study’ screen is enabled in the preferences, the missing media message appears every time a media file is missing. In the ‘old study’ screen, this message only appears twice: after that, missing media files are no longer reported.

In my collection, I do not have any media on my smartphone; my media is only on my PC.

To reproduce:

  • Enable the new study screen in preferences
  • Study more than two cards with missing media in a single session

This issue is related to #7174 (Request: Option to disable missing media error message.)

Image Image

Expected behaviour

  • Like in the old study, show the missing media message only twice, then ignore missing media.

Debug info

AnkiDroid Version = 2.23.3 (9001068fd4819c6fb66cb8239e7166868ab47859)  
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)  
Android Version = 14 (SDK 34)  
ProductFlavor = play  
Device Info = motorola | motorola | fogona | fogona_g | moto g play - 2024 | qcom  
Webview User Agent = Mozilla/5.0 (Linux; Android 14; moto g play - 2024 Build/U1TFS34.100-35-14-1-12; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/144.0.7559.132 Mobile Safari/537.36  
ACRA UUID = 68b54a84-d27e-4ca8-a98b-d731621ca78b  
FSRS = 5.1.0 (Enabled: true)  
Crash Reports Enabled = true

(Optional) Anything else you want to share?

Suggestion:

  • At a minimum, make the behaviour of the new study screen comparable to that of the old study screen;
  • Add an option to disable all media in Ankidroid (disabled by default);
  • Add an option to disable missing media notifications (disabled by default).

This is a completely different topic, but if the dictation option could stop mentioning an error if the last character is a space (usually added automatically by the Android keyboard), that would be great. 😊

Research

  • [x] 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)

vintotal avatar Feb 20 '26 20:02 vintotal

I was able to reproduce this issue. I'd like to work on it. Can I get assigned for it? This issue is caused by not updating the hasExecuted value in MediaErrorHandler.kt when displaying the card answer. I've a fix ready. Once assigned, I'll prepare and submit a PR right away.

HS0204 avatar Feb 21 '26 10:02 HS0204

I have opened a PR for this. Please let me know if any changes are needed.

Mahakbajpai avatar Feb 23 '26 19:02 Mahakbajpai