Bug 45705 - Cant assign shortcuts to "Zoom in" and "Zoom out" commands
Summary: Cant assign shortcuts to "Zoom in" and "Zoom out" commands
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
: 48485 52503 59617 68929 101867 108895 112896 (view as bug list)
Depends on:
Blocks: Shortcuts-Accelerators Customize-Dialog Zoom-Issues
  Show dependency treegraph
 
Reported: 2012-02-06 07:48 UTC by Florian R. A. Angermeier
Modified: 2017-10-26 10:53 UTC (History)
18 users (show)

See Also:
Crash report or crash signature:


Attachments
Basic macro which has needed functionality (19.10 KB, application/vnd.oasis.opendocument.text)
2012-12-14 07:35 UTC, sasha.libreoffice
Details
variant of macro for presentations (21.69 KB, application/vnd.oasis.opendocument.presentation)
2012-12-14 10:14 UTC, sasha.libreoffice
Details
Zoom toolbar for Writer and Calc packaged as extension (6.21 KB, application/vnd.openofficeorg.extension)
2014-10-06 13:18 UTC, sasha.libreoffice
Details
Zoom toolbar for Impress packaged as extension (6.25 KB, application/vnd.openofficeorg.extension)
2014-10-06 13:20 UTC, sasha.libreoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian R. A. Angermeier 2012-02-06 07:48:20 UTC
I want to propose a - i guess - simple improvement of the useablity.

It is at least affecting Writer (including Math and Web), Calc, Impress and Draw. I am not sure if there the possibility of zooming in Base.

Shortcuts for "Zoom in", "Zoom out" and "Zoom to 100 %". I have tried to find them but have not found one so I guess there noones at the moment. If I am wrong please let me know.

Ctrl + "+" and Ctrl + "-" are not free so they can not be used.

I would suggest:
(Ctrl +) Alt + "+" for "Zoom in"
(Ctrl +) Alt + "-" for "Zoom out"
(Ctrl +) Alt + "0" (Zero) for "Zoom to 100 %"

And maybe:
(Ctrl +) Alt + "2" for "Zoom to 200 %"
(Ctrl +) Alt + "5" for "Zoom to 50 %"

Anyone else who is interessted in such improvement?
Comment 1 sasha.libreoffice 2012-03-21 02:17:21 UTC
Thanks for new idea
Such functionality exist in InkScape. May be assign shortcuts as there for users not re-learn shortcuts?

Meanwhile, enable experimental functionality in settings, record Basic macros for this. Use Tools->Macros->Record macro.
Then assign produced macros to shortcuts. Use Tools->Customize, tab "Keyboard", category "LibreOffice macros"
Comment 2 peter Roots 2012-09-04 19:14:46 UTC
On Tools> Customise >Keyboard is is possible to attach the function Zoom in and Zoom out from the View category. Unfortunately these do not work even though Zoom does, but this is not that much use as a shortcut.
http://user.services.openoffice.org/en/forum/viewtopic.php?f=9&t=47378
Comment 3 peter Roots 2012-09-04 19:18:22 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=48485
https://bugs.freedesktop.org/show_bug.cgi?id=52503
these look like requests for the same
Comment 4 sasha.libreoffice 2012-12-14 07:35:30 UTC
Created attachment 71489 [details]
Basic macro which has needed functionality

I have written Basic Macro which allows Zoom In, Zoom Out, Zoom 100% and some another.
Comment 5 Stefan Knorr (astron) 2012-12-14 09:25:01 UTC
*** Bug 52503 has been marked as a duplicate of this bug. ***
Comment 6 Stefan Knorr (astron) 2012-12-14 09:32:13 UTC
Confirming with 4.1.0.0alpha0+ (master) for Writer, Calc and Math.
In Impress/Draw it works – with some hickups:
* only Alt-– and Alt–+ work, Alt-0 does nothing;
* it doesn't work immediately after opening a file, you have to click the
  document area first
