Bug 52323 - EmulateWheel does not work for vertical scrolling, only horizontal scrolling in xorg-server-1.12.3
Summary: EmulateWheel does not work for vertical scrolling, only horizontal scrolling ...
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Mouse (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-20 20:03 UTC by Sitwon
Modified: 2018-08-10 20:58 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Sitwon 2012-07-20 20:03:31 UTC
I'm using Slackware64-current which recently upgraded to xorg-server-1.12.3. I notice that after the upgrade the vertical scroll stopped working with my external mouse. The xev utility confirms that button presses 4/5 are not being generated when I try to scroll up/down with the EmulateWheel feature, however moving left/right (buttons 6/7) still works normally.

In googling for a solution I found this thread that seems to confirm it's a problem in xorg-server-1.12.3. https://bbs.archlinux.org/viewtopic.php?pid=1131400

Even more interesting, is that while it doesn't work with my external mouse (a Razer Orochi, I've tried in both Bluetooth and USB modes) it DOES work normally if I use the TrackPoint (ThinkPad T520).

I can only guess that the TrackPoint is using the Synaptics driver while the Orochi is using some more generic mouse driver.

Let me know what additional information I can provide to help diagnose and fix this issue.
Comment 1 cybermessiah 2012-08-22 14:43:47 UTC
I am seeing the same issue. I believe its something in the evdev driver.

It seems to be disabling the emulated axis that are already in use by the normal zaxis (mouse wheel). If I swap the emulated axis and remap the buttons I am able to get vertical emulatewheel to work but then horizontal stops, this also has the unwanted side effect of making the real mouse wheel act as horizontal scroll.

to test this:
xinput set-int-prop 8 "Evdev Wheel Emulation Axes" 8 4 5 6 7
xinput set-button-map 8 1 2 3 6 7 4 5 8 9 10 11 12
Comment 2 cybermessiah 2012-08-22 19:53:00 UTC
more info,
it seems it only effects input devices that have a real scroll wheel.

I got a Kensington Orbit which has no form of hardware scroll wheel and emulatewheel works fine.
here are the Axis Labels "xinput list-props" for this device:
Axis Labels (253):      "Rel X" (132), "Rel Y" (133)

and here are the Axis Labels for my Kensington Slimblade Trackball, which is effected by this bug and loses its vertical scroll with emulatewheel:
Axis Labels (253):      "Rel X" (132), "Rel Y" (133), "Rel Vert Wheel" (245)
Comment 3 cybermessiah 2012-09-21 14:54:47 UTC
Just a FYI:
I'm on Debian "testing" (rolling version)
I forced an install of the "unstable" version and this issue went away.
so it looks like its fixed in later versions, or the Debian team fixed it in their own packages.

I'm now on X.Org X Server 1.12.3.902 (1.12.4 RC 2)
Comment 4 GitLab Migration User 2018-08-10 20:58:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/issues/14.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.