Bug 142247 - Edit shortcuts doesn't accept some XF86 key codes
Summary: Edit shortcuts doesn't accept some XF86 key codes
Status: RESOLVED DUPLICATE of bug 66132
Alias: None
Product: kmail
Classification: Applications
Component: keys and menus (show other bugs)
Version: 1.9.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 00:44 UTC by CIJOML
Modified: 2007-02-27 16:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CIJOML 2007-02-27 00:44:03 UTC
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!
Comment 1 Thomas McGuire 2007-02-27 16:02:17 UTC

*** This bug has been marked as a duplicate of 66132 ***