[Wayland-bugs] [Bug 89993] Trackball wheel emulation interferes with dragging

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 12 02:49:19 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89993

            Bug ID: 89993
           Summary: Trackball wheel emulation interferes with dragging
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: chais.z3r0 at gmail.com

I'm not sure if this is the right place for this bug. I was pointed here by
someone in #gnome-shell.

My setup:
Gnome 3.16 on Xorg with a Logitech Marble Mouse Trackball.

The problem:
The Marble Mouse has 4 buttons and a trackball, no scrollwheel. I always
emulated scrolling with this xorg.conf:

Section "InputClass"
    Identifier    "Marble Mouse"
    MatchProduct    "Logitech USB Trackball"
    Option        "EmulateWheelButton" "8"
    Option        "EmulateWheel" "true"
    Option        "XAxisMapping" "6 7"
    Option        "Emulate3Buttons" "on"
    Option        "Emulate3Timeout" "1000"
EndSection

So the small left button initiates scrolling when held down or just sends a
keycode when clicked. I use it for backwards navigation in the browser.
When I updated Gnome to 3.16 I couldn't use the scrolling and noticed a 1
second delay between pressing a mouse button and the corresponding ButtonPress
event.
After some googling I found I can get the scrolling back by issuing

`gsettings set org.gnome.desktop.peripherals.trackball
scroll-wheel-emulation-button 8`

So Gnome chooses to ignore the xorg.conf for some reason.
I got the drag working properly by installing xf86-input-libinput. But then the
scrolling ceases to work.
So I can currently choose between drag'n'drop working as expected and scrolling
working as configured.
I tried creating an xorg.conf using the libinput settings (ScrollMethod and
ScrollButton) which lead to X not restarting properly.

TL;DR version:
xorg.conf -> no scrolling, ButtonPress delayed
xorg.conf + gsetting -> scrolling, ButtonPress delayed
xorg.conf + gsetting + libinput for X -> no scrolling, ButtonPress instant

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150412/af660e9a/attachment.html>


More information about the wayland-bugs mailing list