We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4509 - Single finger events "jump around" to other fingers during multitouch instead of sticking with first finger
Summary: Single finger events "jump around" to other fingers during multitouch instead...
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.9
Hardware: x86_64 Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 13:51 UTC by Ellie
Modified: 2019-04-04 15:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ellie 2019-02-16 13:51:12 UTC
Single finger events "jump around" to other fingers during multitouch: as soon as a second finger is pressed, the single finger mouse emulation (SDL_TOUCH_MOUSEID) will JUMP to that new finger, and if it's released, jump back.

Can this possibly be removed? This behavior leads for me to insane jerkiness and jumps related to scrolling and just about anything else and I see no benefit, so this seems, if not a bug, then like a poor choice to me.

Expected behavior would be that the "virtual single finger mouse" reported via SDL_TOUCH_MOUSEID always sticks with the finger that was pressed down first unless that one is released, instead of needlessly jumping to other fingers once 2+ fingers are used
Comment 1 Sam Lantinga 2019-03-17 02:21:26 UTC
Yes, that makes sense. Can you provide a tested patch?

Thanks!
Comment 2 Ellie 2019-04-04 15:20:41 UTC
This was fixed by Sylvian's awesome revamp of SDL_TOUCH_MOUSEID code for https://bugzilla.libsdl.org/show_bug.cgi?id=4572 !