ospalh / anki-addons

A collection of Anki 2.1 addons in different states of bugginess, up-to-dateness and usefulness.
http://ospalh.github.io/anki-addons/
135 stars 60 forks source link

Note ID stays the same after first new note is added. #34

Closed Yang2Gui3zi closed 10 years ago

Yang2Gui3zi commented 10 years ago

I use Anki to study Mandarin Chinese vocabulary. I have been away from Anki for some months, so when I decided to return to my study of Chinese, I downloaded the latest version for Mac and updated my add-ons to the latest versions.

Now I find that when I add new notes to my deck, the first field (that is, Note ID) stays the same after I click the Add button of each new note. That is, a new, unique Note ID gets created as soon as the Note ID field of the first new note loses focus. But when I click the Add button at the bottom of the window, all the fields are blanked except the Note ID field and the tags field. The value in the Note ID field persists there and is highlighted with a pink background -- presumably to indicate that it duplicates the value in the Note ID field of the note just created a moment ago. Changing the focus to the second field does not produce a new value in the Note ID field. In order to get a new value for the second new note (and for subsequent new notes), I have to select the existing value in the Note ID field, delete it, and then change the focus to the second field.

This is not how I recall that Anki worked previously. Is my memory wrong? Am I doing something wrong? Has a bug crept in with the updated versions of Anki or of the add-ons?

ospalh commented 10 years ago

Hi. I can’t reproduce this. Please make sure to _un_check the “Remember last input when adding” box in the “Fields for NN” options for the Note ID field(s). You will have to check this for every note type where you see this problem.

A way to get to this window is to start reviewing, click the “Edit” button (bottom left), and then the “Fields...” button.

Make sure there is no cross or check mark in the marked area: dont_remember

Yang2Gui3zi commented 10 years ago

Right you are! After I unchecked the “Remember last input when adding” box in the “Fields for NN” options for the Note ID field, the problem went away.

So this issue is resolved. Or, more correctly, this was not an issue to begin with.

Thanks.