godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.21k stars 21.22k forks source link

Android: copy/paste menu not available for LineEdit/TextEdit #31411

Open miskatonicstudio opened 5 years ago

miskatonicstudio commented 5 years ago

Godot version:

3.1.1 stable flathub

OS/device including version:

Linux (Ubuntu 18.04 LTS) + Android JDK: jdk-8u222-ojdkbuild-linux-x64

Issue description:

Normal Android text input has a context menu, shown after pressing the screen for a longer while. That menu allows to copy or cut the text (if a text was selected) or paste previously copied text (if an empty text input was selected). An Android application exported by Godot doesn't show that context menu.

Steps to reproduce:

Minimal reproduction project:

Calinou commented 5 years ago

We could design a LineEdit/TextEdit context menu specifically tailored for mobile devices, similar to the one already present in Android and iOS. To display it after a long press, an internal timer would have to be used.

akien-mga commented 5 years ago

CC @godotengine/android

ondesic commented 4 years ago

This would be sooo helpful right now as my latest app relies heavily on a main TextEdit control. I only found this morning that the current control on android is dysfunctional.

EiTaNBaRiBoA commented 3 months ago

Hey, just wanted to add that I'm also seeing this issue in Godot 4.3.rc3. On Android, the text selection handles and the copy/paste/select all menu are missing. When I select text, I can't see the handles to change the selection, and the menu with the usual options doesn't appear.