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

[BUG]: Tapping on embeds (youtube for instance) with the tap gestures enabled answers the card

Open Chepycou opened this issue 1 year ago • 3 comments

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 Desktop

What are the steps to reproduce this bug?

Enable tap gestures, open an anki card that holds an embed like for instance :

<iframe width="560" height="315" src="https://www.youtube.com/embed/hB7CDrVnNCs?si=IsIKzvt4SOk03vWu" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen=""></iframe>

tap on the video as in to play it

Expected behaviour

The video should play and the gesture should not trigger

Debug info

AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)

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

Android Version = 13 (SDK 33)

ProductFlavor = full

Manufacturer = Fairphone

Model = FP4

Hardware = qcom

Webview User Agent = Mozilla/5.0 (Linux; Android 13; FP4 Build/TKQ1.230127.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/126.0.6478.71 Mobile Safari/537.36

ACRA UUID = 626c9491-cf72-4919-9ebf-74d0eb4fb413

FSRS Enabled = true

Crash Reports Enabled = false

(Optional) Anything else you want to share?

No response

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)

Chepycou avatar Sep 12 '24 08:09 Chepycou

This is also true for other elements like the media play button. It creates problems if you're using the Memrise card template that uses on-screen buttons for inputting text in answer box. If this can somehow be solved, it would be great.

brishtibheja avatar Sep 12 '24 19:09 brishtibheja

Known issue. Will be solved with #14303

BrayanDSO avatar Sep 12 '24 23:09 BrayanDSO

Sorry, looks like I didn't search well enough ! 🙇

Chepycou avatar Sep 13 '24 06:09 Chepycou

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 Jan 10 '25 10:01 github-actions[bot]