<div dir="ltr">Hi,<div><br></div><div>NOTE: Only after adding<span style="font-size:12.8px"> "vmport=off" to "-machine" in the qemu command the "mouse toggle" feature appeared in Spicy window.</span></div><div><br></div><div><span style="font-size:12.8px">After retesting the mouse mode toggle correctly, turns out that the patch DOES NOT change the behaviour before applying this patch,</span></div><div><span style="font-size:12.8px">The mouse is visible and the mouse is "stuck" in the middle of the screen, which is exactly the bug that Victor had described.</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 8, 2016 at 3:23 PM, Victor Toso <span dir="ltr"><<a href="mailto:lists@victortoso.com" target="_blank">lists@victortoso.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
On Mon, Aug 08, 2016 at 10:55:01AM +0300, Dmitry Fleytman wrote:<br>
> >> After testing this patch with spicy it turns out that the mouse is<br>
</span>> >> always in client mode as long as vdagent is running.<br>
<br>
That's weird, I just tested here with spicy (upstream) on windows 7 with<br>
spice-guest-tools installed and the mouse-mode toggle works fine. I can<br>
see in the bottom changing from "mouse: client, agent: yes" to<br>
"mouse: server, agent: yes".<br>
<br>
There is a bug when you switch to serve-mode that when you click the<br>
mouse goes to upper-left position but the guest grabs the mouse after<br>
two or three clicks. AFAIR, someone was working on this.<br>
<span class=""><br>
> >> However this behaviour is the same as the one prior to this patch<br>
> >> which means that this patch doesn't change the current behaviour of<br>
> >> the mouse mode.<br>
<br>
> ><br>
> > That is this patch is useless ??<br>
><br>
> Hi Frediano,<br>
<br>
> I think Sameeh means that he did not succeed to switch<br>
> mouse mode to “server” using spicy and because of that he<br>
> was unable to verify that this patch does not introduce regressions.<br>
><br>
> Do you have any idea why spicy does not switch mouse mode?<br>
<br>
</span>So, with a spice-guest-tools-0.100 and spice-gtk v0.32 (or up) the<br>
toggle does not work. It could be something in the qemu cmdline.<br>
Marc-Andre said [0][1] that -machine ..vmport=off is necessary to make<br>
this work.<br>
<br>
[0] <a href="https://lists.freedesktop.org/archives/spice-devel/2015-November/023383.html" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>archives/spice-devel/2015-<wbr>November/023383.html</a><br>
[1] <a href="http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=208abbcbd7b7225" rel="noreferrer" target="_blank">http://libvirt.org/git/?p=<wbr>libvirt.git;a=commitdiff;h=<wbr>208abbcbd7b7225</a><br>
<br>
Thanks for testing this!<br>
<br>
Cheers,<br>
  toso<br>
<div><div class="h5"><br>
><br>
> Thanks,<br>
> Dmitry<br>
><br>
> ><br>
> > Frediano<br>
> ><br>
> >> On Thu, Aug 4, 2016 at 5:27 PM, Victor Toso < <a href="mailto:lists@victortoso.com">lists@victortoso.com</a> > wrote:<br>
> ><br>
> >>> Hi,<br>
> >><br>
> ><br>
> >>> On Thu, Aug 04, 2016 at 05:07:35PM +0300, Dmitry Fleytman wrote:<br>
> >><br>
> >>>>>>> On Thu, Aug 04, 2016 at 06:34:14AM -0700, Dmitry Fleytman wrote:<br>
> >><br>
> >>>>>>>> Hi Victor,<br>
> >><br>
> >>>>>>>><br>
> >><br>
> >>>>>>>> How do we configure server mouse with VDAgent running?<br>
> >><br>
> >>>>>>><br>
> >><br>
> >>>>>>> You mean the host/VM configuration? What I mean by my question is<br>
> >>>>>>> that<br>
> >><br>
> >>>>>>> we can send a SpiceMsgcMainMouseModeRequest from client to change<br>
> >>>>>>> mouse<br>
> >><br>
> >>>>>>> mode and I would like to know if that would still be possible with<br>
> >>>>>>> this<br>
> >><br>
> >>>>>>> patch.<br>
> >><br>
> >>>>>>><br>
> >><br>
> >>>>>>> Check:<br>
> >><br>
> >>>>>>> <a href="https://cgit.freedesktop.org/spice/spice-gtk/commit/?id=5f89a4df037f6a1f2" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>spice/spice-gtk/commit/?id=<wbr>5f89a4df037f6a1f2</a><br>
> >><br>
> >>>>>><br>
> >><br>
> >>>>>> I mean, is there any tool/command line switch that we can use to check<br>
> >>>>>> this case?<br>
> >><br>
> >>>>><br>
> >><br>
> >>>>> Yes! spicy has a `toggle mouse mode` in the options (shift + F7)<br>
> >><br>
> >>>><br>
> >><br>
> >>>> Cool, I did not know this.<br>
> >><br>
> >>>> Is there pre-compiled spicy binary that we can use somewhere?<br>
> >><br>
> ><br>
> >>> It is part of spice-gtk code base, on fedora you can find it on<br>
> >><br>
> >>> spice-gtk-tools package. Not sure if this is distributed on mingw<br>
> >><br>
> >>> packages for windows.<br>
> >><br>
> > ______________________________<wbr>_________________<br>
> > Spice-devel mailing list<br>
</div></div>> > <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.<wbr>org</a> <mailto:<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.<wbr>freedesktop.org</a>><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/spice-devel</a> <<a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.<wbr>org/mailman/listinfo/spice-<wbr>devel</a>><br>
<div class="HOEnZb"><div class="h5"><br>
> ______________________________<wbr>_________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/spice-devel</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="4" color="#0b5394" face="times new roman, serif">Respectfully,<br></font><div style="font-size:12.8px;color:rgb(136,136,136)"><font size="4" color="#0b5394" face="times new roman, serif"><b><i>Sameeh Jubran</i></b></font></div><div style="font-size:12.8px;color:rgb(136,136,136)"><i style="color:rgb(7,55,99);font-family:"times new roman",serif;font-size:large"><span style="line-height:15px"><a href="https://il.linkedin.com/pub/sameeh-jubran/87/747/a8a" title="View public profile" name="UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter_14e2c1de96f8c195_UNIQUE_ID_SafeHtmlFilter_SafeHtmlFilter_SafeHtmlFilter_webProfileURL" style="color:rgb(17,85,204);margin:0px;padding:0px;border-width:0px;outline:none;vertical-align:baseline;text-decoration:none" target="_blank">Linkedin</a></span></i><br></div><div style="font-size:12.8px;color:rgb(136,136,136)"><font size="4" face="times new roman, serif" color="#073763"><i>Junior Software Engineer @ <a href="http://www.daynix.com" target="_blank">Daynix</a>.</i></font></div></div></div></div></div></div></div>
</div>