ankidroid / ankidroid/Anki-Android

[Split Browser] ANR: Input Dispatching Timed Out in CardBrowser

Đang mở
#19,737 10 bình luận 0 reaction 1 người được giao Được @david-allison nhận Xem trên GitHub
Needs Triage Priority-Low Tablet
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?

Have Tablet/Chromebook

1. Enable split mode in CardBrower from Settings -> Developer Options
2. Go to Cardbrowser

### Expected behaviour

It should remain responsive without blocking UI thread

### Debug info

```text
AnkiDroid Version = 2.23.0alpha6-debug (3a795622d52f5b9a5b301a82fa04b2faac495ff9)
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 13 (SDK 33)
ProductFlavor = play
Device Info = Google | google | octopus_cheets | octopus | octopus | bertha
Webview User Agent = Mozilla/5.0 (Linux; Android 13; octopus Build/R141-16404.4.0; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/139.0.7258.158 Safari/537.36
ACRA UUID = 1eac5f23-2ced-436d-af43-08c2d544c6b8
FSRS = 5.1.0 (Enabled: false)
Crash Reports Enabled = false
```

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

```
ANR in com.ichi2.anki.debug
(com.ichi2.anki.debug/com.ichi2.anki.CardBrowser)

PID: 8347

Reason: Input dispatching timed out
(34982ed com.ichi2.anki.debug/com.ichi2.anki.CardBrowser (server)
is not responding. Waited 8003ms for MotionEvent)

Parent: com.ichi2.anki.debug/com.ichi2.anki.CardBrowser

ErrorId: c0779d52-e02f-47dd-a1b0-cf3ff0eb49c6

Frozen: false

Load averages:
1 min = 1.38
5 min = 0.89
15 min = 0.90

----- Output from /proc/pressure/memory -----
some avg10=0.00 avg60=0.00 avg300=0.01 total=7324098
full avg10=0.00 avg60=0.00 avg300=0.00 total=3711566
----- End output from /proc/pressure/memory -----

```

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