[Libreoffice-ux-advise] Change default shortcut of Redo action

JorenDC joren.libreoffice at telenet.be
Sat May 11 03:39:53 PDT 2013


Op 10-05-13 23:03, JorenDC schreef:
> Hi all,
>
> I would like to have some UX-advice input first, before working on a 
> patch related to https://bugs.freedesktop.org/show_bug.cgi?id=32368 
> (Undo/Redo shortcuts do not adhere to the basic scheme of Gnome).
I think we agreed unanimous that "attaching both shortcuts (ctrl+y and 
ctrl+shift+z)" is a correct and best option here. In that case users can 
use the command they are used to.

I send a patch to gerrit https://gerrit.libreoffice.org/#/c/3853/ . I 
found out how to attach 2 key combinations to 1 command.
However: the shortcut key that is now displayed for a Redo action in the 
menu entries is Ctrl+y because of : 
http://opengrok.libreoffice.org/xref/core/framework/source/inc/accelerators/acceleratorcache.hxx#75

//---------------------------------------
/** map commands to keys in relation 1:n.
First key is interpreted as preferred one! */


Because Ctrl+y is the first key found, it'll display it in the menu 
entries. I think it should be possible to bypass it if we want to 
display ctrl+shift+z as default command, but I think I need to ask help 
on the dev-list.

Kind regards,
Joren



More information about the Libreoffice-ux-advise mailing list