Feature request #4033
Map navigation - temporarily change to zoom in / zoom out / pan tool
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||14019|
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.
#5 Updated by Médéric RIBREUX about 8 years 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)...