ankidroid / ankidroid/Anki-Android

Stats screen resetting to "deck:current"

未关闭
#18,519 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Keep Open Reproduced Statistics upstream-issue
主要语言
Kotlin
星标
11.8k
派生
2.9k
平均合并
2 天 3 小时
30 天内合并 PR
171

描述

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

1. First you need two decks, A and B, with nonempty review histories.
2. Select deck A and open the stats.
3. In the deck search pop-up select deck B.
4. Select "collection" then "deck" radio buttons.
5. You don't see B's stats again, even though it's still selected in the deck search drop-down. Instead, the search box gets reset to "deck:current".

### Expected behaviour

The "current deck" should change to whatever is selected in the deck search pop-up. This should not affect the deck picker.

### Debug info

```text
AnkiDroid Version = 2.21alpha18 (5464fe94fefe937fd7eca143805eec18cecde9f3)
Backend Version = 0.1.52-anki25.02.7 (25.02.7 98253c81cb3c4d203acec48d6eae6b488bf484d0)
Android Version = 13 (SDK 33)
ProductFlavor = full
Device Info = Xiaomi | POCO | mondrian | mondrian_global | 23013PC75G | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; 23013PC75G Build/TKQ1.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/137.0.7151.61 Mobile Safari/537.36
ACRA UUID = b9d03d9a-5af9-4e67-987e-cc15799171e2
FSRS = 2.0.3 (Enabled: true)
Crash Reports Enabled = true
```

### (Optional) Anything else you want to share?

Perhaps related to https://github.com/ankidroid/Anki-Android/issues/5010.

### Research

- [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
- [x] (Optional) I have confirmed the issue is not resolved in the latest alpha release ([instructions](https://docs.ankidroid.org/manual.html#betaTesting))

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。