ankidroid / ankidroid/Anki-Android
[BUG]: "Not at top of the queue" error message when there is a deck is already open in App and the user open one through the Deck Picker Widget.
- Langage dominant
- Kotlin
- Étoiles
- 11.8k
- Forks
- 2.9k
- Merge moyen
- 2 j 3 h
- PR mergées (30 j)
- 171
Description
### 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. open ankidroid
2. open a deck A
3. go back to android home
4. from the widget open a deck b
5. press back
[error.webm](https://github.com/user-attachments/assets/6f9e46d7-9984-4ca2-a4b1-60a44f8c93d6)
### 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
```text
AnkiDroid Version = 2.19alpha12-debug (862d98f07c76db50d4b56d8e166cb82b2fd6d2bb)
Backend Version = 0.1.40-anki24.06.3 (24.06.3 d678e39350a2d243242a69f4e22f5192b04398f2)
Android Version = 14 (SDK 34)
ProductFlavor = amazon
Manufacturer = Google
Model = sdk_gphone64_x86_64
Hardware = ranchu
Webview User Agent = Mozilla/5.0 (Linux; Android 14; sdk_gphone64_x86_64 Build/UE1A.230829.036.A2; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/113.0.5672.136 Mobile Safari/537.36
ACRA UUID = 6e047a69-354f-4375-9401-03fd88994cab
FSRS Enabled = false
Crash Reports Enabled = false
```
### (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](https://ankidroid.org/docs/manual.html) and the [FAQ](https://github.com/ankidroid/Anki-Android/wiki/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](https://docs.ankidroid.org/manual.html#betaTesting))
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.