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 - Android SDL finger events work improperly with current system View flags.
Summary: Android SDL finger events work improperly with current system View flags.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.1
Hardware: ARM Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 09:15 UTC by Sean McKean
Modified: 2018-02-14 08:52 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 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,