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

Reply via email to