You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by "Michael Jumper (JIRA)" <ji...@apache.org> on 2018/04/02 19:49:00 UTC

[jira] [Resolved] (GUACAMOLE-534) Mouse cursor goes out of sync when VNC display is scaled

     [ https://issues.apache.org/jira/browse/GUACAMOLE-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Jumper resolved GUACAMOLE-534.
--------------------------------------
    Resolution: Invalid

> Mouse cursor goes out of sync when VNC display is scaled
> --------------------------------------------------------
>
>                 Key: GUACAMOLE-534
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-534
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacamole-common-js
>            Reporter: Charitha Dandeniya Arachchige
>            Priority: Minor
>         Attachments: scaleFix.diff
>
>
> I'm using guacamole-common-js to write a JS client to connect to a remote desktop via VNC protocol. Following is the code I use to add Guacamole client to the display div. I'm using the scale() function to scale the VNC window. 
> var display = document.getElementById("display");
> var guac = new Guacamole.Client(new Guacamole.HTTPTunnel("tunnel"));
> display.appendChild(guac.getDisplay().getElement());
> display.scale(0.9);
> When I do this the mouse cursor is going out of sync. There is a gap between the actual cursor and the remote cursor. I could fix this by correcting the mouse position in the sendMouseState() function of Client module. I have attached the scaleFix.diff file which includes this fix. I hope this would be useful.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)