ubports / keyboard-component

Moved to https://gitlab.com/ubports/core/lomiri-keyboard
https://gitlab.com/ubports/core/lomiri-keyboard
GNU Lesser General Public License v3.0
10 stars 36 forks source link

auto correct steals blank from entered text #113

Closed dbdb78 closed 3 years ago

dbdb78 commented 4 years ago

Hey! My first bug report coming up.

Issue in the ubports native Notes app

Using Swedish version ("Anteckningar"), probably doesn't matter but I have swedish, english and emojies. Disabling Swedish produces the same error. I am not connected to Evernote, only using local mode.

What I want to happen: In a note. When I type a sentence and end it with a period (.) and change my mind pressing backspace. I want just the period to disappear. (Pretty straight forward)

What does happen: Sometimes, the period disappers along with the space introducing the word that was "attached" to the period. I think an example is needed for this to be understood :)

"The cat has nine lives."
Erasing the period here gives me: "The cat has ninelives"

It does not happen all the time. More often in larger files (though not that large, maybe 20-30 sentences). I haven't found the pattern yet on when it appears, maybe some one else has experienced the same stuff?

System: Notes v 0.10.0 OS: 16.04 (OTA-11)

dbdb78 commented 4 years ago

Okey, I put another hour or so into this to see the pattern when this bug appears. And I realized it's not in the Notes app only, but rather the Spell Checking (or Auto correct) in the UT system. Since i got the error to appear in Messages/SMS-app too its pretty likelely it will appear in all apps that uses spell check. The file or rather textbox must be introduced with a space of a "newline" for the error described in my last post to occur.

I did a little video showing the error/bug, hoping to get a little more attention than my last post :) https://vimeo.com/380515469

If you all know about this already, but its in another bug report - please let me know :)

A little bonus I noticed is that "the bug" erases numbers too: "59cat." becomes "5cat". It erases whatever character is before the spellchecked word it seems.

ruedigerkupper commented 3 years ago

I confirm that I have met this issue many times and that it is annoying. Not sure when I have seen it the last time, but I believe it is not fixed. Currently, autocorrect is not working at all in many places antway...

ruedigerkupper commented 3 years ago

Just confirmed this long-standing bug is still present just like the OP described. Steps to reproduce:

Would be a real imrovement if this could be fixed.

peat-psuwit commented 3 years ago

Hello,

Thank you for contributing to UBports. As part of project renaming and the effort to port Ubuntu Touch stack to Ubuntu 20.04, we're incrementally migrating repositories to GitLab.

Your issue is now migrated to: https://gitlab.com/ubports/core/lomiri-keyboard/-/issues/113

Sorry for your inconvenience.