The title and summary of this bug needs to be fixed, it's misleading.

The problem isn't with the XInput version, which is fine, it's that the
Python code doesn't cope correctly with the error it is getting
(BadValue) which indicates that a previous XIQueryVersion() call was
made with a higher XInput version number (2.1) than the one it sent
(2.0).

This first call appears to now happen when the Python code does:

    class SynaptiksApplication(KUniqueApplication):

which is on line 246 of
/usr/share/pyshared/synaptiks/kde/trayapplication.py.

A temporary workaround would be to change line 146 of
/usr/share/pyshared/synaptiks/x11/input.py from:

    matched, actual_version = xinput.query_version(display, (2, 0))

to:

    matched, actual_version = xinput.query_version(display, (2, 1))

which will make it work until the XInput version changes again (or if
the user runs the code on an older system with XInput version 2.0).

Not entirely sure what the right fix should be, but I suspect this needs
to be reported back upstream to KDE.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1039261

Title:
  Version Error loading touchpad kcm: Xinput extension is too old

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/synaptiks/+bug/1039261/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to