Workaround and upcoming fix for Xorg scroll wheel bug

I sent a note to our internal lists today and already got a half dozen "I thought it was just my system..." responses, so for other people suffering in silence, and not recognizing this, I'll post it here too:

There's a bug in Xorg 6.9 (included in Nevada builds 28 & later, S10U2, and S10 patches) in which if you scroll the wheel too fast on your wheel mouse, you get left/right wheel events instead of up/down, which is particularly annoying in Firefox, which interprets left/right wheel as back/forward page history.

From recent conversation, it appears a lot more people have been suffering in silence with this bug than have reported it to us.

If you're one of those, you may not have noticed that bug 6372113 has been updated with both a fix-in-progress, based on the upstream fix from X.Org, and a simple workaround of:

Change or add this line in the "InputDevice" section for your mouse in /etc/X11/xorg.conf:
        Option      "ZAxisMapping" "4 5 4 5"
(The default ZAxisMapping in Xorg 6.9 is "4 5 6 7".)

With the workaround, Xorg will still think it's getting left/right events, but will report them to applications as simply more up/down events. This will break people actually using left/right capable devices, like the internal-frkit enabled Ferrari 3400 scroll pad/button/thingy. The actual fix will allow both types of scroll events to work correctly, and has been put into our sources for Nevada build 40.

[Technorati Tags: , , , ]

Comments:

And I thought something was wrong with my mouse! :-)

Posted by OdR on May 04, 2006 at 01:27 PM PDT #

I REALLY thought it was my mouse, because I had just bought a new one. And naturally blamed it on that one. I'm experiencing this in Nevada #32. Thanks for posting this !!

Posted by Willem on May 04, 2006 at 04:43 PM PDT #

So it was Xorg and not Firefox. Guess I put that one in the wrong bugzilla.

Posted by David on May 05, 2006 at 02:06 AM PDT #

Most of you may know this already, but if you want your Firefox to horizontal scroll with the wheel, you just need to set
mousewheel.horizscroll.withnokey.action 0
mousewhell.horizscroll.withnokey.numlines 1
in your about:config. I'm not sure why this is not the default...

Posted by Bart Massey on May 10, 2006 at 05:48 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Engineer working on Oracle Solaris and with the X.Org open source community.

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle, the X.Org Foundation, or anyone else.

See Also
Follow me on twitter

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today