Hi<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 4:48 PM, Hans de Goede <span dir="ltr"><<a href="mailto:hdegoede@redhat.com">hdegoede@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":416">* When switching from client to server mode (do killall spice-vdagent in a</div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":416">
linux guest), 2 things stand out:<br>
1) The guest mouse cursor does not drawn until a mouse event happens, so the<br>
usual showing of 2 mouse cursors when the mouse is not grabbed does not<br>
happen, which is confusing (the showing of 2 mouse cursors helps to explain<br>
that the guest cursor is frozen until a mouse grab happens)<br></div></blockquote><div><br></div><div>I am not surprised there is issues in this case, as I haven't played with mode switching yet.</div><div><br></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":416">
2) The mouse does not get grabbed immediately even though<br>
"grab mouse in server mode" is enabled. After a click the mouse does get<br>
grabbed (but the guest cursor still does not get drawn until a mouse event<br>
which actually gets send to the guest is generated).<br></div></blockquote><div><br></div><div>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?</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":416">
* When pressing SHIFT+F12 to ungrab both the SHIFT and the F12 key events also<br>
get send to the guest (the SHIFT one is unavoidable, but IMHO we should not send<br>
the F12 events), this happens both with and without having keyboard grabbing<br>
enabled.<br></div></blockquote></div><br>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.<br>
<div><div><br></div>-- <br>Marc-André Lureau<br>
</div>