Skip to content

fix keyboard issues with kitkat and stock keyboard #178

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

Merged
merged 1 commit into from
Dec 2, 2013
Merged

Conversation

akshayaurora
Copy link
Member

This is a workaround for keyboard issues on kitkat.

  • The issue::
    KitKat stock keyboard now supports suggestions for keywords starting from the current cursor position.
    This used to happen only for new text being written and not for text that already existed in the textinput.
    Cause of this The IME asks for text before cursor and after cursor only allowing editing of the text you provide here.

This work around is to set the text before, aft cursor to be empty allowing for deletion edition of text.

This is not a proper fix which would involve::

  • passing the actual text before, aft cursor and
  • calling the IMEs setComposingText(characters, cursor_pos) method on cursor updation in TextInput.

tito added a commit that referenced this pull request Dec 2, 2013
fix keyboard issues with kitkat and stock keyboard
@tito tito merged commit c3e8878 into master Dec 2, 2013
@tito tito deleted the kitkat_keyboard branch December 2, 2013 09:27
@muodov
Copy link

muodov commented Dec 13, 2013

Not sure if the problem is connected with this particular patch, but on the latest master I have similar problems on Galaxy S3 (Android 4.1) + SwiftKey keyboard. (Stock keyboard works ok).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants