[vKeyboard] Backspace and some "special" characters additionally insert predictive text
Predictive text is erroneously inserted, when using backspace or typing "special" characters.
Behavior:
When typing a word and then using the backspace key to delete it (partially or completely), the current prediction buffer (the word before cursor) is inserted, with the last character being stripped.
This also happens when appending interpunctuation (.;,
), the space character and other "special characters" (e.g. "
, )
, (
, ]
, [
) directly to a word.
It does not happen when deleting a space character by using backspace or typing a "special" character after a space. It also does not occur when using an Android virtual keyboard (by the help of AlienDalvik Control) instead of the vKBD SailfishOS provides. And it never happens in native SailfishOS apps.
For example, if you type devices
and hit backspace, it will become devicesdevice
. Repeatingly tapping backspace will get you something like this: devicedevdevicede
Observed on SailfishOS 2.1.x, 2.2.x and 3.0.x with some (but not all) Android apps, e.g. Firefox / Fennec and Here for Android on various devices (including Jolla 1, Xperia X).
P.S.: Now (right here, while typing this in Fennec under SFOS 2.2.1.18) this issue occurs when hitting any key (even regular letters) on SailfishOS' vKBD after any character, except a space.
Edit: Months later, this issue "vanished" under Firefox / Fennec (likely due to an update of these apps).
The similar problem is sometimes observed in whatsapp. Tapatalk works fine.
Asmir ( 2017-03-27 09:28:23 +0200 )editI cannot reproduce this issue in apps Whatsapp, Here WeGo and Aptoide. Does the issue keep occurring also after rebooting the device?
jovirkku ( 2017-03-27 14:12:51 +0200 )edit@jovirkku
No, it doesn't.
I noticed, this issue appears randomly. The issue goes away itself after sending the message or restarting the keyboard (Settings -> Utilities -> Restart keyboard).
Asmir ( 2017-03-27 14:26:01 +0200 )editwell it's not just me then :)
TheOwlEye ( 2017-03-27 15:12:11 +0200 )editAlso happens in Firefox and a couple of other Android apps.
olf ( 2018-09-29 21:25:44 +0200 )editObserved under SFOS 2.1.4 and 2.2.0, but apparently this bug exists since 2.1.0 and also in 2.2.1. Quite an annoying bug!
Note that one has to use the Backspace key on the vKbd to trigger this bug (as described in the original posting).