futo-org / android-keyboard

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

Suggestions and Autocorrect Fail With Cursor Located Immediately Left of Word #676

Open issuant opened 2 weeks ago

issuant commented 2 weeks ago

What happened?

If you have a word or some text like there is no space or gap between the |cursor and the word, the | denoting the placement of the cursor, and you type out a new word from that point, autocorrect never works. The 'bold' (#675) never happens, so tapping spacebar or a punctuation becomes useless. In comparison, this works perfectly in Swiftkey.

This also breaks FUTOBoard's predictions which begins to offer completely irrelevant suggestions, almost always prepositions for some reason, that do not even begin with the same letter. In comparison, Swiftkey understands that once you start typing, you have begun a new word, likely unrelated to the characters right of the cursor, and so offers relevant suggestions.

Keyboard Version

nightly-unstable

Text field info

No response

dean-futo commented 1 week ago

@issuant will please you include a video of this demonstrating both FUTO Keyboard's and Gboard's functionality on this for comparison?

issuant commented 1 week ago

It is in Swiftkey, not Gboard (which may work similarly but I do not use it). I do not post videos for privacy reasons but it can replicated easily and should be familiar if you have Swiftkey with autocorrect turned on. You can see it yourself with this (the | represents the cursor)

  1. Start with some text, like there is no space or gap between the |cursor and the word
  2. Type anything
  3. Observe Swiftkey works flawlessly with everything from suggestions to auto spacing while FUTOBoard does not
dean-futo commented 3 days ago

@issuant reproduced it. Thank you.