New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
textinput bug with swipe typing #1773
Comments
Right. I think I found this as an error down in kivy/behaviors.py/select_with_key_down(). Basically, time.clock() was used instead of time.time(), which meant the 'delay' for keys being different words never triggered. Might be fixed shortly. |
@merriam behaviours have nothing to do with how input is handled through android IME's you might want to look in here https://github.com/kivy/python-for-android/blob/master/src/src/org/renpy/android/SDLSurfaceView.java#L1075 this is where input from IME is handled and passed onto kivy text input |
@akshayaurora Thank you, I was incorrect. I was trying to find an already submitted bug for the fix here: I will submit a fresh bug. |
Duplicate of #3284. |
I'm on android 4.3 with cyanogenmod, using the AOSP keyboard.
In a TextInput, if I type "hello" by swiping, the output is
hello
. If I then follow it immediately by "world" by swiping, the total output so far ishelloworld
. If I then tap another key, say "y", the output becomeshelloworldworld y
.So 2 things are wrong: 1) there should be a space between
hello
andworld
, or even better, let there be an option for whether to auto-insert spaces between swiped words. 2) the more egregious:world
shouldn't be repeated when I tap another key.This happens in my own app and also with the kivy showcase.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: