Released touch message without pressed touch message (DEF-2024) (SOLVED)

Sometimes on my old device I reproduce strange bug.
This is a full log (as you can see I have no “pressed = true” message, but last message with “released = true”)

DEBUG:SCRIPT:
{
x = 728,
tap_count = 0,
pressed = false,
y = 1306,
dx = -9,
released = false,
dy = -2,
}

DEBUG:SCRIPT:
{
x = 692,
tap_count = 0,
pressed = false,
y = 1309,
dx = -25,
released = false,
dy = 2,
}

DEBUG:SCRIPT:
{
x = 632,
tap_count = 0,
pressed = false,
y = 1314,
dx = -32,
released = false,
dy = 2,
}

DEBUG:SCRIPT:
{
x = 500,
tap_count = 0,
pressed = false,
y = 1329,
dx = 0,
released = true,
dy = 0,
}

Absolutely a bug, should never happen. Is this using multi-touch by any chance? I’ve had the impression that our multi-touch is quite buggy.

Yes, I tried both: TOUCH_MULTI and MAX_TOUCH_COUNT - the same bug

(In my case don’t need a multi-touch and replace touch_trigger with mouse_trigger - works stable)

Great, thanks, I filed an issue: DEF-2024

1 Like

Fixed in Defold 1.2.100

1 Like