-
-
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
Oversensitivity in trackpad scrolling and gestures #49873
Comments
I borrowed a friend's 2013 MacBook and found it to work fine there. It was smooth and consistent between horizontal and vertical scrolling. |
Out of curiosity, I exported a test project to HTML5, and found that both horizontal and vertical scrolling have the jumpy oversensitive behavior. Demonstration: https://youtu.be/BMTmfK7ePLQ I'll try to test HTML5 scrolling on MacOS soon. |
Two-finger pan and zoom gestures on M1 MacBook trackpad works fine and smooth, sensitivity is the same as in the other apps. Horizontal scrolling with the side wheel on MX Master 3 mouse is also smooth. Godot in the Linux VM on the same mac does not recognize pan gesture or side wheel (probably it's qemu limitation), zoom is smooth. |
I can confirm this problem on a Samsung Galaxy Book Pro 360 / Windows 10. Touchpad scrolling is unusable even in the text editor. Setting V Scroll Speed has no effect at all, even if it's all the way down to zero. Disabling Smooth Scrolling has no effect either. This laptop does not have a hi-dpi display. |
Update for Godot 3.3.3: On the Windows version the scrolling now behaves more as expected :D However, while the script editor is better, it has a problem with deceleration. If you scroll quickly then release, it does not slowly scroll to a stop. It keeps its high momentum for a period of time then abruptly comes to a stop. Also, the pinch to zoom gesture on trackpad causes discrete intervals of motion, rather than the continuous motion one would expect. It's much more usable now, but this is worth pointing out. Also, web exports (as well as the web editor) still have oversensitive scrolling. |
I'm going to change the issue title to more generally cover trackpad scrolling and gesture issues. Let me know if that's not a good idea. |
I'm not sure if this is the same issue but I find that the touchpad is oversensitive when both horizontal and vertical scrollbars are present in the script editor window. When trying to scroll up and down, the editor will often detect micro horizontal movements and seemingly process those instead of the vertical scroll, stopping your scroll, which feels really bad. I'm using an M1 Macbook Pro touchpad. |
I am experiencing the same issue as @Samwalton9 on a Macbook Pro m1. Scrolling vertically in the script editor suddenly stops because it seems to detect a mild horizontal scroll. For me it also happens when the horizontal scroll bar is not present. It makes the script editor very unpleasant to use. |
The issue makes GraphEdit in an HTML5 export unusable on a MacBook. Two-finger MacBook trackpad gestures on a GraphEdit do not work in the HTML5 export as they work in the editor. I can only confirm this for M1 Pro macOS Monterey 12.6. An MVP (https://github.com/AshirRashid/godot-web-trackpad-issue) is deployed at https://ashirrashid.github.io/godot-web-trackpad-issue-export/. |
Sorry for bumping this one, but some players have reported their scroll to not work (nothing happen at all) in devices such as the Razer Blade 15 3070. Is it possible to be part of this issue? I searched a bit about it and this was the one related issue that I found. |
I assume it's a trackpad with high-precision scrolling, so it's likely the same issue (it's not exclusive to macOS). |
On a MacBook, macOS Sonoma, v4.1.3.stable.official [f06b6836a], I'm also noticing some frustrating scrolling issues in the script editor when using a 2-finger trackpad scroll gesture:
Scrolling a 2D viewport works as expected, though, which tells me that the text editor scrolling in particular is off. Turning off Smooth Scrolling doesn't change any of the above. |
The main issue I experienced is now resolved, as of 4.2.1.stable - scrolling vertically no longer randomly stops to prioritise horizontal scrolling. I am experienced the much-less-frustrating issue noted above that "the text editor seems to prioritize horizontal scrolling over vertical", such that when i'm scrolling vertically I often also get horizontal scrolling too, even for very small movements. There should be some deadzone when vertically scrolling. Anyway, all in all this is a now a minor rather than major annoyance :) |
Testing 4.3 beta 2 on Linux with "prefer Wayland" and not only is the scrolling way too sensitive in ALL directions, pinch gesture doesn't zoom in and out on the mouse cursor location (or even center of the shader editor area), but rather to seemingly the bottom left of the infinitely scrolling shader editor area, which is quite bad... pretty much unusably so, I'd say. |
Same here, Godot 4.3 on Linux NixOS COSMIC DE Wayland, the trackpad scroll sensitivity is way too much. |
Can confirm for current master (v4.4.dev.custom_build [fd7239c]), specs: Arch Linux, Wayland Scrolling is hypersensitive on Wayland, it's fine otherwise. |
Hi @and-rad
Have you opted in for the experimental Wayland backend in the editor settings or are you using XWayland? |
Wayland backend. XWayland is where there's no problem. |
Godot version
3.3.2.stable
System information
Windows 10, GLES3, Intel(R) Iris(R) Xe Graphics
Issue description
Vertical scrolling with a trackpad is noticeably too sensitive. Each pixel of scrolling input causes a huge jump in movement.
Similar issues suggested disabling Smooth Scrolling or tweaking Text Editor / V Scroll Speed under the Editor Settings, but those only relate to the Text Editor's behavior, and doesn't fix the oversensitivity in the first place.
Interestingly, all horizontal scrolling feels spot-on and smooth. I wouldn't have guessed it uses a totally different system, but I think it must.
The problem is not my trackpad, since other applications scroll just fine.
Steps to reproduce
Go to any element with vertical scrolling (or create your own with a ScrollContainer or something) and scroll using the trackpad with two fingers. Contrast this with other software's scrolling, or even scrolling horizontally with Godot.
Minimal reproduction project
Issue can be observed in the editor, as long as a trackpad is being used.
Video showcase: https://youtu.be/HGxDTq8mwT4
The text was updated successfully, but these errors were encountered: