Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Postby celltech001 » 2019-04-04 20:13

In UVNC version 1.2.2.4 (viewer and server), we have noticed that the mouse does not seem to get tracked properly. When trying to click on something, the mouse cursor that I see is not what location gets clicked.

So far, we have noticed this only in the following configurations:
Lenovo T580 (4k screen, but we have it set to 1920x1080 with 200% scaling in Windows)
Lenovo T580 (1920 x 1080 screen, scaling set to 125% (and 150%) in Windows)
Lenovo T480 (1920 x 1080 screen, scaling set to 100% scaling in Windows).

We have not seen this in other models of laptops / PCs (we have a few Dell laptops, a LOT of Dell desktops). Most users using 1920 x 1080 screen resolution at 100% scaling in Windows, some may have custom scaling set.

Has anyone run into issues like this? Any tips or tricks?
celltech001
 
Posts: 3
Joined: 2019-03-27 16:32

Re: Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Postby celltech001 » 2019-04-24 20:06

We found sort of a work around for this issue...

1) Connect to PC with UVNC
2) Control Panel -> Services
3) Restart the UltraVNC service

Seems to work around the issue for that session.
celltech001
 
Posts: 3
Joined: 2019-03-27 16:32

Re: Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Postby Rudi De Vos » 2019-04-25 20:44

It has todo with the dpi settings.
if the dpi change while vnc is running the mouse seems to use the old coordinates.

VNC is dpi aware, on our test pc we can change it on the fly and vnc follow...but on some pc's the awareness doesn't work.

Possible temp change the dpi also works as workaround.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5898
Joined: 2004-04-23 10:21

Re: Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Postby lkroeker » 2019-04-30 15:11

I have a similar issue on my desktop computer.

I run two displays, a 27" 4K screen @ 125% scaling, and a 24" 1080p screen @ 100% scaling.

Whichever screen is set to primary in Windows tracks mouse movement fine, but on the other screen the cursor position is offset proportionally to the scaling value difference on the displays.

When viewing both screens (zoomed out) a larger mousing area is shown than screen area, indicating that the UVNC server seems to be incorrectly mapping the mouse area (for the second screen) and the screen area due to the windows scaling feature.

I'm unsure how to fix the issue, but I might play around a bit to see if I can find a workaround (other than setting scaling to 100% for everything).
lkroeker
 
Posts: 2
Joined: 2016-02-25 15:02

Re: Mouse Cursor Not Tracked Properly (Windows? Lenovo?)

Postby Rudi De Vos » 2019-05-01 10:15

Thanks for the feedback, this could be the clue to repeat it.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5898
Joined: 2004-04-23 10:21


Return to 1.2.2.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron