[Bug 142247] New: Edit shortcuts doesn't accept some XF86 key codes

CIJOML cijoml at volny.cz
Mon Feb 26 23:44:04 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=142247         
           Summary: Edit shortcuts doesn't accept some XF86 key codes
           Product: kmail
           Version: 1.9.5
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: keys and menus
        AssignedTo: kdepim-bugs kde org
        ReportedBy: cijoml volny cz


Version:           1.9.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-mh1

Want add alternate shortcut (button on my multimedia keyboart) for Reply to message (normal shortcut is R). Keyboard returns 

KeyPress event, serial 32, synthetic NO, window 0x2c00001,
    root 0x4d, subw 0x0, time 6989860, (417,720), root:(421,747),
    state 0x0, keycode 228 (keysym 0x1008ff72, XF86Reply), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2c00001,
    root 0x4d, subw 0x0, time 6990062, (417,720), root:(421,747),
    state 0x0, keycode 228 (keysym 0x1008ff72, XF86Reply), same_screen YES,
    XLookupString gives 0 bytes:

in xev.

Alternate key is not filled when key is pressed, but kmail "thinks" about it for 4 secs. Then do nothink.

I wa also tried edit manually

share/apps/kmail/kmmainwin.rc

 <ActionProperties>
  <Action shortcut="R;XF86Reply" name="reply" />
  <Action shortcut="F1;Help" name="help_contents" />
  <Action shortcut="Plus;Undo" name="go_next_unread_message" />
  <Action shortcut="Plus;Redo" name="go_previous_unread_message" />
  <Action shortcut="Ctrl+P;Print" name="file_print" />
 </ActionProperties>

butt this also didn't have any affect. But for example Print which is mapped to 

KeyPress event, serial 32, synthetic NO, window 0x2c00001,
    root 0x4d, subw 0x0, time 7126451, (404,728), root:(408,755),
    state 0x0, keycode 185 (keysym 0xff61, Print), same_screen YES,
    XKeysymToKeycode returns keycode: 111
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

KeyRelease event, serial 32, synthetic NO, window 0x2c00001,
    root 0x4d, subw 0x0, time 7126549, (404,728), root:(408,755),
    state 0x0, keycode 185 (keysym 0xff61, Print), same_screen YES,
    XKeysymToKeycode returns keycode: 111
    XLookupString gives 0 bytes:


works.

I was also trying Redo, Undo and many other XFF86 keys on my keyboard, but it also doesn't help :(

Full list of my multimedia buttons follows:

    key <AE13>  {       [ XF86Messenger         ]       };
    key <I09>   {       [ XF86New               ]       };
    key <K64>   {       [ XF86Open              ]       };
    key <I2F>   {       [ XF86Close             ]       };
    key <I64>   {       [ XF86Reply             ]       };
    key <I07>   {       [ Redo                  ]       };
    key <I0A>   {       [ Undo                  ]       };
    key <I10>   {       [ XF86AudioPrev         ]       };
    key <I16>   {       [ XF86LogOff            ]       };
    key <I19>   {       [ XF86AudioNext         ]       };
    key <I20>   {       [ XF86AudioMute         ]       };
    key <I21>   {       [ XF86Calculator        ]       };
    key <I22>   {       [ XF86AudioPlay, XF86AudioPause ] };
    key <I23>   {       [ XF86Spell             ]       };
    key <I24>   {       [ XF86AudioStop         ]       };
    key <I2E>   {       [ XF86AudioLowerVolume  ]       };
    key <I30>   {       [ XF86AudioRaiseVolume  ]       };
    key <I02>   {       [ XF86HomePage          ]       };
    key <I75>   {       [ Help                  ]       };
    key <I3C>   {       [ XF86Music     ]       };
    key <I0E>   {       [ XF86Forward           ]       };
    key <I5A>   {       [ XF86Send              ]       };
    key <I55>   {       [ XF86Save              ]       };
    key <I39>   {       [ Print                 ]       };
    key <I5F>   {       [ XF86Sleep             ]       };
    key <FK17>  {       [ XF86Pictures  ]       };
    key <I6C>   {       [ XF86Mail      ]       };      
    key <XFER>  {       [ XF86AudioMedia        ]       };
    key <I70>   {       [ XF86Documents ]       };


Thanks a LOT for quick help!



More information about the Kdepim-bugs mailing list