Open cvlnomen opened 1 year ago
On Mac Os 12.6 using 4.0.beta16 the gestures are working as expected:
Can confirm this is still happening in the released version (also on windows 10, acer laptop). Extremely confusing
In Windows, pinching in/out still scrolls instead of zooms on 4.1 dev 3
Ouch, this is still a problem on Godot 4.1.3... This is probably something related to mouse scrolling being somehow related into the trackpad (I have never worked in godot code btw, just a guess)
4.2.1 Can confirm - still happening, hyper confusing
Can anyone reproduce this on 3.5.3?
@Calinou In Godot 3.5.3, both pinching and scrolling on a touchpad causes it to zoom. In 4.2.1, pinching scrolls vertically, and scrolling zooms.
Tested on a laptop with windows 11. On MacOS it works correctly.
After looking into it a bit, it seems like this is fixable by setting the editor property editors/panning/2d_editor_panning_scheme
to Scroll Pans
It makes panning and zooming possible with a touchpad on Windows.
It might better to translate the touchpad gesture events into InputEventPanGesture
and InputEventMagnifyGesture
though, since that's how it seems to work on MacOS.
Just tested it and it worked on my laptop, thank you so much!
Godot version
Godot 4 Beta 16 mono
System information
Windows 10, Laptop with a trackpad
Issue description
The 2D workspace uses trackpad gestures that differ from that of the standard conventions when trying to perform the following two actions:
These differences in gestures can lead to a lot of confusion, especially when switching between the 2D workspace and applications/components that do follow the conventions (like the code editor).
Here is an example when pinching the trackpad in both the 2D workspace and the script editor:
Steps to reproduce
Perform the pinch/slide trackpad gesture in both the 2D workspace as well as the code editor.
Minimal reproduction project
N/A