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
3.2 branch after rc4: 6b5102c
Also happens on 3.2.3.rc4
OS/device including version:
Android Pixel 2, GLES3
Issue description:
The position of the touch release event on Android doesn't match the last motion event, but only for swipes that move left, or up. Right and down swipes work fine.
It seems related to the code to adjust input events based on the control's position, without the white rectangle above this doesn't happen.
Steps to reproduce:
Export the repro project to an android device. Touch the screen, drag to the left, let go. Blue square should be centered in the green square, but you'll see that it is offset downwards by the same height as the white rectangle. (there is a white rectangle at the top of the screen, it's hard to see because it blends in with the page.) Red is the touch down event, green is the last move event, blue is the touch up event.
Also related: Trying to isolate this further into whether it's mouse or touch events, I find that InputEventScreenTouch is never sent with pressed == false, so there is no event for touch release.
Godot version:
3.2 branch after rc4: 6b5102c
Also happens on 3.2.3.rc4
OS/device including version:
Android Pixel 2, GLES3
Issue description:
The position of the touch release event on Android doesn't match the last motion event, but only for swipes that move left, or up. Right and down swipes work fine.
It seems related to the code to adjust input events based on the control's position, without the white rectangle above this doesn't happen.
Steps to reproduce:
Export the repro project to an android device. Touch the screen, drag to the left, let go. Blue square should be centered in the green square, but you'll see that it is offset downwards by the same height as the white rectangle. (there is a white rectangle at the top of the screen, it's hard to see because it blends in with the page.) Red is the touch down event, green is the last move event, blue is the touch up event.
Strangly, swipes to the right work as expected:
Minimal reproduction project:
android_touch_bug.zip
The text was updated successfully, but these errors were encountered: