Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.47k stars 97 forks source link

Words get saved to autocorrect dictionary with first letter capitalized #1113

Open stevensonderekr opened 2 months ago

stevensonderekr commented 2 months ago

Please see the appropriate readme section for issue reporting guidelines: https://github.com/Helium314/HeliBoard?tab=readme-ov-file#reporting-issues tl;dr:

Describe the bug When typing random words will be capitalized in the middle of a sentence such as Something or There's. I keep removing them from my dictionary but they keep coming back.

To Reproduce If possible, provide all the necessary steps to reproduce your problem, including the involved apps or settings if relevant.

Type for a bit? I'm not completely sure what might be causing this.

Expected behavior If it's not obvious (e.g. not crash), describe how you think the app should behave.

If the word already exists in the dictionary it should not save another starting with a capital letter.

Screenshots ONLY add screenshots if applicable and helpful. If you add screenshots, reduce the size or use thumbnails to keep the issue nicely readable.

App version Please provide the explicit version, or if you build the app yourself specify the latest commit.

Version 2.2 versionCode 2201 Screenshot_20240917-113700

Device:

Google Pixel 7 Graphene OS, Android 14

FibonacciPrower commented 1 month ago

I've noticed this happens right after selecting the word in question for autocorrect at the beginning of a sentence. A separate entry is going to be created for the capitalised form of that word, no matter how many times you delete it, and it seems to always take precedence over the lowercase word.

duxtin commented 3 weeks ago

This issue is happening to me too, using Spanish (Latin American) with common words to use at the start of a sentence such as "El", "Me" and "Yo". Heliboard is storing a second word with the first letter capital in the personal dictionary.