fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
178 stars 24 forks source link

Pre-Populated Tags From The PDF Reader Are Not Getting Added to Cards #292

Closed anuragambasth closed 3 years ago

anuragambasth commented 3 years ago

Describe the bug So, when I add a new PDF (using New Note), I select/choose some tags to be associated with the cards that I make from that PDF. Now, when I open the PDF reader using the ADD dialog, the TAGS field is indeed pre-populated with those tags that I had selected.

But when I add a card, those tags don't automatically get linked to that card unless I click on the TAGS field once. So, it seems like the ADD dialog doesn't realize that some tags are already there in the TAGS field unless I click on it once before adding new cards.

Also, once I click on the TAGS field, then all the subsequent cards that make from that PDF do get linked with the relevant tags.

Expected behavior Tags should automatically get associated with the cards that I am adding without me having to click on the TAGS field whenever I open a new PDF.

Environment (please complete the following information):

fonol commented 3 years ago

Thanks for the report, a fix will come with the next update.