[Xquartz-dev] My RADAR report 6165507

George Peter Staplin georgeps at xmission.com
Sun Dec 14 11:41:04 PST 2008


> On Dec 14, 2008, at 00:30, Peter Collinson wrote:
>> I am using Apple to Apple screen sharing with the standard Leopard   
>> apps - and find that xterms on the target machine don't get   
>> modifiers - no shift and no control characters are seen. My   
>> original report talked about control characters - I hadn't looked   
>> at the shifting at that time.
[snip]
>> Here's my full original bug report:
>>
>> 21-Aug-2008 12:48 AM Peter Collinson:
>> Summary:
>> 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. It   
>> looks as if screen sharing is sending incorrect[NSEvent modifiers]   
>> with the keypress... (diagnosis courtesy of Jeremy Huddlestone).   
>> The X server on the target machine version X11 2.3.1 release   
>> candidate 1.
>>
>> Steps to Reproduce:
>>
>> 1)	Install the new release of X11 on the target machine
>> 2)	Open an xterm window
>> 3)	Screen share from another machine into the target machine
>> 4)	Select the xterm window - and press Control-C
>> 5)	Observe the character 'c' appearing in the window
>> 6)	Now start xev on the target machine and press 'Control' and 'c'
>>
>> Expected Results:
>>
>> 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:  ""
>>
>> 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"

state should actually be 0x4 for ControlMask here, and XLookupString  
should be ""


>> 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"

state should be 0x4 here too, and XLookupString should not provide "c"

>> 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:  ""



George
-- 
http://people.freedesktop.org/~gstaplin/


More information about the Xquartz-dev mailing list