[Differential] [Request, 9 lines] D2471: Translate Qt key events through the unicode text with xkbcommon

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Wed Aug 17 15:07:55 UTC 2016


graesslin created this revision.
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION SUMMARY
  KKeyServer does an incorrect translation to keysyms: it always
  translates to the uppercase variant.
  
  This change makes the default go through xkbcommon and tries to get
  the keysym from matching the unicode representation. E.g. an "a" is
  then recognized as the lower case a, and an "A" as the uppercase one.
  
  Only if the translation through text fails we pass back to KKeyServer
  which does a reasonable translation for non-text symbols.

REPOSITORY
  rKWIN KWin

BRANCH
  virtualkeyboard-sym-translation

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

AFFECTED FILES
  virtualkeyboard.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160817/ba1ca251/attachment.html>


More information about the Plasma-devel mailing list