-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Usage of the mouse scroll wheel #16586
Comments
Author Name: Nathan Woodrow (@NathanW2) I think [Shift]_scroll wheel away – pans canvas right; would be better. Although now the meta keys are passed up to the QgsMapTool class so that people can override their behavior, might not be good to add our own on those keys. |
Author Name: zirneklitis - (zirneklitis -) It depends. ;-) My suggested behaviour is more system wide compatible. Even Windows 7 File Explorer use Ctrl_Mouse-Wheel for Zooming. Nathan's suggestion is more compatible with used-to actions in QGIS and ArcMap. |
Author Name: Matthias Kuhn (@m-kuhn) Just to mention it: My vote also goes to default behavior (without modifiers) being zoom. |
Author Name: zirneklitis - (zirneklitis -) Thank You for useful tip! I have missed it. Matthias Kuhn wrote:
|
Author Name: Nathan Woodrow (@NathanW2) zirneklitis - wrote:
We are not building a file explorer so pan as the default action make no sense. |
Author Name: zirneklitis - (zirneklitis -) File Explorer was just an example. The key combinations suggested by me is used in many applications. It does not matter whether I am working wit my text documents, image from digital camera or just browsing files. In any application mouse wheel behaves the same – Scrolling and [Shift]_Scrolling moves the content of the window and [Ctrl]_Scrolling Zooms in and out. |
Author Name: Matthias Kuhn (@m-kuhn) Well-known map applications coming to my mind spontaneously use the scrollwheel without modifiers for zooming
|
Author Name: Borys Jurgiel (@borysiasty) It could be user-configurable, and the third option would be to only zoom without modifiers (reserving them for QMapTool). I insist for the third option, as my personal use of modifiers in QgsMapTool will be inserting rectangle objects by click in centroid, while width, height and angle are adjusted by the wheel with Shift/Ctrl/both. |
Author Name: Nathan Woodrow (@NathanW2) I disagree I don't think we need yet another thing to be configured. If it's configurable then some user won't be able to use you plugin at all. Closing as wontfix because:
|
Author Name: belg4mit - (belg4mit -) I would recommend revisiting this, and adopting it in core. As noted by the original requestor, it seems to be a pretty standard feature in a variety of graphics packages, and therefore standardized. There would not be a need to provide additional customization, although that could be implemented via a plugin should someone be unhappy with the defaults, if the feature is implemented with non-hardcoded values. To omit such basic functionality is very frustrating, and results in significant losses of productivity as it is necessary to frequently switch back and forth between tools. There may be many alternatives but:
Additionally, the display does not update while using the other options variants, which makes it difficult to tell if one has scrolled sufficiently. |
Author Name: Nathan Woodrow (@NathanW2) The only thing we would implement is: [Shift]_scroll wheel away – pans canvas right; As I can see some values in that, however having non modify for zoom on mouse wheel is standard GIS software and that isn't going to change as I don't see any good argument for doing so. |
Author Name: zirneklitis - (zirneklitis -)
Original Redmine Issue: 7669
At present the mouse scroll wheel is used for zooming in/out. More advanced key board – the mouse scroll wheel combinations are used in other software, e.g., GIMP and Inkscape:
@scroll wheel away@ – pans canvas down;
@scroll wheel to user@ – pans canvas up;
@[Shift]_scroll wheel away@ – pans canvas right;
@[Shift]_scroll wheel to user@ – pans canvas left;
@[Ctrl]_scroll wheel away@ – zoom in;
@[Ctrl]_scroll wheel to user@ – zoom out.
The implementation of such combinations will be very helpful during digitising.
The text was updated successfully, but these errors were encountered: