• Godot HelpGUI
  • LineEdit, TextEdit nodes problem. Incorrect text editing on android

If you move the caret to the middle of the text, when you type the keyboard copies a section of the text.

If you type aaaaabbbbcccc| move the caret inbetween the a and b aaaaa|bbbbcccc and type d, you get aaaaabbbbccccd|bbbbcccc instead of the expected aaaaad|bbbbcccc

The problem is noticed on an android with Google keyboard. No problem editing text on PC. I will be very grateful for the help

Sounds like a bug. I would recommend opening an issue on GitHub if an issue covering this bug has not already been opened.

I guess it is just a matter of waiting then.

You could try to make your own TextEdit/LineEdit node if you want, but it might be more trouble than it is worth. Does the issue occur with Godot 3.0, or just Godot 3.1? If the issue does not occur in Godot 3.0, you might be able to use Godot 3.0 for development while you wait for the bug to be fixed.

Outside of that, I'm not really sure. You could probably write GDScript code that deletes the extra characters when a new character is added as a workaround.

@TwistedTwigleg said: I guess it is just a matter of waiting then.

You could try to make your own TextEdit/LineEdit node if you want, but it might be more trouble than it is worth. Does the issue occur with Godot 3.0, or just Godot 3.1? If the issue does not occur in Godot 3.0, you might be able to use Godot 3.0 for development while you wait for the bug to be fixed.

Outside of that, I'm not really sure. You could probably write GDScript code that deletes the extra characters when a new character is added as a workaround.

Godot 3.0 has the same problem. I don’t think that my programming experience will allow me to create my own text editor. maybe I can fix it manually, but I'm not sure that such a problem will be on all virtual keyboards.
thanks for trying to help though

3 years later