Anysoftkeyboard: Cursor (caret) position randomly moves 1-2 steps back

Created on 8 Jun 2020  路  12Comments  路  Source: AnySoftKeyboard/AnySoftKeyboard

Steps to reproduce

  1. Seems to happen almost randomly, so I don't really have any proper steps to reproduce other than to just type.

Expected behaviour

Regular typing should work as intended.

Actual behaviour

Randomly when typing, the cursor position moves 1-2 steps back messing up the whole word.

Android OS version: 9

Device manufacturer and model: Huawei/Honor BND-AL10

List of installed add-ons (like languages, or themes):
I don't have any extra add-ons. Here are the inbuilt settings I'm using:
Keyboard: QWERTY Latin keyboard with symbols (on long press)
Theme: AOSP Dark theme

Let me know if I need to provide any other details.

Most helpful comment

good to hear.

Thank you all for testing, this means a lot.

All 12 comments

It happens to me too, although only when typing fast. Really annoying.

Im having the same issue

I hope that the changes made in the upcoming release will fix this.

@menny Thanks for considering a fix. This is definitely my number 1 bug with ASK.

Issue #1875 already discusses of this and some users have suggested that it happens most often when the CPU is doing some work. Also apparently disabling the animations helps.

I am going to try that right now and will describe in #1875 what happens.

Would you mind trying out https://github.com/AnySoftKeyboard/AnySoftKeyboard/suites/1470313885/artifacts/25293257

Have used this for about 1陆 hrs now and haven't had this issue so far but I'll test it a bit more and let you know again.

that's amazing to hear!

Hi @menny . I have been using your fix since 24h and I am happy to say that I don't have the problem anymore! 馃コ
With your fix I am using ASK with Full animations and so far the cursor is behaving properly. Not skipping inputs nor jumping between words.

However if I remember well the problem was even worse when the phone is doing CPU-intensive tasks in the background. I haven't tested your fix in this situation.

good to hear.

Thank you all for testing, this means a lot.

@Menny Hello, I have been using your fix for one week now and even though there are 0 problems with the animations, there is a bug that didn't happen before.

Let's say that I am typing the word "thank" (in English) and I position my cursor behind the 'k". I erase "han" and start typing again, ASK will try to autocorrect the new letters I am typing.

Screenshots

Screenshot_20201116-094304

This didn't happen before and has caused me to write mistakes sometimes:

Screenshot_20201116-094317

@menny Hi, I have downloaded and installed this APK (Testing build 1.10.1651, version code 6821) but the error is still here.

I have been using it for several days, here are some screenshots:

Example 1

Screenshot_20201119-154408

Screenshot_20201119-154415

Example 2

Screenshot_20201119-155133

Screenshot_20201119-155137

Example 3

Screenshot_20201120-132919

Screenshot_20201120-132930

Example 4

Screenshot_20201123-095126

Screenshot_20201123-095130

Example 5, other languages are affected too

Screenshot_20201117-020416



Do you want me to create a new issue? Or maybe reopening #2532 and posting my screenshots there?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  5Comments

Kaljurand picture Kaljurand  路  3Comments

kojid0 picture kojid0  路  5Comments

dbolton picture dbolton  路  6Comments

christarazi picture christarazi  路  6Comments