You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to reproduce this in a project of mine, although I've gotten doubleclick to work on mobile if the touch position was exactly the same between the two presses. This is very difficult to do on such hiDPI displays and fingers 🙂
We probably need to add a "touch distance tolerance" for double-click events to fix this. This distance should be resolution-independent and should correlate to the device's physical size as much as we reasonably can.
Godot version:
3.2.3
OS/device including version:
Desktop test was Win 10.
Mobile test Android 11 on Galaxy S10e
Issue description:
The
doubleclick
property for anInputEventMouseButton
event is not correctly set on mobile devices when the source is a Control.Steps to reproduce:
With default project settings (i.e. "Emulate Touch As Mouse" is true):
_gui_input
for aControl
node with mouse flags correctly set.On Desktop the output is for a double click is (4 events generated, press and release for each touch in the double click):
The same test on mobile gives the following output:
Notice the second press does not trigger a double click.
Minimal reproduction project:
Testing-DoubleClickControl.zip
The text was updated successfully, but these errors were encountered: