-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right mouse click up causes app to prematurely exit on certain Android platforms #2067
Comments
I'm getting reports of some Android 10 users still being affected by this issue (right click not working in the game) |
@1bsyl At this point, should we just remove the hack to not let the right mouse button work like pressing Back, since that apparently only affects really old phones...? |
It's affecting devices all the way up to, and including, Android 10. Which makes up 1/3 of our user base. So I would suggest not removing it, but the current implementation appears to be more then a little broken. I'll try and get my hands on an older device and see what I can come up with. |
As far as I know, the current code is there to stop a right mouse click from acting as the "back" button, which apparently it did in extremely old phones that we (probably?) don't support any more. Android earlier than 4.3. Newer releases don't treat right mouse as "back". |
We have been getting several reports from users, on recent versions of Android, that right click is not working. There is also several metionings online of this behavior in general. On Samsung S40 Android 11 there is a mouse option called "Secoundary button" where you can switch between "Open context menu" (right click) and "back". Setting it to back causes right click to not work in SDL applications, and instead trigger Huawei mediaPad M5 Lite 10 (Android 8.0), and Xiaomi Redmi Note 9 Pro (Android 11) exhibit the same behavior (sending back button events), but does not appear to have any way to adjust this option. In short this behavior appears to still be the case for many devices, even if this not the behavior of stock Android. |
not sure where the issue is: but there is some callback here "onbackpressed" + some hint: and mouse event can come from various place in the java code... |
We have tried enabling We have not enabled I'll let you know as soon as I have had a chance to work on this on a local device (probably with in 2 weeks) |
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.8
Reported for operating system, platform: Android (All), ARM
Comments on the original bug report:
On 2016-01-09 02:07:39 +0000, Anthony @ POW Games wrote:
On 2016-01-09 19:46:49 +0000, Philipp Wiesemann wrote:
On 2016-01-11 02:51:48 +0000, Anthony @ POW Games wrote:
On 2016-01-11 19:09:48 +0000, Philipp Wiesemann wrote:
On 2016-01-11 19:34:46 +0000, Anthony @ POW Games wrote:
On 2016-01-11 23:23:43 +0000, Anthony @ POW Games wrote:
On 2016-01-12 12:10:17 +0000, Anthony @ POW Games wrote:
On 2016-01-12 18:18:02 +0000, Philipp Wiesemann wrote:
On 2016-01-12 18:42:44 +0000, Anthony @ POW Games wrote:
On 2016-01-12 20:24:09 +0000, Philipp Wiesemann wrote:
On 2016-01-12 20:31:00 +0000, Philipp Wiesemann wrote:
On 2016-01-12 23:01:14 +0000, Anthony @ POW Games wrote:
On 2016-01-13 06:43:44 +0000, Ryan C. Gordon wrote:
On 2016-01-13 18:48:06 +0000, Philipp Wiesemann wrote:
On 2016-01-14 20:06:10 +0000, Philipp Wiesemann wrote:
On 2017-08-12 15:06:54 +0000, Sam Lantinga wrote:
On 2018-04-20 22:48:02 +0000, Anthony @ POW Games wrote:
The text was updated successfully, but these errors were encountered: