Feature request #4033

Map navigation - temporarily change to zoom in / zoom out / pan tool

Added by Darek Bobak over 13 years ago. Updated over 7 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Map Canvas
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:14019

Description

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.

History

#1 Updated by Paolo Cavallini about 13 years ago

  • Category set to Map Canvas
  • Pull Request or Patch supplied set to No

#2 Updated by Giovanni Manghi almost 13 years ago

  • Target version set to Version 1.7.4

#3 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#4 Updated by Pirmin Kalberer about 12 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#5 Updated by Médéric RIBREUX almost 9 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)...

#6 Updated by Nyall Dawson almost 9 years 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)

#7 Updated by Médéric RIBREUX almost 9 years ago

  • Status changed from Feedback to Open

#8 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

Also available in: Atom PDF