[Spice-devel] spice-gtk mouse notes
marcandre.lureau at gmail.com
Fri Dec 9 05:40:09 PST 2011
On Thu, Dec 8, 2011 at 4:48 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> * When switching from client to server mode (do killall spice-vdagent in a
linux guest), 2 things stand out:
> 1) The guest mouse cursor does not drawn until a mouse event happens, so
> usual showing of 2 mouse cursors when the mouse is not grabbed does not
> happen, which is confusing (the showing of 2 mouse cursors helps to
> that the guest cursor is frozen until a mouse grab happens)
I am not surprised there is issues in this case, as I haven't played with
mode switching yet.
2) The mouse does not get grabbed immediately even though
> "grab mouse in server mode" is enabled. After a click the mouse does
> grabbed (but the guest cursor still does not get drawn until a mouse
> which actually gets send to the guest is generated).
It can't grab immediately, as you may not be using your spice client, and
you don't want to steal the pointer from the user. Perhaps we could do it
when we have the pointer & focus?
* When pressing SHIFT+F12 to ungrab both the SHIFT and the F12 key events
> get send to the guest (the SHIFT one is unavoidable, but IMHO we should
> not send
> the F12 events), this happens both with and without having keyboard
The nice thing about sending it to the guest too, is that you don't prevent
the user from using that key combination in the guest. Which is actually
very helpful when using spicy inside spicy, for instance. Fixing this is
trivial if we really prefer that behaviour.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Spice-devel