[Xquartz-dev] 2.3.2_rc5 KeyPress/KeyRelease

Jean-Francois Sygnet jfs00 at sygnet.info
Thu Jan 1 02:03:21 PST 2009


Hi

I've noticed a change of behavior between 2.3.2_rc4 and 2.3.2_rc5:
in the former pressing a key and keeping it pressed would
generate A SERIES of KeyPress/KeyRelease events, while
in the latter pressing a key and keeping it pressed would
generate only A SINGLE KeyPress event.

As far as I know, the new behavior happens in all
X applications (at least in Xev, Xterm+Bash, Xterm+Less)
but not in non-X applications (Terminal+Bash, Terminal+Less).
I've check by reinstalling _rc3 & _rc4 (both with "old" behavior)
then _rc5 ("new" behavior).

For the record: I use a MacBookPro with a generic
10.5.6 + X11 (no ~/.* files). See below for an
(unhelpful ?) Xev output in both cases when pressing
the space key.

Regardless of this new "feature", I cannot thank you
enough for the work you're doing.
Happy new year.

-- 
Jean-Francois Sygnet
E-mail: jfs00 at sygnet.info



XQuartz 2.3.2_rc4 (xorg-server 1.4.2-apple28)
#############################
KeyPress event, serial 29, synthetic NO, window 0xa00001,
     root 0x27d, subw 0xa00002, time 2387836284, (48,47), root:(68,89),
     state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
     XLookupString gives 1 bytes: (20) " "
     XmbLookupString gives 1 bytes: (20) " "
     XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0xa00001,
     root 0x27d, subw 0xa00002, time 2387836368, (48,47), root:(68,89),
     state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
     XLookupString gives 1 bytes: (20) " "
     XFilterEvent returns: False

KeyPress event, serial 29, synthetic NO, window 0xa00001,
     root 0x27d, subw 0xa00002, time 2387836368, (48,47), root:(68,89),
     state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
     XLookupString gives 1 bytes: (20) " "
     XmbLookupString gives 1 bytes: (20) " "
     XFilterEvent returns: False

KeyRelease event, serial 29, synthetic NO, window 0xa00001,
     root 0x27d, subw 0xa00002, time 2387836444, (48,47), root:(68,89),
     state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
     XLookupString gives 1 bytes: (20) " "
     XFilterEvent returns: False

XQuartz 2.3.2_rc5 (xorg-server 1.4.2-apple30)
#############################################
KeyPress event, serial 29, synthetic NO, window 0xa00001,
     root 0x27d, subw 0x0, time 2390161254, (58,69), root:(58,91),
     state 0x0, keycode 57 (keysym 0x20, space), same_screen YES,
     XLookupString gives 1 bytes: (20) " "
     XmbLookupString gives 1 bytes: (20) " "
     XFilterEvent returns: False



More information about the Xquartz-dev mailing list