-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Scrolling glitch when using GraphEdit on mobile #36312
Comments
Commenting the following code seems to fix the bug: godot/scene/gui/graph_edit.cpp Lines 1073 to 1078 in 6e64036
PanGesture on android seems to be detected by a 1 finger touch and drag so it's probably conflicting with other input code. I don't know if there is any use for detecting the gesture unless it's done with more than one finger on some platform. Also, pinch and zoom doesn't seem to trigger MagnifyGesture, at least not on Android so I'm not sure if the following lines are doing anything: godot/scene/gui/graph_edit.cpp Lines 1067 to 1071 in 6e64036
|
Can anyone still reproduce this bug in Godot 3.2.3 or any later release? |
Confirmed on 3.2.3. Exactly the same behavior. |
Godot version:
3.2
OS/device including version:
Description: Manjaro Linux
Release: 18.1.5
Codename: Juhraya
Kernel: Linux 5.4.15-2-MANJARO
Architecture: x86-64
Mobile targets:
Moto XT1572
Moto g(7) power
Issue description:
GraphEdit nodes scroll uncontrollably and randomly when dragging scrollbars or simple when selecting multiple GraphNodes with touch and drag.
I though it was triggered by a PanGesture being detected but it's not always the case.
Here's a video. Sorry I forgot to enable tap display. I'm touching the background and sometimes it triggers a multiple selection and sometimes it makes the scrolling jump around like crazy.
Same thing while dragging a GraphNode. Also when dragging a scrollbar.
The signal for user scrolling is emitting when the glitch occurs as you can see on the console
https://photos.app.goo.gl/CVeh18JfgECNzyce9
Steps to reproduce:
Expected:
Actual:
Minimal reproduction project:
issue36312.tar.gz
The text was updated successfully, but these errors were encountered: