defold icon indicating copy to clipboard operation
defold copied to clipboard

Problem with multitouch trigger sending released touch points

Open Fossean1 opened this issue 2 years ago • 2 comments

I am using a multitouch trigger. When there are more than two touch points and when I release these touch points at the same time, the actions of these released touch points are still sent to on_input. But when I release the touch points one by one and not at the same time, everything works fine.

I have attached a minimal project: My Project.zip

Expected behaviour

Stop sending multitouch trigger actions

Actual behaviour

Infinite sending of multitouch trigger actions

Steps to reproduce

  1. Add a multitouch trigger
  2. Create an object with a script.
  3. Give it the input focus.
  4. In the on_input function, output the action.touch of the multitouch trigger
  5. Build a project for the phone.
  6. Press three fingers on the screen (create three touch points).
  7. Try to release your fingers at the same time.
  8. View action.touch data output to the console

PhoneRealme 6 pro
Android version11
Assembly numberRMX2063_11_C.23
Build time2023-09-18T10:17:07.827269
Defold channeleditor-alpha
Defold editor sha0893837257f1a4ba8a58a43f164f216aa8f1813b
Defold engine sha00352cc02f24c12e6081245c0d5fb2e0b263d05e
Defold version1.5.0
GPUNVIDIA GeForce GTX 660/PCIe/SSE2
GPU Driver4.6.0 NVIDIA 474.14
Java version17.0.5+8
OS archamd64
OS nameWindows 11
OS version10.0

Fossean1 avatar Sep 19 '23 07:09 Fossean1

Did you test on iOS or Android? Native build or html5?

AGulev avatar Sep 19 '23 07:09 AGulev

In the table, I have specified the phone data. I used android 11. Native build 🙂

Fossean1 avatar Sep 19 '23 07:09 Fossean1

this issue merged into https://github.com/defold/defold/issues/7216

AGulev avatar May 28 '24 14:05 AGulev