Bug 148648 - Change shortcut Shift+Alt+R from ruler to cross-reference
Summary: Change shortcut Shift+Alt+R from ruler to cross-reference
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign, topicDesign
Depends on:
Blocks: Shortcuts-Accelerators Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2022-04-18 11:05 UTC by Eyal Rozenberg
Modified: 2022-04-28 06:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-04-18 11:05:55 UTC
Today, if I want to increase a cross-reference, I have to do one of the following:

Option 1:

1. Remember the shortcut key for the Insert menu.
2. Press the shortcut key for the Insert menu.
3. Remember the shortcut key for Cross-Reference.
4. Press the shortcut key for Cross-Reference.
5. Remember that the shortcut needs to be pressed twice (Signature Line is selected before Cross Reference for some reason).
6. Press the shortcut key for Cross-Reference again.
7. Press Enter.

Option 2:

1. Remember the shortcut key for the Insert menu.
2. Press the shortcut key for the Insert menu.
3. Take my eyes of the text.
4. Search the menu for Cross-Reference.
5. Press the shortcut key for Cross-Reference.
6. Notice nothing has happened, and realize another item was selected.
7. Press the shortcut key for Cross-Reference again.
8. Enter.

Option 3:

1. Take a hand off of the keyboard.
2. Click the Insert menu
3. Search for Cross-Reference
4. Click Cross-Reference


Options (1) and (2) are too cumbersome! And option 3 breaks my flow of working with the keyboard.

I want to be able to make Insert | Cross-Reference more accessible.

Specifically:

1. There should be a global shortcut for Insert | Cross-Reference
2. The priority of Cross-Ref w.r.t. its shortcut key should be the first selected upon pressing the shortcut.
Comment 1 Heiko Tietze 2022-04-25 15:39:38 UTC
Shortcuts are precious and hard if not impossible to remove later. What key combination do you have in mind?

It's possible to customize .uno:InsertReferenceField / cross reference.
Comment 2 Eyal Rozenberg 2022-04-25 17:27:31 UTC
(In reply to Heiko Tietze from comment #1)
> Shortcuts are precious and hard if not impossible to remove later.

Fair enough...

> What key combination do you have in mind?

Anything would be better than no shortcut, I guess... how about Alt+Shift+R, or Alt+Shift+C?
Comment 3 Heiko Tietze 2022-04-28 06:11:56 UTC
The topic was on the agenda of the design meeting.

Alt+shift+R is occupied by Rulers On/Off, which is a rarely used function. And rather than adding another predefined shortcut we should reassign it to crossreference.

Code pointer:

In /officecfg/registry/data/org/openoffice/Office/Accelerators.xcu the command at <node oor:name="R_SHIFT_MOD1" oor:op="replace"> needs to be changed from .uno:Ruler to .uno:InsertReferenceField - four times for the modules GlobalDocument, WebDocument, TextDocument, and XMLFormDocument where Web* and XML* are not suited for crossreference functions and for consistency I'd leave it free (do not use different commands on one shortcut).