Closed Egorikhin closed 1 year ago
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!
This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.
Preflight Checklist
Electron Version
19.0.8
What operating system are you using?
Windows
Operating System Version
Windows 10 Version 19043
What arch are you using?
x64
Last Known Working Electron version
12
Expected Behavior
Spellchecking works for
ru
language whensession.setSpellCheckerLanguages(["en-AU", "ru"]);
is setActual Behavior
spellchecker doesn't show corrections for
ru
language whenen-AU
is present insession.setSpellCheckerLanguages(["en-AU", "ru"]);
Testcase Gist URL
https://github.com/Egorikhin/electron-spellcheck-repro
Additional Information
In electron@12 and less the repro does show the misspelling corrections for Russian text "фыв" while on newer versions it doesn't. It's somehow related to settings
en-AU
(maybe there are more languages with such a behavior) as one of the spellchecking languages as changing it toen-US
fixes the problem.Also added console warn to the repro which shows string
${misspelledWord} -> dictionarySuggestions
and for newer electrons dictionary suggestions always return empty array for ru words