<@U03ED7UNVFH> Please tell me your setup. Are you ...
# analog-design
s
@Ahmed Reda Please tell me your setup. Are you using a physical Linux machine? or a Linux virtual machine inside a windows host? Or are you remotely connecting to some Linux server?
a
Thank you for kind reply. I am connecting Linux server remotely.
s
@Ahmed Reda what software are you using to connect to the linux server? Thank you
a
OK, my operating system is windows8.1 and i am connecting to the Linux server using Chrome Remote Desktop.
m
actually i am wrong
we are using google’s remotedesktop which is based on ssh
Screen Shot 2022-06-14 at 10.30.38 AM.png
@Stefan Schippers see the results of the mouse test (KeyPress) ^^^^^^
@Stefan Schippers see the results of the mouse test (ButtonPress) vvvvvvv
Screen Shot 2022-06-14 at 10.41.35 AM.png
@Stefan Schippers yes they are different in response to the key press or mouse click
@Stefan Schippers I tried the following scenarios with no issue with wiring with W 1. Mac OS XQuartz 2. Accessing a machine remotely with VNC through NoVNC web server - from the browser
s
@mkk (@Tim Edwards ) Thank you Mohamed for the test, it is clear that the XKeyEvent when using remote connection is not reporting X and Y mouse coordinates when a key is pressed. I see negative values, the X11 standard requires that the X and Y coordinates of the mouse relative to window where keyboard event happened are reported.
Copy code
int x, y;       /* pointer x, y coordinates in event window *
The same test program correctly reports X and Y mouse position relative to windows on ButtonPress events. I need to find on stackoverflow if there is some solution to this. A user who had the exact same issue using vmware got his problem solved after a vmware upgrade. In that case it was thus a bug in the virtualization software.