Anysoftkeyboard: Cursor jumps back automatically

Created on 20 Mar 2018  Â·  10Comments  Â·  Source: AnySoftKeyboard/AnySoftKeyboard

Steps to reproduce

  1. Type quickly
    2.
    3.

Expected behaviour

Tell us what should happen

Typed symbols should appear in the order they were typed

Actual behaviour

Tell us what happens instead

Cursor lags behind or jumps back and you start typing in the middle of the word. For example if I type quickly the word "example", I get something like "expleam"

Android OS version:

8.0

Device manufacturer and model:

Huawei mate 9

List of installed add-ons (like languages, or themes):

Lithuanian language and main AnySoftKeyboard app.

Most helpful comment

I have the same issue on an onePlus 3 running LinageOS 17.1.
AnySoftKeyboard Version v2.0.4
German layout.

All 10 comments

+1 on this, makes it very difficult to use the keyboard.

It looks like not everyone have this issue. I wonder what's causing this issue and what the solution could be?

I have this issue on a Huawei P10

It is still happening on my Huawei P20 Pro, running Android 9

I stopped using it years ago because of that.

On Tue, May 14, 2019, 17:00 Ajudu notifications@github.com wrote:

It is still happening on my Huawei P20 Pro, running Android 9

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AnySoftKeyboard/AnySoftKeyboard/issues/1290?email_source=notifications&email_token=ADKYLO6T4GPGWF2ITRU2BN3PVNAB7A5CNFSM4EWKWGW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNBBNY#issuecomment-492441783,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADKYLO37UXPMMDMQS6EQNP3PVNAB7ANCNFSM4EWKWGWQ
.

I have the same issue, I changed the delay but still present

I confirm this happens on Huawei P20 Pro when I type fast. It's extremely annoying. Any tips on how to workaround?

I actually found the problem... This code in the file "AnySoftKeyboardSuggestions.java":

(Line: 556-560)

                int cursorPosition = newSelEnd - candidatesStart;
                if (mWord.setCursorPosition(cursorPosition)) {
                    Logger.d(
                            TAG, "onUpdateSelection: cursor moving inside the predicting word");
                }

When I comment that out... the keyboard works properly... I see no cursor jumping at all.

I have the same issue on an onePlus 3 running LinageOS 17.1.
AnySoftKeyboard Version v2.0.4
German layout.

Same issue with a OnePlus 2 running LineageOS 16.0 with French Layout.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  Â·  5Comments

PopeRigby picture PopeRigby  Â·  4Comments

dbolton picture dbolton  Â·  6Comments

gabriellluz picture gabriellluz  Â·  5Comments

bobolea picture bobolea  Â·  7Comments