Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double_tap & drag on Android fails to detect drag #76587

Closed
OmarShehata opened this issue Apr 29, 2023 · 2 comments · Fixed by #76791
Closed

double_tap & drag on Android fails to detect drag #76587

OmarShehata opened this issue Apr 29, 2023 · 2 comments · Fixed by #76791

Comments

@OmarShehata
Copy link
Contributor

Godot version

v4.0.1.stable.official [cacf499]

System information

Windows 11

Issue description

Pretty easy to reproduce, in a blank project, add a script that logs all input events:

extends Node2D

func _input(event):
	print(event)

If you double tap & drag (as in, 2 "down" events, 1 "up" event) no drag events are emitted no matter how much you move your finger.

If you tap another finger on the screen, it seems to "unblock" and now the drag events on the original finger register.

This doesn't happen when testing on a computer, just on my Android Pixel 6.

Steps to reproduce

See above

Minimal reproduction project

N/A

@OmarShehata
Copy link
Contributor Author

I can repro in v4.0.2.stable.official [7a0977ce2]. This behavior doesn't happen in 3.5 (there's no double_tap detection there either, but it would be possible for a user to make their own double tap detection there. If there's a way to disable Godot 4's double tap so I can program this behavior myself instead that'd unblock me here too)

@OmarShehata
Copy link
Contributor Author

Just tested on iOS, confirmed this issue does NOT happen there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants