| Summary: | xf86-input-evdev regression: every touchscreen movement is duplicated as a core pointer movement, without XIPointerEmulated being set | ||||||
|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | s <s> | ||||
| Component: | Input/evdev | Assignee: | Peter Hutterer <peter.hutterer> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||
| Severity: | normal | ||||||
| Priority: | medium | CC: | peter.hutterer | ||||
| Version: | unspecified | ||||||
| Hardware: | Other | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| i915 platform: | i915 features: | ||||||
| Attachments: |
|
||||||
|
Description
s@ecloud.org
2016-10-10 14:24:27 UTC
(In reply to s@ecloud.org from comment #0) > If I use libinput instead, I don't have this problem. But libinput has > another problem: on a system with multiple touchscreens, they aren't treated > as unique devices. I wanted to test that scenario, so went back to using > evdev for a while... and then this bug came back into focus. I'll think about the rest some other time, but please file a bug against libipnut for this (right now I'm not sure what exactly the bug is you're describing here) This bug is absolutely unrelated to libinput, it is specific for xf86-input-evdev.
You can reproduce it with 'xinput test-xi2':
EVENT type 19 (TouchUpdate)
device: 12 (12)
detail: 2
root: 233.91/170.86
event: 155.91/46.86
buttons:
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 499.00
1: 648.00
2: 5.00
3: 3.00
5: 499.00
6: 648.00
windows: root 0xd5 event 0x1e00001 child 0x1e00001
EVENT type 6 (Motion)
device: 2 (12)
detail: 0
flags: emulated
root: 233.91/170.86
event: 155.91/46.86
buttons: 1
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
0: 499.00
1: 648.00
2: 5.00
3: 3.00
5: 499.00
6: 648.00
windows: root 0xd5 event 0x1e00001 child 0x0
EVENT type 6 (Motion) !!! Oops, we should not receive it
device: 12 (12)
detail: 0
flags: !!! emulated is not set
root: 233.91/170.99
event: 155.91/46.99
buttons: 1
modifiers: locked 0 latched 0 base 0 effective: 0
group: locked 0 latched 0 base 0 effective: 0
valuators:
1: 694.00
windows: root 0xd5 event 0x1e00001 child 0x0
xf86-input-evdev is sending motion events from the slave touch device and it's not possible to filter them out by the XIPointerEmulated flag.
Created attachment 128662 [details] [review] bugfix Alexander's patch seems to work for me. Pushed as 231061d004ee4e924bb736adc428287367d2001c, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.