ankidroid / ankidroid/Anki-Android

Stats screen "out of bounds" glitch

未关闭
#18,358 10 条评论 0 个 reaction 已指派 1 人 已被 @Ayush-Patel-56 认领 在 GitHub 查看
Priority-Low Reproduced UI
主要语言
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. Open the stats screen.
2. Rotate to landscape mode.
3. Tap on one of the bars to show a pop-up.
4. Rotate to portrait mode.
5. The pop-up is "out of bounds".

### Expected behaviour

The stats screen appears normal and the pop-up appears where it should.

### Debug info

Details

```
AnkiDroid Version = 2.20.1 (e32a82c33646807ea19623c9c88be38965bc07e6)

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

Android Version = 13 (SDK 33)

ProductFlavor = play

Manufacturer = Xiaomi

Model = 23013PC75G

Hardware = 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/136.0.7103.60 Mobile Safari/537.36

ACRA UUID = 3792582f-98ac-430e-ae42-4ace0156bf29

FSRS = 1.4.3 (Enabled: true)

Crash Reports Enabled = true
```

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

![Image](https://github.com/user-attachments/assets/b9bf2f0d-e553-4e38-9156-6af379d3bb87)

Edit: I just discovered that it can happen in other screens which have popups and graphs.

Image

### 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 摘要。