option EmulateWheelTimeout not working

Bug #38272 reported by Eduardo Durany Fernández
28
Affects Status Importance Assigned to Milestone
xserver-xorg-input-mouse (Ubuntu)
Fix Released
Medium
Ubuntu-X

Bug Description

With the "EmulateWheelTimeout" option i can use button 2 on click and scroll horizontally and vertically on drag.

Reproducible: Always
Steps to Reproduce:
1. Add:
Option "EmulateWheel" "yes"
Option "EmulateWheelButton" "2"
Option "EmulateWheelTimeout" "200"
in Section "InputDevice" of your mouse into xorg.conf

2. Restart X

3. Press button 2 of your mouse in xev

Actual Results:
Nothing

Expected Results:
Button 2 click event

It is ok in xorg cvs and (as far as i know) in xorg-input-mouse 1.0.4

This option is very important to every thinkpad laptop owner to make the 3-buttons trackpoint usable.

Using Ubuntu Dapper.
xserver-xorg-input-mouse
Version: 1:1.0.3.1+cvs.20060109-0ubuntu1

xorg.conf mouse section:

Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"
        Option "CorePointer"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "ExplorerPS/2"
        Option "ZAxisMapping" "4 5"
        Option "Emulate3Buttons" "no"

        Option "EmulateWheel" "yes"
        Option "EmulateWheelButton" "2"
        Option "EmulateWheelTimeout" "200"
EndSection

description: updated
Revision history for this message
Eduardo Durany Fernández (edurany) wrote :

I compile and install xserver-xorg-input-mouse ver. 1.0.4
from a gentoo install that i have on another patition and is working perfectly.

Sorry for the first report of the bug. I hope that this time the description is better. And sorry for my poor english.

Revision history for this message
Eduardo Durany Fernández (edurany) wrote :

This is the bug in freedesktop bugzilla, #5071 and is fixed in xserver-xorg-input-mouse ver. 1.0.4

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

Revision history for this message
Peter Meiser (meiser79) wrote :

Please consider upgrading.

All ThinkPad users (including me) will be grateful.

Peter Meiser (meiser79)
Changed in xserver-xorg-input-mouse:
assignee: nobody → daniels
Daniel Stone (daniels)
Changed in xserver-xorg-input-mouse:
assignee: daniels → ubuntu-x-swat
Revision history for this message
j4 (ubuntu-23t) wrote :

this can be confirmed for dapper of today. as it breaks our mouse-button aka paste, it is significantly annoying.

Changed in xserver-xorg-input-mouse:
status: Unconfirmed → Confirmed
Revision history for this message
Daniel T Chen (crimsun) wrote : debdiff against xserver-xorg-input-mouse 1:1.0.3.1+cvs.20060109-0ubuntu1 fixing EmulateWheelTimeout option

Apply patch from X.Org #5071 [0] to fix EmulateWheelTimeout option that affects at least 3-button Trackpoint users.

[0] https://bugs.freedesktop.org/attachment.cgi?id=4316&action=diff

Changed in xserver-xorg-input-mouse:
status: Confirmed → In Progress
Revision history for this message
Eduardo Durany Fernández (edurany) wrote :

It seems that it is working fine. Good job Daniel and a lot of thanks.

Revision history for this message
j4 (ubuntu-23t) wrote :

I second that, thanks a lot for the quick response.

Revision history for this message
Eduardo Durany Fernández (edurany) wrote :

Is it posible that sometimes when i click on button 2 (center), the mouse driver sends a button 2 and a button 1 (left) event?

I think this never happened to me when i used driver version 1.0.4.

Revision history for this message
Eduardo Durany Fernández (edurany) wrote :

Yes, this also happens with version 1.0.4.

Revision history for this message
Peter Meiser (meiser79) wrote :

Or could we perhaps sync with debian unstable? It has 1.0.4.

Revision history for this message
Javier Sixto (javyyer) wrote :

Yes it would be nice to switch on 1.0.4.
I'm trying to Emulate third button and wheel at the same time, on a 2 buttons trackpoint with current version 1.0.3.1+cvs.20060109-0ubuntu1.
here is my mouse options :
        Option "Emulate3Buttons" "true"
        Option "Emulate3Timeout" "100"
        Option "EmulateWheel" "true"
        Option "EmulateWheelTimeout" "500"
        Option "EmulateWheelButton" "3"
        Option "ZAxisMapping" "X"
Current version simply locks all events from button 3 when EmulateWheel & Emulate3Buttons are activated.
Version 1.0.4 just works.

Revision history for this message
Andreas Leitner (aleitner) wrote :

I too can confirm that the above patch fixes the issue with my T43 trackpoint. Any chance that this can make it into dapper-upgrades, since apparently it did not make it into dapper?

Revision history for this message
Javier Sixto (javyyer) wrote :

i can confirm that using current release EmulteWheel doesn't work and locks designed button, version 1.0.4 works. Emulate3Button seems to do no work with EmualteWheel, but my 2 buttons steel works normaly with 1.0.4

Revision history for this message
Matt Zimmerman (mdz) wrote :

OK for dapper-updates, thanks

Changed in xserver-xorg-input-mouse:
status: In Progress → Fix Committed
Revision history for this message
Daniel T Chen (crimsun) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 15 May 2006 09:16:48 -0400
Source: xserver-xorg-input-mouse
Binary: xserver-xorg-input-mouse
Architecture: source
Version: 1:1.0.3.1+cvs.20060109-0ubuntu1.1
Distribution: dapper-updates
Urgency: low
Maintainer: Daniel Stone <email address hidden>
Changed-By: Daniel T Chen <email address hidden>
Description:
 xserver-xorg-input-mouse - X.Org X server -- mouse input driver
Changes:
 xserver-xorg-input-mouse (1:1.0.3.1+cvs.20060109-0ubuntu1.1) dapper-updates; ur
gency=low
 .
   * Apply patch from X.Org #5071 to fix EmulateWheelTimeout option that
     affects at least 3-button Trackpoint users (Closes: Malone #38272).
Files:
 e281993ee6464b81fb77a1807467c0e6 807 x11 optional xserver-xorg-input-mouse_1.0.
3.1+cvs.20060109-0ubuntu1.1.dsc
 f40c4c78f8efb199db92e0a2fbaf5012 14971 x11 optional xserver-xorg-input-mouse_1.
0.3.1+cvs.20060109-0ubuntu1.1.diff.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEpWvve9GwFciKvaMRAnGwAJ0VwmV0NfPPPKtWK1xFUupN8CaJ/wCgpLwU
dtL7jlkMUvWfHJP4EV4BGEk=
=Lxb5
-----END PGP SIGNATURE-----

Changed in xserver-xorg-input-mouse:
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

Accepted into dapper-updates.

Peter Meiser (meiser79)
Changed in xserver-xorg-input-mouse:
status: Fix Released → Fix Committed
Daniel T Chen (crimsun)
Changed in xserver-xorg-input-mouse:
status: Fix Committed → Fix Released
Revision history for this message
André Rüdiger (andreruediger-deactivatedaccount) wrote :

I've installed latest Edgy Beta and the Trackpoint on my Thinkpad T42p wasn't working. (The Touchpad worked ferfectly.) After inserting the three lines mentioned above

   Option "EmulateWheel" "yes"
   Option "EmulateWheelButton" "2"
   Option "EmulateWheelTimeout" "200"

it worked perfectly. I can scroll by holding the middle button and can close tabs in FF by clicking the middle button.

Any chance to make this work out of the box?

Are other packages affected that are responsible for the Trackpoint configuration?

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.