* when editing text, it doesn't work either.
Comment 7 sasha.libreoffice 2012-12-14 10:14:59 UTC
Created attachment 71494 [details]
variant of macro for presentations
Comment 8 brian.bj.parker99 2013-03-10 08:05:59 UTC
In Mac OS X, CMD+ and CMD- are the standard keyboard commands for zooming across all applications, and it is quite disorienting to have otherwise in LibreOffice. 
As a special case for OS X, these shortcuts should be used (I believe they do not clash with anything else). (In particular, Draw currently counter-intuitively uses shift-+ and - to zoom).
Comment 9 Liam Morland 2014-06-08 16:15:41 UTC
*** Bug 68929 has been marked as a duplicate of this bug. ***
Comment 10 Liam Morland 2014-06-08 16:15:57 UTC
*** Bug 48485 has been marked as a duplicate of this bug. ***
Comment 11 Liam Morland 2014-06-08 16:16:18 UTC
*** Bug 59617 has been marked as a duplicate of this bug. ***
Comment 12 sasha.libreoffice 2014-10-06 13:18:55 UTC
Created attachment 107426 [details]
Zoom toolbar for Writer and Calc packaged as extension
Comment 13 sasha.libreoffice 2014-10-06 13:20:17 UTC
Created attachment 107427 [details]
Zoom toolbar for Impress packaged as extension
Comment 14 Yousuf Philips (jay) 2016-03-01 17:31:23 UTC
Was just about to submit a duplicate bug report because i was unable to assign a shortcut for the Zoom In and Out commands in the Customize dialog, though shortcuts for other Zoom commands worked fine - .uno:ZoomPage, .uno:ZoomPageWidth, .uno:ZoomOptimal, .uno:Zoom100Percent

I planned to set Zoom In and Zoom Out as Ctrl + Alt + Plus and Ctrl + Alt + Minus on all 3 platforms. (Cmd + Alt + Plus and Cmd + Alt + Minus on mac are reserved for screen zooming on Mac)

@Maxim, @Samuel, @Bubli: Any idea why these two commands are the only ones acting strange?
Comment 15 Yousuf Philips (jay) 2016-03-01 17:53:42 UTC
Adding the commands to the toolbar show that they are disabled, which would be the reason why they dont work with the shortcuts. But why as they work fine in print preview mode.
Comment 16 Maxim Monastirsky 2016-03-01 20:46:34 UTC
(In reply to Yousuf (Jay) Philips from comment #15)
> But why as they work fine in print preview mode.
They implemented only for print preview.
Comment 17 Yousuf Philips (jay) 2016-03-01 20:54:59 UTC
(In reply to Maxim Monastirsky from comment #16)
> They implemented only for print preview.

Thats sad. Any way to link shortcuts to the zoom in and zoom out buttons in the statusbar to be equivalent to mouse clicks?
Comment 18 Buovjaga 2016-09-23 19:57:43 UTC
*** Bug 101867 has been marked as a duplicate of this bug. ***
Comment 19 Mike Kaganski 2017-07-02 06:59:47 UTC
*** Bug 108895 has been marked as a duplicate of this bug. ***
Comment 20 Rogerio Luz Coelho 2017-09-17 15:16:09 UTC
Now working on the 5.4.1.2 :

There are in the Customize > Keyboards > View > Zoom In / Out options for assigning shortcuts to these features, but the assignment does not work. 

Since the features IS available and it is broken, I changed the Importance of this bug. 

Do not know if this ever worked in previous versions to be called a regression. 

Thanks
Comment 21 Mike Kaganski 2017-09-17 18:11:48 UTC
(In reply to Rogerio Luz Coelho from comment #20)
> Now working on the 5.4.1.2 :
> 
> There are in the Customize > Keyboards > View > Zoom In / Out options for
> assigning shortcuts to these features, but the assignment does not work.

Wrong. It works. There's just misunderstanding about what this feature does. It is "zoom in/out in preview", which is unfortunately isn't explained well.

> Since the features IS available and it is broken, I changed the Importance
> of this bug.

Wrong. It is not broken, but is not implemented for what is expected by many users, that's why it's enhancement.

> Do not know if this ever worked in previous versions to be called a
> regression.

It is clearly stated in above discussion.
Comment 22 Mike Kaganski 2017-10-05 14:55:30 UTC
*** Bug 112896 has been marked as a duplicate of this bug. ***