[BUG]: Previewer and reviewer mismatch
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
What are the steps to reproduce this bug?
- Import this deck.
- AnkiDroid is in Dark night mode (also happens in Black mode)
- Open card 2.
- The reviewer shows a very light button, a dark link and a little space below the button.
- Open the edit note menu.
- Open the preview window.
- The card shows differently (lighter hint link, darker button background, more space below button)
Expected behaviour
Both viewers should show the same styling. The one that is shown in the preview is the expected result (and Anki Desktop result, in fact)..
Actual behaviour
The result differs, the expected styling from the preview window doesn't appear on the actual review window and can't be fixed.
This is the preview output (and what I'd want to see and what appears on Anki):
This is the actual reviewer output:
Debug info
Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)
Android Version = 13 (SDK 33)
ProductFlavor = full
Manufacturer = Xiaomi
Model = M2102J20SG
Hardware = qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 13; M2102J20SG Build/TQ2B.230505.005.A1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/124.0.6367.123 Mobile Safari/537.36
ACRA UUID = df8be713-dc4c-4dc4-8012-5d2565b4c3d5
FSRS Enabled = false
Crash Reports Enabled = true`
(Optional) Anything else you want to share?
This bug has been reported and confirmed by others on the Anki forums.
It is suggested it has something to do with the button.
Research
- [X] I am reporting a bug specific to AnkiDroid (Android app)
- [X] I have checked the manual and the FAQ and could not find a solution to my issue
- [ ] (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)
The reviewer uses outdated code whereas previewer uses the updated webview which matches Anki desktop, it will be soon updated though
You can track here:
- #16455
You can track here:
I can see the PR is merged but is it still only a development only feature? because with the main version I am still experiencing mismatch between previewer and reviewer displays.
This will be fixed under https://github.com/ankidroid/Anki-Android/issues/14302 and the setting is in 'development mode'
Work should be focused on the linked issue
- https://github.com/ankidroid/Anki-Android/issues/14302