#217 Cursor position jumps with right click gesture

closed
nobody
Mouse (8)
2015-12-04
2012-07-09
Ian Wood
No

When using the touchpad, if I do a right click gesture (touch with another finger), the cursor often jumps vertically. This has the unfortunate effect that the right click event may no longer be on the object I wanted to click (eg: a hyperlink).

Playing with it a little, it seems to jump vertically if I tap slightly off the horizontal line from the finger already on the touchpad - as if the vertical cursor position is an average of the two finger positions.

I can also achieve a horizontal jump if I tap just off the vertical line from the finger already on the pad.

If I tap at about 45 degrees, the cursor is pretty stable. It appears to be in an approximately 5mm strip either side of horizontal/vertical that the problem occurs.

Discussion

  • Jason Gerecke

    Jason Gerecke - 2012-07-25

    I gave this a shot with a Bamboo Create (CTH-670) and wasn't able to get any kind of jumping with xf86-input-wacom 0.16. If updating your drivers doesn't help, let us know what tablet you're using, as well as the kernel version (and input-wacom version if you're using it).

     
  • Ian Wood

    Ian Wood - 2012-07-31

    Thanks for the response.

    The tablet model is CTH-460.

    I've currently got out-of-the box versions of drivers etc.. from Ubuntu precise (12.04). I'm not sure how to determine what my xf86... version is, but "xsetwacom -V" reports "0.14.0"

    "Xorg -version" tells me "X.Org X Server 1.11.3"
    I downloaded and extracted the xf86-input-wacom-0.16.0.tar.bz2 tarball, but when I ran "./configure --prefix=/usr" it was unable to find a few things it wanted. I'm afraid I'm pretty new to building packages, so I'm not sure what to do with it.

    The X server package names all start with "xserver-xorg-" (./configure complained that "package xorg-server" was not found), so perhaps things have changed around a bit in Ubuntu precise?

    This is what ./configure said:

    ...
    (lots of things that seemingly checked out ok)
    ...
    Package xorg-macros was not found in the pkg-config search path.
    Perhaps you should add the directory containing `xorg-macros.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'xorg-macros' found
    checking whether make supports nested variables... yes
    checking for doxygen... no
    configure: WARNING: doxygen not found - documentation targets will be skipped
    checking for rint in -lm... yes
    checking for XORG... no
    configure: error: Package requirements (xorg-server >= 1.7.0 xproto xext kbproto inputproto randrproto) were not met:

    No package 'xorg-server' found
    No package 'xext' found
    No package 'randrproto' found

    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.

    Alternatively, you may set the environment variables XORG_CFLAGS
    and XORG_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.

     
  • Favux

    Favux - 2012-07-31

    Precise has the 3.2 kernel, X.Org X Server 1.11.3, xf86-input-wacom-0.14.0, CTH-460 should be either the 0xd1 or 0xd6 on 'lsusb'.

    Not sure if updating xf86-input-wacom-0.14.0 to 0.16.0 will help but it won't hurt.

    Two Ubuntu specific HOW TOs are here:
    http://ubuntuforums.org/showthread.php?t=1515562
    http://ubuntuforums.org/showthread.php?t=1038949

    If you use the part for the tar instead of cloning the git repo remember to change 0.15.0 to 0.16.0.

    The new policy of not being allowed to update our HOW TOs is already having an effect. :(

     
  • Ian Wood

    Ian Wood - 2012-07-31

    Thanks for that favux. I'll have a look and get back when I'm able to get 0.16.0 running.

    fyi: lsusb says
    Bus 008 Device 006: ID 056a:00d6 Wacom Co., Ltd

    guess that's the 0xd6 you mentioned.

     
  • Ian Wood

    Ian Wood - 2012-08-08

    Using Favux's frankenserver patch, I got 0.16.0 working, but it didn't fix the problem. Favux thought this may be an Ubuntu specific problem related to their ABI customization (to be honest, I'm not sure what that is..). Favux's frankenserver (; patch: http://ubuntuforums.org/showpost.php?p=12146782&postcount=1034

    A little extra info for you guys to decide if it's your problem or Ubuntu's. I played around with 'jumping right clicks' in xev. I'll attach the output of a few runs. The pattern seems to be one (or more) MotionNotify events about 60-90ms before the right click with a jump of up to 40px (I guess the units are ms and pixels?). This is a typical run:

    MotionNotify event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153310, (109,166), root:(110,218),
    state 0x0, is_hint 0, same_screen YES

    MotionNotify event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153706, (109,160), root:(110,212),
    state 0x0, is_hint 0, same_screen YES

    MotionNotify event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153726, (109,147), root:(110,199),
    state 0x0, is_hint 0, same_screen YES

    MotionNotify event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153746, (109,117), root:(110,169),
    state 0x0, is_hint 0, same_screen YES

    ButtonPress event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153806, (109,117), root:(110,169),
    state 0x0, button 3, same_screen YES

    ButtonRelease event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153806, (109,117), root:(110,169),
    state 0x400, button 3, same_screen YES

    MotionNotify event, serial 36, synthetic NO, window 0x4400001,
    root 0x150, subw 0x0, time 595153830, (109,121), root:(110,173),
    state 0x0, is_hint 0, same_screen YES

     
  • Ian Wood

    Ian Wood - 2012-08-08

    A few xev logs of 'jumping right clicks'

     
  • Ping Cheng

    Ping Cheng - 2015-11-24
    • status: open --> closed
    • Group: --> Production
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks