D6233: KKeyServer: fix handling of KeypadModifier.
Martin Flöser
noreply at phabricator.kde.org
Fri Sep 15 13:15:35 UTC 2017
graesslin added a comment.
In https://phabricator.kde.org/D6233#145981, @dfaure wrote:
> Qt (at shortcut recording time) sees this as Meta+Shift+Print while KWindowSystem (xcbKeyPressEventToQt) sees it as Meta+Shift+SysReq.
>
> Qt does xkb_state_key_get_one_sym( state=51 , code=6b ) = ff61 (XK_Print)
> xcbKeyPressEventToQt does xcb_key_press_lookup_keysym e->state=51 keyModX= 41 keySym0= ff61 (XK_Print) keySym1= ff15 (XK_Sys_Req)
> (all numbers are hex)
> (51 or 41 is the same, that's just removing Numlock)
>
> I'm at a loss at this point though. Should xcbKeyPressEventToQt rather use xkb_state_key_get_one_sym to be closer to the code in Qt? Or what am I missing?
Short google gave me: https://lists.freedesktop.org/archives/xcb/2010-November/006572.html - please have a look at the reply, it might be also our issue here.
REPOSITORY
R278 KWindowSystem
REVISION DETAIL
https://phabricator.kde.org/D6233
To: dfaure, graesslin
Cc: broulik, martinkostolny, bcooksley, graesslin, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170915/f72dca29/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list