FreeLanguageTools / vocabsieve

Simple sentence mining tool for language learning
GNU General Public License v3.0
344 stars 25 forks source link

2nd definition group initially not visible after lookup #154

Closed artjomsR closed 1 month ago

artjomsR commented 1 month ago

Describe the bug After doing a lookup, the 2nd group always shows up as empty. If you go to the next definition (either by clicking the Next arrow or scrolling with the mouse wheel), then definitions appear again (starting from 2nd definition)

To Reproduce Steps to reproduce the behavior:

  1. Enable 2nd dictionary group in settings
  2. Look up a word
  3. Notice the 2nd group is empty. If you were to create a card now, the 2nd definition will be left blank!
  4. Go to next definition in 2nd group
  5. Notice that 2nd group has a definition now
  6. Go to previous group and notice 1st definition is now available and visible

Expected behavior 2nd definition should be visible immediately after lookup

https://github.com/FreeLanguageTools/vocabsieve/assets/6875790/b4951d4a-5aa7-4150-b9eb-6d44f2f72dcd

Desktop (please complete the following information):

1over137 commented 1 month ago

Can't reproduce this. Does this require that the first definition fail? It seems to work fine for me in c6bc86291cc93d221cda3082db2ae1de0a4e3df9

artjomsR commented 1 month ago

This is a strange one - I've fixed it locally by removing and readding the first (offending?) dictionary in the Sources tab. Now it works as expected. Closing for now