Godot version:
3.1 stable
OS/device including version:
Asus Zenfone Max Plus (Android 7)
Xiaomi Pocophophone F1 (Android 9)
Issue description:
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
I suspect this has to do with synchronizing the virtual keyboard's buffer.
Steps to reproduce:
Minimal reproduction project:
(This MRP is literally just a LineEdit in an otherwise empty scene.)
MRP.zip
I should specify that I move the caret by touching the LineEdit directly, and not using any sort of arrow keys.
I experience same issue, and as far as I know it's relative to keyboard suggestions because if I set the keyboard without suggestion ( I do it with a android plugin I made) I do not experience this issue anymore and can add some text anywhere.
Plus, I noticed that onTextChanged() handler in godot:
https://github.com/godotengine/godot/blob/master/platform/android/java/src/org/godotengine/godot/input/GodotTextInputWrapper.java#L103
the start parameter seems to be incorrect, it always has 0 even when we insert text in different position ... might help .. not sure.
Please if someone can look into it.
Thanks
Hey. I suffer from this problem too. is there any solution
Indeed I hope they gonna plan to fix it soon... Was hoping on 3.2 but
nothing has been made about this ;( its really painful to not being able to
work with any input field on Android.
Le sam. 12 oct. 2019 à 15:53, Anynak notifications@github.com a écrit :
Hey. I suffer from this problem too. is there any solution
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/27065?email_source=notifications&email_token=ABG67P4PJDEJ5VS55C6PX7DQOHJE7A5CNFSM4G6UM3AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBB75DI#issuecomment-541326989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG67P5OOEBB5Q353IPPEXLQOHJE7ANCNFSM4G6UM3AA
.
Does anyone have a workaround to this issue? Is there a previous version of Godot that would work on Android in the mean time?
Nothing yet maybe 2.x...
Still waiting a fix because it's kind of annoying having those inputs buggy
on my android project..
Hope they gonna fix this during 3.2.x updates ;)
Le lun. 10 févr. 2020 à 01:15, Ram notifications@github.com a écrit :
Does anyone have a workaround to this issue? Is there a previous version
of Godot that would work on Android in the mean time?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/27065?email_source=notifications&email_token=ABG67P2ZHP7DRSYED5LJC33RCCMCVA5CNFSM4G6UM3AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELG4VIA#issuecomment-583912096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABG67P2OOZ6YVMR2XVO5WTDRCCMCVANCNFSM4G6UM3AA
.
I think the priority should be bumped.
On Mon, Feb 10, 2020, 4:36 AM Leakz notifications@github.com wrote:
Nothing yet maybe 2.x...
Still waiting a fix because it's kind of annoying having those inputs buggy
on my android project..
Hope they gonna fix this during 3.2.x updates ;)Le lun. 10 févr. 2020 à 01:15, Ram notifications@github.com a écrit :
Does anyone have a workaround to this issue? Is there a previous version
of Godot that would work on Android in the mean time?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<
https://github.com/godotengine/godot/issues/27065?email_source=notifications&email_token=ABG67P2ZHP7DRSYED5LJC33RCCMCVA5CNFSM4G6UM3AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELG4VIA#issuecomment-583912096
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ABG67P2OOZ6YVMR2XVO5WTDRCCMCVANCNFSM4G6UM3AA.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/27065?email_source=notifications&email_token=ABQ3BPO2GIDRU5ZEHVK6RDDRCD7Y5A5CNFSM4G6UM3AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELHQGVA#issuecomment-583992148,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQ3BPPVNVY7X6FC2T4E47DRCD7Y5ANCNFSM4G6UM3AA
.
Can this be moved to the front lines? I am in GREAT need of this being fixed ASAP. My entire project relies on a TextEdit control being used between an android device and a Desktop.
@ondesic In community-developed projects, people work on what they want to work on. If you want to see this feature fixed faster, you'll have to do it yourself or pay someone to do it.
I added the high priority label, but don't expect it to actually do anything :slightly_smiling_face:
@Calinou This brings up a great point that I have wondered about. I would be VERY happy to pay someone to work on this, I just don't know how to go about this. Any ideas?
I'll try to look into this issue and see if I can do something.
@SkyLucilfer I am happy to pay you for your time. Let me know how to message you
@ondesic No need to pay :) I'm working on it but I cannot guarantee anything.
Most helpful comment
I think the priority should be bumped.
On Mon, Feb 10, 2020, 4:36 AM Leakz notifications@github.com wrote: