Bug 1386602
Summary: | Can't scroll in virt-viewer, Gnome Boxes, virt-manager under Wayland using touchpad/trackpoint | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Kirrmann <stefan.kirrmann> |
Component: | gtk3 | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | adam, alexl, alexm, alon, anass.1430, berrange, bulk, carlos.otgz, cfergeau, cosimo.cecchi, crobinso, dimitris.on.linux, djuran, ejb1123, fedora2021q2, fedora-mate-testing, guidomureddu, hdegoede, ITProf13, james.hogarth, jforbes, jm.bugtracking, kostya.keeper, kparal, marcandre.lureau, mclasen, mikegrayv2.0, paul, rdieter, redhat-bugzilla, rhbz, sandmann, uril, V02460, virt-maint |
Target Milestone: | --- | Keywords: | CommonBugs, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | https://fedoraproject.org/wiki/Common_F26_bugs#wayland-touchpad-scroll-in-vm | ||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-09 08:14:05 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1277927 |
Description
Stefan Kirrmann
2016-10-19 09:38:44 UTC
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' of '25'. 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 ## Guest: Distributor ID: Debian Description: Debian GNU/Linux 9.9 (stretch) Release: 9.9 Codename: stretch $ loginctl 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 Type=x11 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 |