[Wayland-bugs] [Bug 67563] Touch events dropped after multiple touchpoints hit at once

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 10 17:59:34 PDT 2013


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

--- Comment #4 from U. Artie Eoff <ullysses.a.eoff at intel.com> ---
Not sure if it's related, but I can trigger weston to stop processing touch
events with a single touch device, too.  It's harder to trigger, but by rapidly
tapping the screen in random places, Weston eventually gets into a state where
it stops sending touch events to the clients.

After a little debugging, I found that input.c::notify_touch() gets invoked
with a value of WL_TOUCH_UP by evdev.c::evdev_process_key() twice in a row when
seat->num_tp==1 prior to the first WL_TOUCH_UP.  This results in seat->num_tp
getting decremented too many times, hence halting client touch notifications. 
In other words, the number of invocations of notify_touch(WL_TOUCH_DOWN) and
notify_touch(WL_TOUCH_UP) are not symmetric.  Beyond this, I'm not sure what
triggers evdev_process_key() to handle two BTN_TOUCH 0 events in a row... since
evtest BTN_TOUCH 1 and BTN_TOUCH 0 events appear to be symmetric.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130911/195414a6/attachment.html>


More information about the Wayland-bugs mailing list