zoom in and out bound to a key

Hello

LO has a nice button down right which allows to zoom in and out using
the mouse. However I would prefer to bind zoom in to a key and zoom out
to another say Crt-+ and Crtl-- but when I go to
Customize-->View-->Zoom in and bound it to say Crtl-+ nothing happens,
Customize-->View-->what do I miss?

thanks

Uwe Brauer

Uwe Brauer wrote:

Hello

LO has a nice button down right which allows to zoom in and out using
the mouse. However I would prefer to bind zoom in to a key and zoom out
to another say Crt-+ and Crtl-- but when I go to
Customize-->View-->Zoom in and bound it to say Crtl-+ nothing happens,
Customize-->View-->what do I miss?

thanks

Uwe Brauer

A couple of possibilities...

1. Your operating system might do something with those shortcut keys, and not pass them on to LibreOffice.

2. More likely - There are two "levels" of assigning shortcut keys in LibreOffice - those for the whole suite and those for an individual application. In the Customise > Keyboard dialog, at the upper right, there is an option to flip between assignments for "LibreOffice" (the whole suite shortcuts) and "Writer" (or whichever application you're in).

If the same shortcut key is defined for both, the one for an individual application takes priority when in that application. In Writer, Ctrl++ is assigned to "Calculate" and Ctrl+- is assigned to "Optional hyphen" (at least for me). If you assign those keys to zoom in and out at the "LibreOffice" level, they will not have that effect when in Writer; you'd need to remove the assignments from the Writer level (and likewise for Calc etc. if you want them to work there too).

I hope that helps.

Mark.

"Mark" == Mark Bourne <libreoffice-ml.mbourne@spamgourmet.com> writes:

   > A couple of possibilities...

Thanks for your answer.

   > 1. Your operating system might do something with those shortcut keys,
   > and not pass them on to LibreOffice.

Other shortcut keys I have set work fine (I am on Linux Kubuntu 10.04)

   > If the same shortcut key is defined for both, the one for an
   > individual application takes priority when in that application. In
   > Writer, Ctrl++ is assigned to "Calculate" and Ctrl+- is assigned to
   > "Optional hyphen" (at least for me). If you assign those keys to zoom
   > in and out at the "LibreOffice" level, they will not have that effect
   > when in Writer; you'd need to remove the assignments from the Writer
   > level (and likewise for Calc etc. If you want them to work there too).

I know, and that is why I tried out other bindings such has Alt+F2
and it does not work neither, I googled around and found out that it/was
a long standing bug, that is zoom in and out cannot be bound to a key!

I am using LO 4.2. Did you try it out, successfully? If so which version
do you use, because I then might upgrade.

Uwe

Uwe Brauer wrote:

"Mark" == Mark Bourne writes:

    > A couple of possibilities...

Thanks for your answer.

    > 1. Your operating system might do something with those shortcut keys,
    > and not pass them on to LibreOffice.

Other shortcut keys I have set work fine (I am on Linux Kubuntu 10.04)

If the OS was using Ctrl++ and Ctrl+-, it wouldn't necessarily affect other shortcut keys. Didn't think it likely that the OS would use those anyway, though.

    > If the same shortcut key is defined for both, the one for an
    > individual application takes priority when in that application. In
    > Writer, Ctrl++ is assigned to "Calculate" and Ctrl+- is assigned to
    > "Optional hyphen" (at least for me). If you assign those keys to zoom
    > in and out at the "LibreOffice" level, they will not have that effect
    > when in Writer; you'd need to remove the assignments from the Writer
    > level (and likewise for Calc etc. If you want them to work there too).

I know, and that is why I tried out other bindings such has Alt+F2
and it does not work neither,

Ah, I didn't realise you'd tried these other things.

I googled around and found out that it/was

a long standing bug, that is zoom in and out cannot be bound to a key!

I am using LO 4.2. Did you try it out, successfully? If so which version
do you use, because I then might upgrade.

Afraid not; I usually do check before responding but was in a bit of a rush this time. I was thinking the problem was specifically with Ctrl++ and Ctrl+-, and assumed "Zoom In" and "Zoom Out" in the list of available functions would work if mapped! Just tried (4.0.4 and 4.3.0) and indeed they don't work :frowning:

Another option (if you have a mouse with a scroll wheel) is to hold Ctrl while scrolling the mouse wheel to zoom in and out. Not exactly what you were looking for, but it may be easier than using the menus or buttons at lower right.

Or set up a shortcut for View > Zoom, which brings up a dialog to adjust the zoom. Again not as convenient as zoom in/out, but another option...

Mark.