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

TouchScreenButton's "Passby Press" feature works for "Emulate Touch From Mouse" but not actual touch inputs in 4.3.rc1,2 #95135

Closed
micalpixel opened this issue Aug 4, 2024 · 0 comments · Fixed by #95155

Comments

@micalpixel
Copy link

micalpixel commented Aug 4, 2024

Tested versions

Reproducible in:

  • 4.3.rc2.official
  • 4.3.rc1.official

Not reproducible in:

  • 4.3.beta3.official
  • 4.2.2.stable.official

System information

Godot v4.3.rc2 - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) UHD Graphics 620 (Intel Corporation; 25.20.100.6577) - Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 Threads)

Issue description

TouchScreenButton's Passby-Press option should make it trigger via swiping a finger across the button, with the initial press occurring outside of the button itself, and entering it via swipe.

In 4.3.beta3, this works as expected, both for actual touch inputs, and mouse cursor via "Emulate Touch From Mouse" in the project settings.

In 4.3.rc1 and 4.3.rc2, this still works for mouse-emulating-touch, but not actual touch inputs. For touch inputs, it looks as if the Passby Press option is ignored. Only actually touching the button triggers it, not swiping.

Steps to reproduce

  1. Download the MRP and launch in 4.3.rc1 or later.
  2. Try swiping across the buttons with the mouse, holding down and with the swipe starting outside of the buttons. It should trigger on and off, turning red.
  3. Try swiping across the buttons with touch inputs, with the swipe starting outside of the buttons. It will not trigger at all.

Minimal reproduction project (MRP)

touchpress.zip

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

Successfully merging a pull request may close this issue.

4 participants