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 3983

Summary: Android SDL finger events work improperly with current system View flags.
Product: SDL Reporter: Sean McKean <smckean83>
Component: eventsAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: ARM   
OS: Android (All)   

Description Sean McKean 2017-11-28 09:15:01 UTC
In SDLActivity.java, the fields View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY and View.SYSTEM_UI_FLAG_HIDE_NAVIGATION look like they should be set together in the setSystemUiVisibility flags to keep navigation hidden but interactive.

With the IMMERSIVE_STICKY flag not set and HIDE_NAVIGATION included, my Android device always skips the first FINGER(DOWN/UP/MOTION) events sent, then responds to subsequent finger motions. If both flags are set (and SDK version is set to a minimum of v19) or both unset then the finger events behave as expected.
Comment 1 Sam Lantinga 2018-02-14 08:52:01 UTC
This should be fixed in the latest snapshot:
http://www.libsdl.org/tmp/SDL-2.0.zip

Please reopen this bug if it's not working for you!

Thanks,