Feature request #1824

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

Added by alobo - about 8 years ago. Updated over 1 year ago.

Status:Closed
Priority:Low
Assignee:-
Category:GUI
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 1b2af79c
Added by Nyall Dawson over 1 year 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

#1 Updated by nikos - about 8 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

#2 Updated by Giovanni Manghi about 8 years ago

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

#3 Updated by Borys Jurgiel about 8 years ago

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

#4 Updated by Giovanni Manghi about 8 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! :)

#5 Updated by alobo - about 8 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

#6 Updated by alobo - about 8 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

#7 Updated by Charles Timko - over 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]

#8 Updated by alobo - over 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]

#9 Updated by Giovanni Manghi almost 6 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#10 Updated by Giovanni Manghi over 5 years ago

  • Pull Request or Patch supplied set to No
  • 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
  • Assignee deleted (nobody -)
  • Target version changed from Version 1.7.4 to Version 2.0.0
  • Start date set to 01/28/2012
  • Operating System deleted (All)
  • Status info deleted (0)

New description: #1824-7

#11 Updated by Pirmin Kalberer almost 5 years ago

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

#12 Updated by Nyall Dawson over 1 year ago

  • Status changed from Open to Closed

Also available in: Atom PDF