ankidroid / ankidroid/Anki-Android

Stats screen "out of bounds" glitch

Abierto
#18,358 10 comentarios 0 reacciones 1 asignado Reclamado por @Ayush-Patel-56 Ver en GitHub
Priority-Low Reproduced UI
Lenguaje dominante
Kotlin
Estrellas
11.8k
Forks
2.9k
Merge medio
2 d 3 h
PR fusionados (30 d)
171

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.