Expected zoom direction when scrolling

I have raised a Github issue about this (and a possible pull request), but we were wanting some community feedback about usage and improvements.

There are several ways to zoom, and several OS-specific scrolling settings that can be set. There is “natural scrolling” where it is more like pushing the page up/down (makes more sense on a trackpad) which is default on Mac, versus “reverse scrolling” which tells the OS which direction to go. In addition, sometimes a system may have different options for a touchpad vs. mouse.

Here is what I would expect when using a mouse with a wheel or two-finger (or edge) scrolling on a touchpad/trackpad:

Natural scrolling

  • Push wheel up/move fingers on touchpad up = zoom out (pushing objects “farther” away)
  • Push wheel down/move fingers on touchpad down = zoom in (bringing objects “closer”)

Reverse scrolling

  • Push wheel up/move fingers on touchpad up = zoom in
  • Push wheel down/move fingers on touchpad down = zoom out

In addition, touchpads that support pinch-to-zoom (e.g. Macbooks) should always have that option, since I don’t think the reverse pinch behavior is used much.

Is this what most users would expect? Or should any of these options be changed? One possibility would be to add an Avogadro-specific setting to reverse direction of scrolling, which would make it up to the user to decide what feels right to them.

There could be ways to implement this on an OS-specific basis, with #ifdef conditionals. On Linux, for instance, the Qt property .inverted() is always false, so we cannot assume that that property is set properly.

1 Like

I asked for the thread, because at least on my MacBook, the current code “feels right” and what’s described here is the opposite.

But it’s possible to either have an option / preference - or that it’s wrong on Windows or Linux.

Thoughts? Concerns? How does zooming “feel” at the moment?

Came here for the same problem: I have a Mac and am trying to figure out how to change its that, as mquevill suggests, pushing away (scroll up) pushes it away, and scroll down is like pulling a piece of paper closer to you.

I do understand the logic of scrolling up meaning I am the one moving into the screen. Like covariant vs contravariant directions. I think the right choice would be one consistent with how the rest of their interface is functioning, which probably means that it should be an option. I vaguely recall when my phone switched styles and it took me a while to get used to. So I suspect that people will just want their interfaces to just all function the same way.

Yes, there’s an option. When you have the Navigate tool selected, you can change it: