Keys modifier don't work with the mouse

Hamel Gilles - Brandt Commerce Gilles.Hamel "at" brandtgroup.com
Mon, 11 Jun 2001 12:41:31 +0000


I use a unix vnc client v3.3.3r1 with a NT vnc server v3.3.3 r7 or r9. I
have a french keyboard.

Here is my problem :
When i click on mouse button with a key modifier pressed (ie: Shift or
Control or Alt ...) , the vnc server insert a key release event before the
button press event.

Then, the keys modifier don't work with the mouse. It's very annoying when,
for example, using shift key to select contiguous chunks of text...

To see what event mouse or keyboard i caugth on server side, my NT run a xev
client. Here is the output of xev :

1st, i press the shift key :

KeyPress event, serial 18, synthetic NO, window 0x800001,
    root 0x26, subw 0x0, time 1049453794, (171,0), root:(948,65),
    state 0x0, keycode 24 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

2nd, i click on the mouse button :

KeyRelease event, serial 18, synthetic NO, window 0x800001,
    root 0x26, subw 0x0, time 1049665238, (168,0), root:(977,84),
    state 0x1, keycode 24 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

ButtonPress event, serial 18, synthetic NO, window 0x800001,
    root 0x26, subw 0x0, time 1049665248, (168,0), root:(977,84),
    state 0x0, button 1, same_screen YES

Any ideas ?
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------