gujjwal00 / avnc

VNC Client for Android
GNU General Public License v3.0
600 stars 57 forks source link

[Enhancement] Support showing actual remote cursor or invert mouse color #241

Closed sbobbo closed 1 month ago

sbobbo commented 1 month ago

I have my desktop set to invert my mouse color per the standard windows mouse settings such that my mouse cursor automatically shows as white on black backgrounds and black on white backgrounds, etc.

AVNC does not seem to support that functionality. The cursor always shows as a black mouse cursor, even when the actual mouse cursor on the remote screen is white.

Is there any chance of improving this?

Thank you!

gujjwal00 commented 1 month ago

AVNC will draw whatever image is sent by the server as cursor, so its probably the VNC server which is not sending updated cursor image.

Cursor image exchange is not part of the core RFB protocol, and servers differ in how they send cursor images. Can you tell me which OS and VNC server are you using?

sbobbo commented 1 month ago

Oh, i'm sorry. I'm on Windows 10, using TightVNC. I dug around in the settings a bit and didn't see anything relevant per this issue. Do you suggest a different VNC Server?

sbobbo commented 1 month ago

I apologize, I have resolved my issue.

I tried a few other VNC servers and none helped. Config for mouse cursor was lacking (except on the viewer apps, strangely)

Regardless, my issue apparently stemmed from the Windows 10 mouse setting that helps with visibility when actually sitting at the computer, as seen here: https://imgur.com/e7yW5ve

VNC just does not play nice with that inverted mouse cursor setting, choosing to always display the cursor as pure black. I swapped to the mouse cursor one to the left, the black cursor with white outline, and now everything works as expected. Well, minus losing the inverted cursor functionality, but that's fine since this other setting has good visibility too.

Thank you for the help, it pointed me in the right direction ultimately.