[Xquartz-dev] 'Screen sharing problem'

Jeremy Huddleston jeremyhu at apple.com
Tue Aug 19 11:23:23 PDT 2008


Is this a regression?  I changed the modifier key handling to _always_  
update modifier keys on every event, not just NSFlagsChanged to work  
around stuck modifiers during space change, etc... so if it is a  
regression, then it is a bug in screen sharing because it's sending  
the 'c' event with the incorrect modifiers (and no corresponding  
NSFlagsChanged event beforehand).

Can you please report this at bugreport.apple.com

--Jeremy

On Aug 19, 2008, at 03:19, Peter Collinson wrote:

> My laptop and main machine are running 2.3.1 rc 1.
>
> If I screen share from my laptop to my main machine - I cannot get any
> control characters through to X apps on the main machine.
>
> Typing Ctrl-C on the laptop puts 'c' into an open xterm on the main
> machine.
>
> I think what is happening is
>
> KeyPress event, serial 22, synthetic NO, window 0x600001,
>     root 0x45, subw 0x0, time 3665126062, (78,117), root:(162,507),
>     state 0x0, keycode 67 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> KeyRelease event, serial 22, synthetic NO, window 0x600001,
>     root 0x45, subw 0x0, time 3665127000, (78,117), root:(162,507),
>     state 0x4, keycode 67 (keysym 0xffe3, Control_L), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> KeyPress event, serial 22, synthetic NO, window 0x600001,
>     root 0x45, subw 0x0, time 3665127000, (78,117), root:(162,507),
>     state 0x0, keycode 16 (keysym 0x63, c), same_screen YES,
>     XLookupString gives 1 bytes:  "c"
>
> KeyRelease event, serial 22, synthetic NO, window 0x600001,
>     root 0x45, subw 0x0, time 3665127073, (78,117), root:(162,507),
>     state 0x0, keycode 16 (keysym 0x63, c), same_screen YES,
>     XLookupString gives 1 bytes:  "c"
>
> This is from an xev running on the main machine.
>
> I didn't release the CTRL button when hitting the 'c'. It looks as if
> hitting the 'c' provokes a key up event.
>
> Odd.
>
>
>
>
>
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3221 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20080819/598a87ba/attachment.bin 


More information about the Xquartz-dev mailing list