Inline checking does not work via gspell - Enchant 2 - Voikko combination
Inline spell checking does not work correctly in the title's combination, underlining all words. Normal gspell spell checking functionality works as intended.
- Install Voikko Finnish spell-checking packages, for example:
Fedora 31: enchant2-voikko malaga-suomi-voikko openSUSE Tumbleweed: enchant-2-backend-voikko malaga-suomi Ubuntu 20.04 (focal): libenchant-2-voikko voikko-fi
Run gedit, gnote or other gspell using program
Enable underlining of incorrectly typed words, and set Finnish (suomi) as language
Copy-paste for example "tämä on testitekstiä" ("this is test text"), maybe for a comparison "tämmä on vihre" (1st and 3rd word incorrect)
Note how everything is underlined - in suggestions, you can choose the same word and the underlining disappears, but as soon as you eg "leave" the word (press space after it) it gets underlined again. However, if doing manual spell checking the words are correctly understood as being correct.
I started this discussion in Voikko project, but it turns out everything works fine with gtkspell (eg GNOME Subtitles), Enchant directly (Abiword) and Sonnet (KDE), so it seems to be gspell specific.
As a final finding I'm attaching a screen capture comparison which has a small interesting detail - gspell works correctly if somehow there are "country variants" of the language available. Northern Sami is another language for which there is Voikko support, and in one VM installation I happened to bump into locale settings that added the country variants - then even the non-country specific Northern Sami setting worked as intended, while Finnish continued to show this bug.