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]: [2.19alpha1] template editing: missing save button / card type switch animation glitch / front replaced with css #16467

Closed
5 tasks done
khonkhortisan opened this issue May 23, 2024 · 3 comments

Comments

@khonkhortisan
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?

review→Ultimate Geography [Extended] note type→✏️ edit→Cards
scroll the card type list to make the last one visible: Map - Country
tap the last one
optionally experience behavior 1 buttons temporarily disappearing
optionally experience behavior 2 card type tab animation glitch
switch to css, add some text
open other apps to use up the memory?
switch back to Anki, wait for the center logo to go away, behavior 3: now it's on the front side which is replaced with the edited css text

Expected behaviour

✔️ 👁️ ≡ ⋮ buttons stay there, card type tab text and underbar animation is smooth, card template texts stay where they are

Actual behaviour

  1. when switching card type tabs, the top-right ✔️ 👁️ ≡ ⋮ buttons do one of:
  • 🟢 stay there
  • 🟡 disappear during the animation then come back
  • 🔴 are missing by the time I want to save.
    Copying to clipboard, re-opening the template editor, pasting would allow saving changes.
    Screenshot_20240523-125422
  1. when switching card type tabs, it:
  • 🟢 animates scrolling them to center the selected one. or
  • 🟡 does the same, then jumps backward a small amount in the animation, then continues again. This applies to both the text and the underbar.
    It seems more likely to glitch if I scroll all the way from the end tabs then from adjacent tabs.
    independent: It can glitch the tab scroll while the buttons are visible, and it can glitch the tab scroll while temporarily hiding the buttons.
    https://github.com/ankidroid/Anki-Android/assets/1996449/9ccf0881-9b43-4d4c-adde-d991f90926f8
  1. reloading the template editor when switching back to Anki keeps the edited css text but switches to the Front side, so instead of front/back/css, it has css/back/css.
    a. switch to last card type tab, switch to css, type something in html {background-image: url(_background_geography.jpg); background-size: cover;}
    b. open other apps to use up the memory
    c. come back to Anki, it's on the front side, 🔴 with the entire front side replaced by the css including my edit.
    Saving at this point would cause front template loss.
    Screenshot_20240523-125633

Debug info

AnkiDroid Version = 2.19alpha1 (a15da1f476a438b5fb3eee87905b10b2e3d94b6c)

Backend Version = 0.1.38-anki24.04.1 (24.04.1 ccd9ca1a8309b80bcb50ddc5d99c7ce63440bce9)

Android Version = 11 (SDK 30)

ProductFlavor = play

Manufacturer = FIH

Model = EC1002

Hardware = mt6761

Webview User Agent = Mozilla/5.0 (Linux; Android 11; EC1002 Build/RP1A.200720.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/124.0.6367.124 Safari/537.36

ACRA UUID = c8fe5a3e-6bce-4976-867c-42a883891f6b

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

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)
@david-allison
Copy link
Member

@BrayanDSO I believe we saw this a while back with a reproduction case, do you recall where?

@BrayanDSO
Copy link
Member

BrayanDSO commented Jun 10, 2024

@david-allison
Copy link
Member

Closing as duplicate of #14086

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

3 participants