Feature request #1824

Make the Ctrl++ Ctrl+- shortcuts to zoom, not just change the tool

Added by alobo - over 7 years ago. Updated 10 months ago.

Status:Closed Start Date:01/28/2012
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:GUI
Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:

Description

Shortcuts Ctrl++ and Ctrl+-
just change to a @+ or - sign, but do not
actually zoom


Related issues

related to QGIS Application - Bug report #14958: I can't save my own keyboard shortcuts Closed 06/05/2016

Associated revisions

Revision 1b2af79c9657e704f62137d84a2f73ecae88b41f
Added by Nyall Dawson 10 months ago

Ctrl zoom (#3154)

  • Switch QgsMapCanvas zoomIn and zoomOut to slots
  • Change shortcuts to zoom in/out tool to Ctrl+Alt +/-, and
    make Ctrl + and Ctrl - trigger an immediate zoom in/out

Having Ctrl +/- perform an immediate zoom in/out is standard
across almost all apps with a zoom facility, so we should
respect that same behaviour.

This change also helps bring canvas and composer behaviour
closer together.

(fix #1824)

History

Updated by nikos - over 7 years ago

Agree! It would be useful also for non-field work I think.

Note that for some keyboards Ctrl++ is actually Ctrl+Shift++ or then it could be Ctrl+= (this is because many keyboard layouts have the "+" above the "=" sign).

Nikos

Updated by Giovanni Manghi over 7 years ago

it doesn't zoom and changing the shortcuts doesn't solve the problem.

Updated by Borys Jurgiel over 7 years ago

They don't zoom and it's intentional - they just activate the mouse zoom tool.

Updated by Giovanni Manghi over 7 years ago

  • Status changed from Open to Closed
  • Resolution set to wontfix

Replying to [comment:4 borysiasty]:

They don't zoom and it's intentional - they just activate the mouse zoom tool.

well... the important is to know it! :)

Updated by alobo - over 7 years ago

I think that this behavior is not useful, having a keyboard
shortcut that implies using the mouse afterwards does not
make sense. By default, I would link Ctrl++ to zoom in and re-center
to current cursor position, and leave
PageUp as it is (zooming with no re-centering).

Agus

Updated by alobo - over 7 years ago

  • Status changed from Closed to Feedback
  • Resolution deleted (wontfix)

I'm re-opening this because
I find the current behavior (just changing the
cursor icon to + or - but not actually doing
anything) pretty useless, and, any case, in contradiction
with what is said in the Configure Shortcuts lists:
there it says
Action: Zoom in

and the action is not zooming in. Instead,
Crl+SHft+F does not just change the cursor icon,
but actually does what is supposed to do, zooming
full.

At least, the next action after Ctrl++ could be just Return, thus
avoiding the use of the mouse, which is the goal
of a keyboard shortcut. But the ideal would be
just zooming in straight away after Ctrl++

Agus

Updated by Charles Timko - almost 7 years ago

How about the first Ctrl++ sets the mouse control and then any Ctrl++ following that does the actual zooming in. That way users who are familiar with just pressing the Ctrl++ and then using their mouse can use it that way, and users who want this feature can still have it. [I know this is old, I am seeing if we can close a few bug listings]

Updated by alobo - almost 7 years ago

This sounds very reasonable!
Agus

Replying to [comment:8 ctimko]:

How about the first Ctrl++ sets the mouse control and then any Ctrl++ following that does the actual zooming in. That way users who are familiar with just pressing the Ctrl++ and then using their mouse can use it that way, and users who want this feature can still have it. [I know this is old, I am seeing if we can close a few bug listings]

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Giovanni Manghi about 5 years ago

  • Tracker changed from Bug report to Feature request
  • Subject changed from Ctrl++ Ctrl+- do not work to Make the Ctrl++ Ctrl+- shortcuts to zoom, not just change the tool
  • Status changed from Feedback to Open
  • Assigned to deleted (nobody -)
  • Target version changed from Version 1.7.4 to Version 2.0.0
  • Start Date set to 01/28/2012
  • Platform deleted (All)
  • Status info deleted (0)
  • Pull Request or Patch supplied set to No

Updated by Pirmin Kalberer over 4 years ago

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

Updated by Nyall Dawson 10 months ago

  • Status changed from Open to Closed

Also available in: Atom