D19653: Smart keyboards support on remote input plugin

Chansol Yang noreply at phabricator.kde.org
Sun Mar 10 11:51:05 GMT 2019


chansolyang created this revision.
Herald added a project: KDE Connect.
Herald added a subscriber: kdeconnect.
chansolyang requested review of this revision.

REVISION SUMMARY
  Currently, in onCreateInputConnection(), KeyListenerView does not set EditorInfo.inputType to any value.
  As a result, InputType gets left in its default value of 0, making IMEs use their 'single-keystrokes-only' mode.
  
  This patch explicitly sets InputType to TYPE_CLASS_TEXT, so that multi-character input will be enabled;
  making 'smart' IMEs such as Swype Keyboard and CJK keyboards usable with the remote input plugin.
  
  Fixes the following bug:
  BUG: 365305

TEST PLAN
  Try writing text in the remote input plugin, using various 'smart' keyboards.

REPOSITORY
  R225 KDE Connect - Android application

BRANCH
  swypekey

REVISION DETAIL
  https://phabricator.kde.org/D19653

AFFECTED FILES
  src/org/kde/kdeconnect/Plugins/MousePadPlugin/KeyListenerView.java

To: chansolyang
Cc: kdeconnect, ctakano, vporvaznik, mschroeder, varunp, shivanshukantprasad, skymoore, brute4s99, wistak, anoopv, dvalencia, rmenezes, julioc, Leptopoda, timothyc, Danial0_0, johnq, Pitel, domson, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, lemuel, menasshock, mikesomov, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20190310/47997ba5/attachment.html>


More information about the KDEConnect mailing list