XIScrollClass increment value incorrectly handled on 32-bit machines

Bug #949465 reported by Chase Douglas
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
libxi (Ubuntu)
Fix Released
High
Chase Douglas

Bug Description

Using xinput list --long on a 32-bit machine will output XIScrollClasses with invalid increments of -nan. This is due to bad arithmetic when converting from the XInput protocol FP3232 value to IEEE754 double value. It also may be the cause of bad gtk scrolling on 32-bit machines with the latest gtk update.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxi - 2:1.5.99.3-0ubuntu2

---------------
libxi (2:1.5.99.3-0ubuntu2) precise; urgency=low

  * Fix scroll valuator increment value on 32-bit machines (LP: #949465)
    - Added 0001_scroll_increment_value.patch
  * Bump lintian standards to 3.9.3
 -- Chase Douglas <email address hidden> Wed, 07 Mar 2012 14:44:19 -0800

Changed in libxi (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
brian baker (brian-m-baker) wrote :

i have the same problem but on a 64 bit machine !!
running the latest beta1 fully up to date as of today :-)

Revision history for this message
Xeletron (xeletron) wrote :

this is also happening on a clean install of ubuntu 11.10 (final)

Revision history for this message
Xeletron (xeletron) wrote :

for completion, by holding the left mouse button in nautilus - in empty erea while scolling, natural scrolling does work!

Revision history for this message
Xeletron (xeletron) wrote :

xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12" should do the trick for all apps. It's like nautilus does not listen to X .

Revision history for this message
Luke Hoersten (lukehoersten) wrote :

Natural scrolling doesn't work for me on a 64-bit box on 12.04. Anyone else still having this issue?

Revision history for this message
Sean McIntyre (s-mcintyre0) wrote :

Can confirm. Still not working in 12.04 beta 2 64-bit, with libxi6 version 2:1.5.99.3-0ubuntu2.

Revision history for this message
Xeletron (xeletron) wrote :

can confirm that too

Revision history for this message
Xeletron (xeletron) wrote :

i'm sorry .. i was to soon with my post. i confirm in 32-bit it still does not work. Adding schema addition of mouse_up or mouse_down in gconf settings for nautilus will also not bring new behaviour. ( i thought lets give it a try).

Revision history for this message
Kamyar (kammoh) wrote :

ubuntu 12.04 amd64 here with libxi6 1.5.99.3-0ubuntu2; natural scroll does not work in gtk/gnome apps (like everyone else it seems); but XIScrollClasses increment is shown correctly as 137.0. So I believe natural scrolling bug might not be really a result of this bug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug there has been fixed, could people stop duplicating new issues from it or commenting there? if you have an issue open a new bug, you get a different problem than this one

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.