Open xenonnn4w opened 2 weeks 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
Note that it already occurs when you have two shortcuts to two distinct decks
Hello, could I be assigned to this please.
@leobugeja You don't need to ask usually. If you have an idea how to fix it, or at least investigate, you can just state you'll work on it. There are not so many devs that we need to manage who does what
The problem appears to be that when using the shortcut to open deck review, that activity gets put ontop of the previous deck's review activity and when using the back button to close the top activity, updateCardAndRedraw
does not get called (which inturn skips setting the current card) on the previous/old review activity and so we get the error not at top of queue
.
@Arthur-Milchior, I can see two solutions:
updateCardAndRedraw
for the previous/old activity.Please close other reviewer activity. We are not expected to support multiple reviewer opened simultaneously
Checked for duplicates?
Does it also happen in the desktop version?
What are the steps to reproduce this bug?
error.webm
Expected behaviour
Closing the reviewer. Either going back to the deck picker or to android home.
Actual behaviour
You go back to deck A. But if you try to review, you get "Not at top of the queue" error message.
Debug info
(Optional) Anything else you want to share?
No response
Research