Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect !!!!!!!!!!!!!!!!!! #17089

Open
4 tasks done
snnhqm opened this issue Sep 19, 2024 · 6 comments

Comments

@snnhqm
Copy link

snnhqm commented Sep 19, 2024

Checked for duplicates?

  • 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?

对于卡片正面有音频播放的自动展示答案:
如果卡片正面问题音频的播放过程中,无点击操作,则自动展示卡片背面答案前,等待时间的计时正确,
如果卡片正面问题音频的播放过程中,连续点击播放按钮,重复播放音频,则等待时间计时不正确。

Expected behaviour

(1)每次卡片正面音频播放结束后,开始计时。
(2)如果计时时间达到设置的自动展示答案时间,且没有点击播放按钮,则自动展示答案。
(3)如果计时时间达到设置的自动展示答案时间前,又出现点击播放音频按钮操作,则取消当前计时,并等待音频播放结束后再重新计时。

Debug info

AnkiDroid Version = 2.18.4 (f867da96b8304edaebd0361326316bc7514f8cde)

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

Android Version = 9 (SDK 28)

ProductFlavor = full

Manufacturer = Xiaomi

Model = Redmi Note 8

Hardware = qcom

Webview User Agent = Mozilla/5.0 (Linux; Android 9; Redmi Note 8 Build/PKQ1.190616.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.99 Mobile Safari/537.36

ACRA UUID = 17eb9174-7d96-4dea-8d56-5e1b89064552

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

Research

  • 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)
@brishtibheja
Copy link

This probably has to do with the "Wait for audio" (等待音频播放完毕) option. I don't think that's how it's supposed to function. When you turn on "Wait for audio" (等待音频播放完毕), do you face the same issue in the computer version of Anki?

@snnhqm snnhqm closed this as completed Sep 23, 2024
@snnhqm snnhqm reopened this Sep 23, 2024
@snnhqm

This comment was marked as off-topic.

@brishtibheja
Copy link

brishtibheja commented Sep 23, 2024

If this is an issue in your computer, we should probably raise this in the forums here: https://forums.ankiweb.net/

If you'd like to do it, please go ahead.

@snnhqm
Copy link
Author

snnhqm commented Sep 23, 2024

If this is an issue in your computer, we should probably raise this in the forums here: https://forums.ankiweb.net/

If you'd like to do it, please go ahead.

抱歉,关键测试结论我没有说清楚:

(1)windows版的ANKI,没有BUG
(2)用户不点击播放按钮,没有BUG。
(3)关闭"Wait for audio" (等待音频播放完毕)选项,没有BUG。

Android版ANKI + 打开"Wait for audio" + 用户点击播放,3个条件同时存在时,才会有计时BUG。 这是ANKI常用的场景。

@snnhqm
Copy link
Author

snnhqm commented Sep 24, 2024

This probably has to do with the "Wait for audio" (等待音频播放完毕) option. I don't think that's how it's supposed to function. When you turn on "Wait for audio" (等待音频播放完毕), do you face the same issue in the computer version of Anki?

image

@snnhqm snnhqm changed the title [BUG]: 在卡片正面连续点击重复播放音频时,自动展示答案的计时时间出错 [BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect [BUG]: Sep 26, 2024
@snnhqm snnhqm changed the title [BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect [BUG]: [BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect !!!!!! Sep 26, 2024
@snnhqm snnhqm changed the title [BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect !!!!!! [BUG]: When clicking on the FrontSide of the card to play audio, the timing for automatically displaying answers is incorrect !!!!!!!!!!!!!!!!!! Sep 26, 2024
@snnhqm
Copy link
Author

snnhqm commented Sep 26, 2024

When clicking on the BackSide of the card to play audio, the timing for "Seconds to show answer for" in "Auto Advance" has the same peoblem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants