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

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

Open petecodes100 opened this issue 1 year ago • 4 comments
trafficstars

Checked for duplicates?

  • [X] This issue is not a duplicate

Does it also happen in the desktop version?

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

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

  • Sometimes after clicking “show answer”, the answer is shown, but not the rating scale, instead it still says “show answer”

  • When pressing “show answer” again it shows the answer of the next card and doesn't autoplay the Video

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

  • [X] I am reporting a bug specific to AnkiDroid (Android app)
  • [X] I have checked the manual and the FAQ and could not find a solution to my issue
  • [X] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

petecodes100 avatar May 16 '24 09:05 petecodes100

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

welcome[bot] avatar May 16 '24 09:05 welcome[bot]

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

BrayanDSO avatar May 16 '24 13:05 BrayanDSO

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

github-actions[bot] avatar Aug 14 '24 13:08 github-actions[bot]

Issue still present in AnkiDroid 2.19alpha11

petecodes100 avatar Aug 18 '24 11:08 petecodes100

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

github-actions[bot] avatar Dec 30 '24 00:12 github-actions[bot]