ankidroid / ankidroid/Anki-Android

Stats screen resetting to "deck:current"

Đang mở
#18,519 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Keep Open Reproduced Statistics upstream-issue
Ngôn ngữ chính
Kotlin
Star
11.8k
Fork
2.9k
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
171

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.