AnKing-VIP / AnKing-Note-Types

https://www.ankingmed.com
GNU Affero General Public License v3.0
41 stars 20 forks source link

One-by-one Cloze cards change text color on subsequent Cloze cards #151

Closed trmchugh closed 10 months ago

trmchugh commented 10 months ago

Which Note Type (and version) is this about?

AnKingOverhaul (AnKing / AnKingMed)

Problem description

Since the last update to this add-on on 2023-08-29, my one-by-one cloze cards have had green cloze fields on the front of the card. This seems to be expected behavior. However, after reviewing a single one-by-one cloze card in my deck, all subsequent cloze cards (including single cloze cards) show cloze fields in a green font. This continues indefinitely until I exit the review session.

When this issue arises, if I return to the Decks screen of Anki and then reopen my deck to resume reviews, the cloze fields return to normal, and appear blue on the front of my cards. I can review normally until I reach another one-by-one cloze card, and then clozes for that card and all subsequent cards will appear green, regardless of whether it is a one-by-one card or not.

I can also simulate this issue in the card browser in Anki. If I browse for a tag that includes a one-by-one cloze and then use the Preview feature, I can use the right arrow to move through and preview several cards within the card browser itself. The cards appear normally until I reach another one-by-one cloze card, and then the same change to the color of the cloze field is seen. I've attached some screenshots of this sequence below.

Screen Shot 2023-08-31 at 6 53 10 PM

^ Here, I am previewing cards in the Browser. Cloze fields appear blue, as expected.

Screen Shot 2023-08-31 at 6 53 19 PM

^ One-by-one cloze card with green text. Seems to be expected behavior.

Screen Shot 2023-08-31 at 6 53 42 PM

^ Subsequent single cloze cards appear green.

Screen Shot 2023-08-31 at 6 53 31 PM

^ The back sides of subsequent cloze cards also appear green.

Checklist

Please replace the space inside the brackets with an x if the following items apply:

What Anki version are you using?

*Please open Anki, go to Help → About (windows) or Anki → About Anki (mac) to find the version. Edit the value between the backticks below

2.1.65

What Operating system are you using? (i.e. MacOS, Windows, Linux)

Please include OS version as well if possible macOS Monterey Version 12.5.1

Error message (if any)

If you've received an error message, please copy and paste it between the backticks below:

AnKingMed commented 10 months ago

reported and addressed here. Going to release an update tonight