XIScrollClass increment value incorrectly handled on 32-bit machines

Bug #949465 reported by Chase Douglas on 2012-03-07
This bug affects 16 people
Affects Status Importance Assigned to Milestone
libxi (Ubuntu)
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

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libxi - 2:

libxi (2: 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
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 :-)

Xeletron (xeletron) wrote :

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

Xeletron (xeletron) wrote :

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

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 .

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?

Sean McIntyre (s-mcintyre0) wrote :

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

Xeletron (xeletron) wrote :

can confirm that too

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).

Kamyar (kammoh) wrote :

ubuntu 12.04 amd64 here with libxi6; 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.

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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers