Red Hat Bugzilla – Bug 1306365
[gtk3] inverse effect of mouse wheel on vertical scroll bar inside a virtual machine under GNOME on Wayland host session
Last modified: 2016-05-13 14:07:20 EDT
Description of problem:
For a fully updated Fedora development (rawhide) system, choosing the (default) GNOME (on Wayland) host session has the effect that scrolling up- or downward with the mouse wheel in a virtual machine run in GNOME Boxes is inverted with respect to a GNOME on Xorg host session.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start GNOME on Wayland host session.
1. Run a Fedora 23 or 24 client session inside GNOME Boxes.
2. Scroll up- or downward with the mouse wheel in some GTK-based application like GNOME Terminal or Firefox inside the virtual machine.
Scrolling downward makes the scroll bar scroll upward and vice versa.
Scrolling downward makes the scroll bar scroll downward and vice versa.
- Choosing a GNOME on Xorg host session restores the customary behaviour.
- The type of the client session (GNOME on Wayland/Xorg) has no influence.
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
I can confirm this is also happening on arch linux, also hapening when accessing the same qemu:///session with virt-manager and also happening when starting a KDE guest session.
Issue is still present for gnome-shell-3.20.1-1.fc24. For the time being, enabling "natural scrolling" in gnome-control-center presents a workaround for restoring the correct direction.
Check https://bugzilla.gnome.org/show_bug.cgi?id=764601 for gnome-boxes bug.
Created attachment 1153806 [details]
Wayland: fix up/down mix up in discrete events (from gtk-3-20 branch))
Patch from https://github.com/GNOME/gtk/commit/a537bdc1fe4d4323b9a0c39b23cb15633eeff64c which fixes the inverse scroll direction of mouse-wheel events in a GNOME on Wayland host session.
Issue is fixed upstream in the gtk-3-20 branch and will be included in the upcoming release gtk+ 3.20.4.