[Spice-devel] grab mouse in html5 client

Davide Canova davide.canova at heliman.it
Mon Jan 14 06:24:33 PST 2013


Hello,
I'm trying to make the spice html5 client usable enough on our system,
even resorting to temporary solutions.
I made changes to atKeynames.js and utils.js to make it work with
italian keyboards. I wrote a very simple replacement for websockify in
the Go programming language to make it route the connection according
to the URI query string.
The big problem left is now the pointer.
After disabling "enhance pointer precision" in the Windows 7 guest I
got a better synchronization of remote and local pointer.
On LAN they tends to stay in sync but on a slow connection the remote
pointer falls behind, making a big part of the screen (toward the
edges) nearly impossible to reach.
I also observed that, if the page is scrollable, the offset between
the two pointers changes with the position of the scrolling (at least
in Firefox).
I wonder if this pointer lock feature would solve the problem:
http://lists.freedesktop.org/archives/spice-devel/2012-December/011895.html
Unfortunately I know little of the html5 client internals but any help
would be appreciated.

Thanks,
DC


More information about the Spice-devel mailing list