openboard-team / openboard

GNU General Public License v3.0
2.59k stars 254 forks source link

Openboard breaks cursor location #878

Open sonicth033 opened 3 months ago

sonicth033 commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

When jumping between different parts of typed text while my phone is unfolded, my cursor becomes broken. I will select a new place to type in (I jump around a lot while typing), and the second I start typing, my cursor will instantly jump to the last word I was typing, delete a portion of it, and resume typing from the middle of that word. This makes longer-form typing in apps like Samsung Notes or Outlook Email a nightmare with openboard, as this happens multiple times while typing. It seems to happen more frequently when scrolling is needed to get from one paragraph to the next.

To Reproduce Steps to reproduce the behavior:

  1. Type longer paragraphs, ideally enough that you have to scroll to get from one to another.
  2. Attempt to jump around add sentences to different paragraphs.
  3. After a few tries, the cursor issue should occur. It doesn't happen every time, but it is frequent.

Expected behavior A clear and concise description of what you expected to happen.

When moving the cursor and starting to type in a different location, the cursor should immediately jump to one of the last words you were typing, delete part of it, and resume your current typing in the middle of the word it jumped to.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

I haven't tested if this happens on my phone while folded, as I never type longer things that way.

This bug has led me to switch back to the standard samsung keyboard for the time being.

The issue has not happened while typing this, even while jumping around a lot. I don't know if I was just really lucky, or if it only affects certain text boxes. But I normally would have experienced the issue by now in other text boxes.

derlocke-ng commented 3 months ago

I have the same issue on a Pixel 6a with GrapheneOS. Mostly it happens in Protonmail Client (should be the latest beta), sometimes on the Kiwi Browser Next on Reddit usually (I don't write a lot elsewhere) and so far never in Signal/Molly or WhatsApp (Business).

It just started happening some months ago. Could be some settings those (beta) apps are using.