Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

[New study screen] the screen flashes noticably upon opening the reviewer in the dark theme

Open ZornHadNoChoice opened this issue 1 month ago • 4 comments

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?

Open the new study screen in the dark theme.

https://github.com/user-attachments/assets/f54fcf58-c543-4024-9340-8b0a0208fc7b

[It's somewhat random, so you may have to try a few times. If you quickly open and close the reviewer, it loads instantly, so wait a bit before opening it again.]

Expected behaviour

The "loading background color" should at least match the theme (I think #303030).

Ideally, the loading would be faster. It feels a tiny bit slower than the old reviewer.

Debug info

AnkiDroid Version = 2.23.0beta3 (5457f48e80c00ee28ae5edc91569facb6b7f75bf)  
Backend Version = 0.1.62-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)  
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/142.0.7444.106 Mobile Safari/537.36  
ACRA UUID = b54212d4-c40d-479f-85b6-5654a05c2c11  
FSRS = 5.1.0 (Enabled: true)  
Crash Reports Enabled = true

(Optional) Anything else you want to share?

If the timer is enabled, the review counts suddenly shift upwards when the timer pops up:

https://github.com/user-attachments/assets/bc116cbe-5a85-4535-b606-73b458cfaf01

Research

  • [x] I have checked the manual and the 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)

ZornHadNoChoice avatar Nov 30 '25 11:11 ZornHadNoChoice

Related: If "Show remaining card count" is disabled, the counts sometimes briefly flash on the screen before disappearing.

user1823 avatar Dec 02 '25 05:12 user1823

If "Show remaining card count" is disabled, the counts sometimes briefly flash on the screen before disappearing.

The UI elements load asynchronously, so it's either that or halting the load of the whole screen.

BrayanDSO avatar Dec 02 '25 07:12 BrayanDSO

The UI elements load asynchronously, so it's either that or halting the load of the whole screen.

Halting the load of the entire screen doesn't make sense. But, maybe, it could check whether the "Show remaining card count" option is enabled or not before loading the review counts instead of after loading them so that they don't flash. The issue is not a big deal anyway.

user1823 avatar Dec 02 '25 07:12 user1823

enabled or not before loading the review counts instead of after loading them so that they don't flash.

for the people that has it enabled, the effect would be the counts suddenly appearing, which isn't better. But I can prioritize a bit the process of checking the setting over the rest of the UI setup.

BrayanDSO avatar Dec 02 '25 07:12 BrayanDSO