krmanik / Anki-xiehanzi

Learn, read, write and practice Mandarin by drawing strokes in Anki Desktop, AnkiDroid and AnkiMobile with audio of HSK 2.0 (HSK1-6) and HSK 3.0 (HSK 1-9) characters.
https://krmanik.github.io/Anki-xiehanzi
Other
157 stars 17 forks source link

Changes in sidebar (hint before misses, stroke width) has no effect on appearance and behaviour, + keyboard doesn't popup, have to paste #27

Closed camerooncameroon closed 1 year ago

camerooncameroon commented 1 year ago

Describe the bug Changes in sidebar (hint before misses, stroke width) has no effect on appearance and behaviour, + keyboard doesn't popup on tap on field, have to write elsewhere then copy-paste. To Reproduce Steps to reproduce the behavior:

  1. On Ankidroid, open sidebar.
  2. Click on 'hint before misses', ‘stroke width'.
  3. No keyboard appears.
  4. Write the desired numbers elsewhere, then copy-paste.
  5. After inputting altered parameters, the width and erroneous tries before hint stay the same.

Expected behavior Keyboard pops up, on entering altered numbers stroke width and tries before hint shall also alter in prescribed ways.

Desktop (please complete the following information):

Desktop OS Windows 10. Browser Edge. Anki version Version ⁨2.1.49 (dc80804a)⁩ Python 3.8.6 Qt 5.14.2 PyQt 5.14.2 Smartphone (please complete the following information):

Samsung Galaxy Note 4 SM 9100 N. OS: Android 6.0.1. Browser: stock browser. Version: AnkiDroid 2.15.6.

krmanik commented 1 year ago

The fix will be available after merge of the PR and the keyboard can be shown with enabling type in card features.

AnkiDroid -> Settings -> Advanced -> Type answer into the Card
krmanik commented 1 year ago

@camerooncameroon Your feedbacks are very helpful. I will create release after testing it on other devices. Please extract the zip file and test if issues resolved or not. Anki xiehanzi__HSK 1.zip

camerooncameroon commented 1 year ago

@krmanik Hi, you're always welcome! Your quiz cards are fantastic! Sorry I missed your comment, will try it and report back here. The bug displayed in this thread's title still persists in latest to date version of Hsk deck (can't change hints before misses, stroke width parameters and grid size in sidebar on Android 6.0.1, perhaps that's because of outdated Android version, all is well on Anki Desktop). After enabling text input in cards as per your advice it became possible to change parameters via popped up digital keyboard, but new inputs still have no effect on appearance.

Upd: I imported this test deck you've published here, Anki said it is identical to the notes already in collection (yesterday I already updated your deck with latest to date update available). That means the bug on Android 6.0.1 (maybe other versions too) still persists as I checked it on the newest deck version.