-
Notifications
You must be signed in to change notification settings - Fork 891
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
Horizontal Scrolling Backwards on Windows #2099
Comments
For my understanding as there is #2105 as well: The x direction should be inverted on all platforms? What's the desired coordinate system for scrolling? |
No, see here: #2101 (comment). I think the goal is to match GLFW prior art. At least in the case of |
I have the same behaviour on Manjaro Gnome with trackball mouse and Debian Xfce with touchpad. In both machines the X-axis is flipped. Tested with https://github.com/aevyrie/winit_scroll_test. |
Unfortunately, I didn't get horizontal scrolling to work on any my devices so far with Do the raw value output match with coordinate system in the documentation? The window position coordinate system is top-left IIRC which might be confusing. Overall I don't mind if we adapt the GLFW approach but I want to be sure that it matches with the documentation and it's clear if this a bugfix or breaking change. |
Closed by #2105 |
Issue
Horizonal and vertical scrolling directions do not match.
Expected Behavior
Both x/y should behave the same, e.g. both directions are "natural" scrolling on the touchpad.
Observed Behavior
Vertical scrolling respects OS and is in the "natural" direction. Horizontal scrolling is inverted and does not follow the "natural" scroll direction. First noticed when using native builds of emilk/egui#356.
Reproducing the Bug
I've created a minimal reproducible winit example here: https://github.com/aevyrie/winit_scroll_test.
The text was updated successfully, but these errors were encountered: