Bug Issue: Multitouch has 'blind spots'


Pages: 1

svintaj

  • Subscriber - Stencyl Studio
  • *
June 03, 2022, 07:35:02 am
Sometimes with a special combination, the multi touch fail to detect two touches at the same time. This problem is repeatable, by touching the same two spots over and over again. Then if you move your finger a centimeter away from the 'blind spot' the multi touch work as expected but never in the 'blind spots'. The ‘blind spots’ can only register a single touch and sometimes with a visible delay.

'Those 'blind spots' positions seem to vary depending on the device resolution as well as chosen scale-mode.

I have tested on two different devices and the 'blind spots' appears at different positions. They booth run different versions of Android. I have tested my device with an multi touch app and can confirm that the display/device itself is working as expected and can register multi touch just fine.

I have made a simple test project with just one scene that uses multitouch, and wherever you touch an actor is created that flies away. Multi touch is enabled and I using the Multi-Touch event and just spawn an actor at the incoming touch X and Y.

I am currently using Stencyl-ci-410-beta3-b10993 and testing on an Android  device with 1080x2400 res. On that device the 'blind spot' is in the left lower corner when using "Scale to Fit (Full Screen)" in Stencyl. But note: The position of the blid spot seem to vary depending on the device resolution as well as chosen scale-mode.

If you can’t seem to find the 'blind spot' or 'don't believe me', I could later create a video showing the problem.
« Last Edit: June 04, 2022, 06:30:31 am by svintaj »


New attachment added by svintaj - June 03, 2022, 07:48:09 am


Justin

  • Master Stencyler
  • *
June 03, 2022, 09:02:28 pm
I'm not sure but this sounds similar to what happened with iOS. When the home bar was introduced on iOS devices without a physical home button, touch events on the edge of the screen started to be ignored. We needed to prevent the system gestures from intercepting the touch events.

If that's the case, perhaps Android's View.setSystemGestureExclusionRects is related.


svintaj

  • Subscriber - Stencyl Studio
  • *
June 04, 2022, 06:47:06 am
Oh, that sound much likely, please see if you can implement that!   

I did some more testing now, just to be sure it's not related to the scale-modes. I could then see that there are the exact same 'blind spots' in several different scale modes.  So it's probably not related to the scale modes, which I first though...


Pages: 1

Details

  • Reported
    June 03, 2022, 07:35:02 am
  • Updated
    June 04, 2022, 06:47:06 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    3.5.0 beta 1
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Engine

Tags


Attachments

* MultitouchTest.stencyl (202.38 kB - downloaded 430 times.)