Feature request #4033
Map navigation - temporarily change to zoom in / zoom out / pan tool
|Assigned to:||-||% Done:||
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
Would it be possible to add a keyboard shortcuts that temporarily changes current tool to zoom in/zoom out/pan only when the key is pressed? For example, when I press "Z" key, tool changes to zoom-in loupe and allows me to zoom some area. When I release "Z" I have previous tool active. And it would be great, if the keys would be user-configurable.
Updated by Paolo Cavallini over 5 years ago
- Category set to Map Canvas
- Pull Request or Patch supplied set to No
Updated by Giovanni Manghi about 5 years ago
- Target version changed from Version 1.7.4 to Version 2.0.0
Updated by Pirmin Kalberer over 4 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
Updated by Médéric RIBREUX over 1 year ago
- Status changed from Open to Feedback
Hello, bug triage...
on QGIS 2.13 and previous version, you can define keyboard shortcuts for nearly any action, including Pan, Zoom In and Zoom Out.
But you can't have "reverted" shortcuts when shortcut key is released. Actually it is something difficult to imagine for Ctrl+key shortcuts because for some configurations you need to have two hands to press the shortcuts (Ctrl+Backspace for example).
But you can have three shortcuts affected to three different keys and use them to change the map tool in the canvas. If you choose three keys that can be accessed directly by three fingers of one hand, you have little effort to change tool.
I think that it is very difficult to implement shortcuts for "pressed" keys. So do you consider that the current QGIS shorcuts functions can answer to your needs ? If it's the case, we could close this feature request)...
Updated by Nyall Dawson over 1 year ago
No, lets leave it open. It would be handy to have something like how the space key works in composer for canvas (while its held down you can pan around)
Also available in: Atom