Bug in remote keyboard

Albert Vaca albertvaka at gmail.com
Sun Jan 11 06:19:00 UTC 2015


Apparently some keyboards, and specifically the Android default keyboard
when entering non-ascii characters, will not trigger KeyEvent events (our
current approach for intercepting inputted keys) as documented here:

http://developer.android.com/reference/android/view/KeyEvent.html

Quote:
As soft input methods can use multiple and inventive ways of inputting
text, there is no guarantee that any key press on a soft keyboard will
generate a key event: this is left to the IME's discretion, and in fact
sending such events is discouraged. You should never rely on receiving
KeyEvents for any key on a soft input method. In particular, the default
software keyboard will never send any key event to any application
targetting Jelly Bean or later, and will only send events for some presses
of the delete and return keys to applications targetting Ice Cream Sandwich
or earlier. Be aware that other software input methods may never send key
events regardless of the version. Consider using editor actions like
IME_ACTION_DONE
<http://developer.android.com/reference/android/view/inputmethod/EditorInfo.html#IME_ACTION_DONE>
if
you need specific interaction with the software keyboard, as it gives more
visibility to the user as to how your application will react to key presses.

On Sat, Jan 10, 2015 at 9:28 PM, Yuri Samoilenko <kinnalru at gmail.com> wrote:

> I don't know :( - I'am using last version from play market and last from
> gentoo official portage(marked as 0.7.3) tree and I even can't compare this
> version to repository ones. Sorry.
>
> 2015-01-11 0:18 GMT+03:00 Albert Vaca <albertvaka at gmail.com>:
>
>> I made some changes recently to the keyboard plugin, have you tried them?
>> Does this begin to happen after my changes?
>>
>> On Sat, Jan 10, 2015 at 1:09 PM, Yuri Samoilenko <kinnalru at gmail.com>
>> wrote:
>>
>>> Hello.
>>>
>>> I found a bug when using remote keyboard feature: english signs work
>>> well, but when I change languare in android keyboard to Russian - then no
>>> sign appeared on desktop PC when i type anything. IF i change back to
>>> english - all works well again.
>>>
>>> Happy New Year!
>>>
>>> _______________________________________________
>>> KDEConnect mailing list
>>> KDEConnect at kde.org
>>> https://mail.kde.org/mailman/listinfo/kdeconnect
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150110/8f10afe1/attachment.html>


More information about the KDEConnect mailing list