You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Sometimes when a card add is triggered AnkiConnect can be slow due to whatever reason. It is possible to quickly trigger another card add either via the green add buttons or the Alt+E and Alt+R shortcuts before the first card is added, causing duplicate cards in Anki. This can occur even when "Prevent adding" is selected for the "When a duplicate is detected" option in Yomitan. After the first card add is completed it is no longer possible to add further duplicates.
The issue can be reproduced by simulating a slow AnkiConnect via adding a sleep statement in AnkiConnect's "addNote" function in its init.py file. Repeatedly clicking the green add buttons or pressing the Alt+E/R add card shortcuts for a new word in Yomitan while AnkiConnect is sleeping eventually results in duplicates.
Browser version
Firefox 133.0.33
Yomitan version
24.12.12.0
The text was updated successfully, but these errors were encountered:
Description
Sometimes when a card add is triggered AnkiConnect can be slow due to whatever reason. It is possible to quickly trigger another card add either via the green add buttons or the Alt+E and Alt+R shortcuts before the first card is added, causing duplicate cards in Anki. This can occur even when "Prevent adding" is selected for the "When a duplicate is detected" option in Yomitan. After the first card add is completed it is no longer possible to add further duplicates.
The issue can be reproduced by simulating a slow AnkiConnect via adding a sleep statement in AnkiConnect's "addNote" function in its init.py file. Repeatedly clicking the green add buttons or pressing the Alt+E/R add card shortcuts for a new word in Yomitan while AnkiConnect is sleeping eventually results in duplicates.
Browser version
Firefox 133.0.33
Yomitan version
24.12.12.0
The text was updated successfully, but these errors were encountered: