futo-org / android-keyboard

Offical FUTO Keyboard Issue Tracker and Source Mirror of https://gitlab.futo.org/keyboard/latinime
Other
552 stars 20 forks source link

[Bug] Russian dictionaries highlight everything in red #92

Open NagBoard opened 2 months ago

NagBoard commented 2 months ago

Phone: Redmi Note 12 Pro Android version: 11 RKQ1.200826.002 MIUI version: MIUI Global 13.0.3(RHGEUXM) Stable Keyboard: Russian, East Slavic FUTO Keyboard version: Version 0.1.22-playstore Steps to reproduce: Just type any word that is recognized by the dictionary in suggestions bar, it will still highlight red even though the dictionary recognizes the word in the suggestions bar.

Originally I thought that issue was caused by 3rd party dictionaries, so far I've tried several different and they all had the same issue, and even when I switch to a built-in dictionary and use words that are recognized by the suggestion bar when using built-in dictionary the issue still persists. In attached photo I used 3rd party dictionary attached below and just pressed middle suggestion multiple types, not even writing anything myself — all words were pulled up from the dictionary. GBoard is turned off as an input method.

Photo: Russian dictionaries highlight everything in red

3rd party dictionary: https://codeberg.org/Helium314/aosp-dictionaries/src/branch/main/dictionaries/main_ru.dict

NagBoard commented 2 months ago

Upon further investigation, it just seems like a UI bug only. It seems like the dictionaries that I've imported work pretty well and they consistently give me meaningful suggestions. Furthermore, when I am adding new words to the built-in dictionary that came with the program itself, it does add those new words to the dictionary pool, but they are still highlighted red. My guess is that any word that was not shipped, built in to the keyboard itself, when added as a new word will appear at the suggestions bar and functionally will behave as expected, but UI will highlight it in red regardless.

ragingdemon commented 2 months ago

This also happens with Spanish, it doesn't highlight all red like in your example but a lot of it. My guess is that only the English dictionary is being use to determine whether words are correct or not.

NagBoard commented 2 months ago

This also happens with Spanish, it doesn't highlight all red like in your example but a lot of it. My guess is that only the English dictionary is being use to determine whether words are correct or not.

Yep, pretty much sums up what I've posted above but more eloquently.

andrej-dyck commented 1 month ago

Same with German

NagBoard commented 3 weeks ago

Issue persists on newest version.

moustaleurie commented 1 week ago

Same issue with greek too. Also, while I can ignore the red lines for now, when I want to change a word using the suggestions futo provides, the pop up dialogue to "add to dic" or "delete" gets in the way!