Accelerators prob.



I have 2 PCs here:

Old: Win2K SP4, Hummingbird Exceed 8, keyboard SGI qwerty US (very
much like a PC keyboard, except no WINDOWS and no MENU key, ie the
botton row has CTRL, ALT, SPACE, ALT, CTRL, arrows)

New: WinXP SP2, Exceed 8, PC qwerty US keyboard.

I took great care to copy the old Exceed config to the new one.

On the old PC, accelerators for a Motif app, defined as ALT+D (eg)
work fine (using the right ALT key)

On the new one, they dont and xev shows that the sequence detected is
rather nonsense:

KeyPress event, serial 22, synthetic NO, window 0xc00001,
root 0x34, subw 0x0, time 12433073, (85,123), root:(320,390),
state 0x0, keycode 36 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 22, synthetic NO, window 0xc00001,
root 0x34, subw 0x0, time 12433073, (85,123), root:(320,390),
state 0x4, keycode 96 (keysym 0xffea, Alt_R), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 22, synthetic NO, window 0xc00001,
root 0x34, subw 0x0, time 12434557, (85,123), root:(320,390),
state 0xc, keycode 39 (keysym 0x64, d), same_screen YES,
XLookupString gives 1 bytes: (04) ""
XmbLookupString gives 1 bytes: (04) ""
XFilterEvent returns: False

Believe me, at no time did I touch the CTRL key!

Does this ring any bells?

(I know: (1) ALT+ accelerators have been passe for a long time -
changing that is in the pipeline :-( (2) This sounds more like an
EXCEED than a MOTIF issue - but Motif is well known for using peculiar
ways to hook for accelerators; besides, this is about the only place
where Xt-based work is still done).
.



Relevant Pages

  • Re: 16 x 9 or 4 x 3?
    ... But then CTRL usually does do *something* different, ... Composition Window, or the OutLook Express Main Window), CTRL + Enter ... Just Opens a File as normal, but ALT + Enter Opens up the Properties ...
    (uk.people.silversurfers)
  • Re: Non-blocking keyboard read
    ... But I want to be able to detect whether alt, shift or ctrl ... is normal, I guess), but alt I can't detect with getch, it seems. ... I would also look at PyGame, I guess it has functions that can read the keyboard state. ...
    (comp.lang.python)
  • Keyboard donīt works ok in winXP
    ... I have a problem with my keyboard, and I'm sure that's the cause is ... with ctrl and with alt I have the same problem... ... game correctly because when I press shift or ctrl (or alt) and I ... the game think that I never release it. ...
    (microsoft.public.windowsxp.help_and_support)
  • Problem with the keyboard in winXP
    ... I have a problem with my keyboard, and I'm sure that's the cause is ... with ctrl and with alt I have the same problem... ... game correctly because when I press shift or ctrl (or alt) and I ... the game think that I never release it. ...
    (microsoft.public.windowsxp.general)
  • Re: The win key
    ... >> There is a window$ key between the alt and ctrl. ... My old IBM Model M keyboard doesn't have it. ...
    (alt.games.mame)