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

Auto-Advance active automatically

Open AlifianK opened this issue 10 months ago • 15 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?

Auto-advance is on automatically on AnkiDroid 2.21-alpha4, with no way to turn the feature off. I only found the shortcut to turn it off-on in the settings, but it's not feasible to use in Ankidroid. Auto-advance should have a toggle somewhere.

Expected behaviour

Auto-advance used to be off by default.

Debug info

AnkiDroid Version = 2.21alpha4 (ce369b478238f93e3a47d7a7f4753729fa934c0c)

Backend Version = 0.1.48-anki24.11 (24.11 c47638ca36f99dd4f3b81ae82d964aec66e392e0)

Android Version = 13 (SDK 33)

ProductFlavor = full

Manufacturer = Xiaomi

Model = M2101K6G

Hardware = qcom

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

ACRA UUID = 57a2fbba-4720-4605-bafd-15461d9c12cc

FSRS = 1.4.3 (Enabled: true)

Crash Reports Enabled = true

(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
  • [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

AlifianK avatar Jan 03 '25 06:01 AlifianK

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 Jan 03 '25 06:01 welcome[bot]

I only found the shortcut to turn it off-on in the settings, but it's not feasible to use in Ankidroid. Auto-advance should have a toggle somewhere.

Just to make sure, which shortcut are you specifically referring to?

snowtimeglass avatar Jan 03 '25 11:01 snowtimeglass

I only found the shortcut to turn it off-on in the settings, but it's not feasible to use in Ankidroid. Auto-advance should have a toggle somewhere.

Just to make sure, which shortcut are you specifically referring to?

It's the Settings>Controls>Toggle auto advance

AlifianK avatar Jan 03 '25 11:01 AlifianK

You can assign gestures to the "Toggle auto advance" action that you have already found. Prerequisite: "Settings">"Controls"> enable "Enable gestures"

snowtimeglass avatar Jan 03 '25 11:01 snowtimeglass

Thanks, I use that for the moment as a workaround.

AlifianK avatar Jan 03 '25 12:01 AlifianK

@AlifianK Are you using this feature in Anki Desktop?

david-allison avatar Jan 04 '25 12:01 david-allison

@AlifianK Are you using this feature in Anki Desktop?

Yes, sometimes I use it, so I set it in the deck options.

AlifianK avatar Jan 04 '25 12:01 AlifianK

So to confirm: You want the feature enabled in Anki Desktop, but not in AnkiDroid?

david-allison avatar Jan 04 '25 14:01 david-allison

No, what I want is for the feature to not be on by default. In Anki, I have to activate the feature first, but in Ankidroid 2.21-alpha4 it's on by default. Before updating to 2.21-alpha, I was on 2.20-alpha1, and the feature wasn't activated by default on that version.

AlifianK avatar Jan 04 '25 14:01 AlifianK

@MorenoTropical Is this related to:

  • https://github.com/ankidroid/Anki-Android/pull/17464 => f33810d306203ff66a4b761d10716772fef70139

david-allison avatar Jan 04 '25 14:01 david-allison

It looks rather natural to me that the values set in the deck options get activated in the reviewer by default. Users can stop the auto advance by changing the values in the deck options.

How about reserving a decision on whether or not to change the current behavior, and giving priority to adding the "Toggle auto advance" action into the menu in the reviewer?

snowtimeglass avatar Jan 05 '25 00:01 snowtimeglass

@MorenoTropical Is this related to

No. Anki doesn't have the global setting.

MorenoTropical avatar Jan 05 '25 09:01 MorenoTropical

I can implement this

RobozinhoD avatar Jan 05 '25 14:01 RobozinhoD

A question about how "Wait for audio" should work:

In Anki desktop, If I have an audio that takes longer than the timeout, the action will happen immediately after the audio ends.

Example: If I have a 10 seconds audio, the timeout is 5 seconds, and the configured action is to show the answer, then the answer will be shown after 10 seconds, exactly after the audio ends.

Shouldn't the behavior be actually waiting for the audio to end before starting the timer? So I can hear the audio and then think about the answer in the time I set.

In the previous example, I'd hear my 10 seconds audio, then have 5 seconds before the answer is automatically shown.

RobozinhoD avatar Jan 05 '25 20:01 RobozinhoD

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 Apr 05 '25 21:04 github-actions[bot]

@AlifianK Is this resolved in the 2.21 series?

david-allison avatar Jun 23 '25 08:06 david-allison

No, it hasn't. This is me without doing or activating anything.

2.21.0 beta 2

https://github.com/user-attachments/assets/cebe77ed-1383-4e7c-bfd0-ef9224e47bf0

AlifianK avatar Jun 23 '25 13:06 AlifianK

It's fixed in the new reviewer. Although, it plays the audio automatically (in the deck options, "Don't play audio automatically" is turned on), that's why I'm refraining from using it. As you can see, nothing happened after 3 seconds, until I tapped show answer button.

https://github.com/user-attachments/assets/96cc96b3-e834-4d8f-9d46-df713db95e1d

AlifianK avatar Jun 23 '25 13:06 AlifianK

@AlifianK could you export your collection without media and send it to my Gmail: davidallisongithub

I'll get it triaged before 2.21 goes out, probably tonight

david-allison avatar Jun 23 '25 13:06 david-allison