ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.76k stars 2.24k forks source link

Reduce ghosting in E-ink devices #16117

Open philipwilk opened 7 months ago

philipwilk commented 7 months ago

Is your feature request related to a problem? Please describe. I just go a huawei matepad paper, which is a mix of an e-ink reader and an android tablet, meaning I can install ankidroid on it and use it for hours with its good battery life, however, the screen does not refresh on card flips or on going to the next card, so (typical of e-ink displays) there is a sort of burn in/ghosting until the screen does a full refresh. The natively installed apps, and firefox, trigger a screen refresh when you go to a different content view, which prevents this, but ankidroid does not, meaning that the previous card is still sort of visible.

Describe the solution you'd like An option under advanced options/workarounds to get ankidroid to trigger a full refresh on card flips and next card.

Describe alternatives you've considered I have to manually trigger a refresh from the system menu which is a bit annoying.

Additional context There's some "safe mode" under advanced options that says "e-ink devices might require this" but I have observed zero difference with it on.

welcome[bot] commented 7 months ago

Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing

BrayanDSO commented 7 months ago

That's reasonable. However, it may take some time since only a few developers have an Android E-ink device to try to fix this.

BrayanDSO commented 7 months ago

Also, please send your debug info here. You can get it at Settings → About → Copy Debug info

philipwilk commented 7 months ago
AnkiDroid Version = 2.17.6 (568538896be943818ca793dd2635822265712def)

Backend Version = 0.1.34-anki23.12.1 (23.12.1 1a1d4d5419c6b57ef3baf99c9d2d9cf85d36ae0a)

Android Version = 10 (SDK 29)

ProductFlavor = full

Manufacturer = HUAWEI

Model = HMW-W09

Hardware = kirin820E

Webview User Agent = Mozilla/5.0 (Linux; Android 10; HMW-W09 Build/HUAWEIHMW-W09; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.105 Safari/537.36

ACRA UUID = 605a335d-e90c-498d-844c-26143399b2f6

Crash Reports Enabled = true
david-allison commented 7 months ago

Thanks!

The first step would be to figure out the APIs which Firefox is using to trigger this

david-allison commented 7 months ago

Might be relevant; https://redirect.github.com/koreader/koreader/pull/5068/files