ankidroid / Anki-Android

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

[BUG]: Autoplay of videos sometimes causes card answer steps to skip (possible result of fix for #14693). #16407

Open petecodes100 opened 4 months ago

petecodes100 commented 4 months ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

  1. Have a Deck with cards with video on one side.
  2. Review cards.
  3. After several reviews, the video playback interferes with answering the cards.

Expected behaviour

After pressing “show answer”, the answer text should be displayed. After rating the card, the next card should be shown.

Actual behaviour

https://github.com/ankidroid/Anki-Android/assets/102991870/850dc864-4dab-4a6f-ba4c-4428c1875bb1

(Video description: When clicking “Show Answer”, the rating part of the card is skipped, and the next card is shown instead, but without playing the video).

Videos were imported using “Mediaimport2” via PC, and then synced to Android. Card deck is [provided for reference](https://wetransfer.com/downloads/8ae01b543deee6276b7f5dcd240a6f3720240516092408/27753d44917699d91396469be404d0f620240516092428/4a73e3](https://wetransfer.com/downloads/8ae01b543deee6276b7f5dcd240a6f3720240516092408/27753d44917699d91396469be404d0f620240516092428/4a73e3)

Debug info

AnkiDroid Version = 2.18beta1 (c12b398c216dc2a2c2e2c98709c92132d19d105c)

Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)

Android Version = 10 (SDK 29)

ProductFlavor = full

Manufacturer = HUAWEI

Model = JSN-L21

Hardware = kirin710

Webview User Agent = Mozilla/5.0 (Linux; Android 10; JSN-L21 Build/HONORJSN-L21; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/123.0.6312.118 Mobile Safari/537.36

ACRA UUID = 64d6586d-0226-48d5-8b77-a71a1a855e53

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

Research

welcome[bot] commented 4 months ago

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

BrayanDSO commented 4 months ago

The autoplay feature doesn't interfere with the card's rating. I think that's the webview lagging, which is compatible with it only happening aftwer answering several cards.

Needs investigation

github-actions[bot] commented 1 month ago

Hello 👋, this issue has been opened for more than 3 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically

petecodes100 commented 1 month ago

Issue still present in AnkiDroid 2.19alpha11