PORTS: ANDROID: Mouse Cursor Snaps to Top Left Corner on Android 8.1.0 Device
|Reported by:||Zeimyth||Owned by:|
|Version:||Keywords:||android touch mouse cursor snap top left|
I have a Contixo V8 Android tablet running Android 8.1.0. When I launch ScummVM, the application's mouse cursor repeatedly snaps back to the top left corner of the screen. This happens both in touchpad and direct touch mode. I verified the issue happens on the latest nightly build (I can't run the version command, but the in-app menu says "ScummVM 2.3.0git16082-gd60abf0cc2 (May 10 2021 04:09:38)"). (The displayed version text has any descender segments of the font glyphs cut off; hopefully those "g"s are really "g"s.)
The full experience looks something like this:
- Launch the ScummVM app, arrive at main menu
- Touch a location on the menu. Mouse cursor behaves appropriately as long as the touch continues
- Lift finger from screen. Mouse cursor returns to top left corner of the screen
I have also verified that this issue continues throughout the entire main menu (even while navigating through the settings dialog) and while in games as well.
Curiously, the issue goes away temporarily whenever I open my notification bar by dragging down from the top of the screen. As long as the notification bar is visible, the mouse cursor will not snap to the top left. The moment the system hides the notification bar, though, the cursor returns to the top left if I am not in the middle of a touch action.
I compared the behavior with a second Android device (Pixel 3 running Android 11) and the issue does not occur. It seems to be something strange with my Contixo tablet specifically.