defold icon indicating copy to clipboard operation
defold copied to clipboard

Touchscreens require two taps to register a single click (Microsoft only?)

Open 8bitskull opened this issue 11 months ago • 3 comments

The expectation is that a single tap should fire the equivalent of a mouse click. However, a single tap yields a nil action_id. Two quick taps results in a click.

This has happened to me and another user. In both instances the device is a Microsoft machine with a touch screen.

8bitskull avatar Apr 02 '25 05:04 8bitskull

Seems related to https://github.com/glfw/glfw/pull/1736 and https://github.com/glfw/glfw/issues/42

sprocketc avatar Apr 07 '25 12:04 sprocketc

I've skimmed the linked issues but they're above my head. Is this issue unfixable based on some dependency?

8bitskull avatar Jun 17 '25 19:06 8bitskull

I've skimmed the linked issues but they're above my head. Is this issue unfixable based on some dependency?

It is likely caused by incorrect handling of touch events in glfw. We can try to apply a patch or solution from the linked issues/PRs, but we would prefer if this could be fixed directly in glfw main branch.

britzl avatar Jun 20 '25 05:06 britzl