Description of problem:
I cannot scroll in virt-viewer, remote-viewer, Gnome Boxes or virt-manager, the mouse events are not passed through, except of this issue the mouse works fine. This problem only exists under Wayland. If I am using Xorg, everything works like it should. So I guess it has to be the implementation that all of this applications do use.
This bug does apply to Fedora 24, too.
Version-Release number of selected component (if applicable):
I am using a T540p with a multi touch scroll. The VM Guest System is Windows and has Spice Geust Tools installed.
Only touchpad scrolling is affected. Scrolling with a mouse is passed through as expected.
If the host is Gnome Shell on Wayland, scrolling just doesn't get passed through.
Under Weston, it's really weird: scrolling in either direction gets translated into scrolling in only one direction (down with "Natural Scrolling" off).
The guest VM doesn't seem to matter; I've tried F24 and 25, XOrg and Wayland.
I can confirm this. Mouse scrolling works in a VM, touchpad or trackpoint scrolling doesn't.
This happens even in VMs with VNC (not spice). Also, it happens with remote-viewer connecting to a vnc server. However, when I connect to the same server with vncviewer, I can scroll just fine. So this is not exactly about spice, but about some library that all the tools use for input processing. Which can be spice-related, I don't know (is there some compatibility mode with vnc in that library?).
Could be an issue in virt-viewer then, or in gtk+.
(In reply to Kamil Páral from comment #3)
> However, when I connect to the
> same server with vncviewer, I can scroll just fine.
vncviewer in tigervnc isn't Wayland native; all the others are.
Running e.g. gnome-boxes on XWayland with GDK_BACKEND=x11 does make trackpad scrolling work. (although this is a terrible workaround because then the keyboard doesn't work!)
I've noticed this "keyboard does not work" issue with GDK_BACKEND=x11 too, but did not get a chance to investigate yet.
Tentatively moving to gtk+.
(but it could very well be remote-viewer/spice-gtk/gtk-vnc event handling which is missing something to handle your trackpad)
*** Bug 1229443 has been marked as a duplicate of this bug. ***
Experiencing the same issue on Fedora 25 with Wayland, with XOrg it does work.
Also would like to add that with Wayland I can't make Super key pass through to VMs, both in Boxes and virt-manager spice client. In virt-manager guest-to-host (but no the other way around) clipboard sharing doesn't work as well as Ctrl+W, which closes the window.
(In reply to fedora-mate-testing from comment #9)
> Also would like to add that with Wayland I can't make Super key pass through
> to VMs, both in Boxes and virt-manager spice client.
That's bug 1285770, unrelated to this.
> That's bug 1285770, unrelated to this.
Got it. Thanks for pointing out to correct issue.
Still an issue with F25 host and F26 Alpha guest.
This is an issue on Ubuntu 17.10 Beta 1.
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Still happens on F26
Also still a problem in 27.
Updating to F27 as confirmed an issue there (bit me just now on some Windows testing).
Most likely related to https://lists.freedesktop.org/archives/spice-devel/2017-November/040603.html
« One note here, when running a wayland spice-gtk/remote-viewer, the only
scroll events I'm getting are GDK_SCROLL_SMOOTH events, I'm not getting
any scroll event until I add GDK_SMOOTH_SCROLL_MASK to the events
spice-gtk listens to (which results in the mouse wheel not being
functional with a wayland client). »
Triaging to gtk3
Can this be related to https://bugzilla.redhat.com/show_bug.cgi?id=1456974 ?
This works now in F28. I didn't notice when exactly it started working.
Fixed by https://gitlab.freedesktop.org/spice/spice-gtk/commit/2212f05145c5f1d5734f0cb7d3945dc58c1d5c8c which is in spice-gtk 0.35
have problem on Fedora 30 with gnome-boxes:
spice-glib.x86_64 0.37-1.fc30 @updates
spice-gtk3.x86_64 0.37-1.fc30 @updates
spice-server.x86_64 0.14.2-1.fc30 @updates
spice-vdagent.x86_64 0.19.0-1.fc30 @updates
gnome-boxes.x86_64 3.32.1-2.fc30 @updates
Wayland on host
Distributor ID: Debian
Description: Debian GNU/Linux 9.9 (stretch)
SESSION UID USER SEAT TTY
c1 116 Debian-gdm seat0 /dev/tty1
3 1000 keeper seat0 /dev/tty2
2 sessions listed.
keeper@keeper-hs03:~/bin$ loginctl show-session 3 -p Type
ii libspice-client-glib-2.0-8:amd64 0.33-3.3+deb9u1
ii libspice-client-gtk-3.0-5:amd64 0.33-3.3+deb9u1
ii spice-client-glib-usb-acl-helper 0.33-3.3+deb9u1
ii spice-vdagent 0.17.0-1
ii spice-webdavd 2.1-1