After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 675615 - Mouse scrollwheel not working in local Windows XP guest
Mouse scrollwheel not working in local Windows XP guest
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
3.4.x (unsupported)
Other Linux
: Normal minor
: --
Assigned To: GNOME Boxes maintainer(s)
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-05-07 14:03 UTC by Carl van Tonder
Modified: 2016-03-31 13:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Output of `sudo virsh dumpxml WinXP-Pro` (3.28 KB, text/xml)
2012-05-07 14:03 UTC, Carl van Tonder
Details

Description Carl van Tonder 2012-05-07 14:03:20 UTC
Created attachment 213592 [details]
Output of `sudo virsh dumpxml WinXP-Pro`

carl@chaffinch:~$ rpm -q gnome-boxes
gnome-boxes-3.4.1-1.fc17.x86_64

"WinXP-Pro" is a VM created using virt-manager, configured to use a graphics tablet and mouse (following, I believe, libvirt or QEMU defaults), as well as a SPICE connection for graphics -- the configuration XML is attached below.

When viewing that VM in gnome-boxes, mouse scrollwheel events are apparently not received by the guest -- I don't know of an "xev" equivalent on Windows, and haven't yet had time to test on a GNU/Linux guest. Scrolling does not work, throughout the guest operating system. "Special" keyboard keys, other mouse events, and everything else all seem to be working as they should be. 

This is apparently a problem specific to boxes -- scrolling has worked fine in vinagre (using SPICE or VNC), and also works in `remote-viewer`. It does not seem to make a difference whether the VM is started using virt-manager or boxes itself.

Please let me know which other config files (or logs) would be helpful in diagnosing this issue.
Comment 1 Marc-Andre Lureau 2012-05-07 14:07:37 UTC
hi, what's your version of spice-gtk? Could you try with 0.12? thanks
Comment 2 Marc-Andre Lureau 2012-05-07 14:09:40 UTC
it could be that we need to modify display-page.vala

event_box.set_events (EventMask.POINTER_MOTION_MASK);

add add | EventMask.SCROLL_MASK

If you could give it a try, that would be nice :)
Comment 3 Carl van Tonder 2012-05-07 14:11:36 UTC
Thanks for the (amazingly fast!) reply.

carl@chaffinch:~$ rpm -q spice-gtk
spice-gtk-0.12-2.fc17.x86_64

I'll try making that change now, cheers.
Comment 4 Carl van Tonder 2012-05-07 15:24:09 UTC
With that change applied, scrolling works fine. Thank you for your help.