[Android] Text input works strangely with non-default keyboard

Bug report

I have recently switched from the default Google keyboard on my Pixel 7 Pro device to a third party keyboard called FUTO Keyboard, which works fine in every app except Inkdrop. I should add that I haven’t tried changing back to GBoard to check if the issues still persist.

It’s a bit hard to explain the issues as there are multiple, but I have experienced the following:

  • Sometimes when writing text it would delete characters to the right of the cursor, like in insert mode on a desktop
  • Sometimes when opening a note and pressing somewhere to place the cursor the whole text block at the cursor would get replaced with whatever is in the keyboard clipboard or whatever was last copied in Inkdrop
  • Using the keyboards “swipe to navigate left/right” feature would simply delete characters when navigating
  • Often unable to simply type in a note as it would sometimes delete characters

Environment

  • Platform: Android
  • Platform version: 15
  • App Version: v5.6.3 (120)

How to reproduce

I have no specific steps besides using the FUTO Keyboard, unfortunately the issues are very inconsistent.

Hi Magnus,

I guess it would be a bug in CodeMirror since it depends on software keyboards.
Android’s input system is so inconsistent, and it may affect the editor.
Can you reproduce it on the CM’s website?

I have not been able to reproduce the bug on CM’s website.

I also tested Inkdrop earlier today and at the time I wasn’t able to reproduce the issues listed in the original post, I was however experiencing a different issue that where I was unable to insert newlines using the enter button.

Additionally just before posting this response I tried to test the bug again in Inkdrop and now the original issues appeared. I still don’t have steps to reproduce that work every time but this time I noticed that when navigating from one note to another some text from the line that the cursor was on in the previous note would get inserted where I placed the cursor in the new note.

maybe attaching a screenshot would be helpful to understand what is happening.
I’m currently working on CM6 for the desktop app, and this work will be merged into the mobile editor. Then, I will investigate it further.

Alright. I’ve been unable to capture it in a screenshot or video in a way that meaningfully shows the issue but I’ll keep you posted if I manage to.

1 Like