sillsdev / TheCombine

This is a tool for supporting the rapid word collection workshop and post workshop clean-up
https://sillsdev.github.io/TheCombine/
MIT License
16 stars 13 forks source link

Switching to analysis language with no spell-check dictionary doesn't disable suggestions #3183

Closed imnasnainaec closed 1 month ago

imnasnainaec commented 3 months ago

Describe the bug

If the top analysis language in a project is one without a spell-check dictionary, then no gloss spelling suggestions are loaded in data entry. However, if you use data entry first with a language that has a dictionary (e.g., "en") and then with one that doesn't (e.g., "tpi"), the loaded suggestions from the first persist for the second even though they are no longer relevant.

To Reproduce

Steps to reproduce the behavior:

  1. Go to project settings > Languages > Analysis
  2. Set "tpi" as the top analaysis language
  3. Go to Data Entry and enter any semantic domain
  4. Start typing in a Glosses field and no spelling suggestions should be offered
  5. Go to project settings > Languages > Analysis
  6. Set "en" as the top analaysis language
  7. Go to Data Entry and enter any semantic domain
  8. Start typing in a Glosses field and see that spelling suggestions are offered
  9. Go to project settings > Languages > Analysis
  10. Set "tpi" as the top analaysis language
  11. Go to Data Entry and enter any semantic domain
  12. Start typing in a Glosses field and see spelling suggestions, even though there shouldn't be any

Expected behavior

In step 12 above, no spelling suggestions should be offered.