Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Previewer and reviewer mismatch #16429

Open
4 of 5 tasks
soliviantar opened this issue May 19, 2024 · 2 comments
Open
4 of 5 tasks

[BUG]: Previewer and reviewer mismatch #16429

soliviantar opened this issue May 19, 2024 · 2 comments

Comments

@soliviantar
Copy link

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki

What are the steps to reproduce this bug?

  1. Import this deck.
  2. AnkiDroid is in Dark night mode (also happens in Black mode)
  3. Open card 2.
  4. The reviewer shows a very light button, a dark link and a little space below the button.
  5. Open the edit note menu.
  6. Open the preview window.
  7. 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):
previewer

This is the actual reviewer output:
reviewer

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

  • I am reporting a bug specific to AnkiDroid (Android app)
  • 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)
@criticalAY
Copy link
Contributor

The reviewer uses outdated code whereas previewer uses the updated webview which matches Anki desktop, it will be soon updated though

@criticalAY
Copy link
Contributor

You can track here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants