Skip to content
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 with trackpad in two directions at once doesn't seem to work properly #24516

Open
craftyjon opened this issue Apr 28, 2024 · 0 comments

Comments

@craftyjon
Copy link
Contributor

craftyjon commented Apr 28, 2024

Description

When some widget can be scrolled both horizontally and vertically, wxWidgets seems to get "locked in" to accepting only one scroll direction. On macOS hardware with a trackpad input, it is easy to input "diagonal" scrolling, but this doesn't really work in wxWidgets, because one or the other direction (horizontal or vertical) will "win" and so diagonal scrolling of the widget can only be accomplished "Manhattan style".

This doesn't seem to be a limitation of the hardware, as other applications (e.g. HTML Canvas in Firefox/Chrome) can accept simultaneous scroll inputs on two axes.

I am not sure if this is a wxMac-specific problem or not, as the only hardware I have that can give this kind of input is a Macbook.

To Reproduce:

Run the wxGrid sample and try scrolling around with a trackpad that allows scrolling diagonally (i.e. two mousewheel inputs at once)

Compare behavior to, for example, some of the demos at https://konvajs.org/docs/sandbox/Canvas_Scrolling.html

Platform and version information

  • wxWidgets version you use: 3.2.4
  • wxWidgets port you use: wxMac
  • OS and its version: macOS 14.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant