Bug 36310 - [EDITING]"Insert cross-reference" drag-n-drop mode for navigator
Summary: [EDITING]"Insert cross-reference" drag-n-drop mode for navigator
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 83490 (view as bug list)
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
 
Reported: 2011-04-16 13:29 UTC by RGB
Modified: 2019-02-05 18:02 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 RGB 2011-04-16 13:29:48 UTC
Right now, you can drag-n-drop elements from the navigator to the document in order to create copies or to insert hyper-links to the selected element. Now, suppose that under the “Drag mode” menu you find an option called “As cross reference”: using it, when you drag-n-drop a heading from the navigator a short menu appears showing some options to insert cross-references. Something like:

Insert cross-reference                   
----------------------
Chapter name
Chapter number
Page number
Before/After
All

I think this feature could make a big difference when editing long and complex documents, making more easy to perform some easy cross-referencing tasks (for more complex stuff, the Insert → Fields → Other → Cross-reference tab will be always available).
Comment 1 daniel 2011-08-26 03:31:22 UTC
I have missed this feature for a long time. For my work flow (extensively using cross references), creating cross references by dragging from the Navigator would be the most intuitive action, rather than creating hyperlinks or copies. I know that other users may find hyperlink creation or copies more interesting, but I agree in RGB that this would be a very useful feature.
Comment 2 Björn Michaelsen 2011-12-23 12:01:47 UTC Comment hidden (obsolete)
Comment 3 RGB 2011-12-23 16:56:02 UTC
The feature requested is not implemented on 3.5 beta2.
Comment 4 Joel Madero 2014-07-13 01:33:29 UTC Comment hidden (obsolete)
Comment 5 Owen Genat (retired) 2014-09-15 12:00:59 UTC
*** Bug 83490 has been marked as a duplicate of this bug. ***
Comment 6 Adam Tauno Williams 2015-04-09 17:36:13 UTC
Version: 4.3.6.2
Build ID: 430m0(Build:2)

Somewhat related, possibly related to overall fix - the drop down in the Naviator of documents to display does not 'refresh' when a new document is opened.  The new document will appear in the Window drop down menu of each open document but the Navigator selector for open documents does not update.

The drag mode option selected for a references does stick when changed between link/copy/insert but the drag action appears to be disabled.

Without drag-n-drop even a right-click->copy so the reference could be copied and pasted into the current document would be great.  Honestly that would be smoother to use than an actual drag-n-drop.
Comment 7 Christian Lehmann 2018-07-04 09:40:50 UTC
This is an elaboration on RGB's comment of 2011-04-16, which was mistakenly marked as obsolete:

Currently, one can do a right click on any position shown in the navigator panel. However, the options offered there are heterogeneous. There is an initial subset of three options (division levels, drag mode, display) which are the same for any spot in the navigator panel that one may click on. The first of them concerns exclusively the section headings and has no business with the other items shown in the navigator panel. The third option does not belong here at all and may instead be offered at some place of the top bar of the navigator panel. Then there is one additional option shown upon right click on some of the items of the navigator panel and which is well-positioned there, together with the 'drag-mode' option.

Suggestion:
Add a third option to the right click on a section heading in the navigator bar, as follows: insert reference to this section at cursor position.

Motivation:
This is a shortcut for what otherwise takes the following series of steps: Insert - reference - field commands: cross-references - numbered paragraphs - number (no context) - selection - insert - close; i.e. no less then 8 clicks plus vertical scrolling through what may be hundreds of lines in the selection box. The number of clicks may be abridged to 6 if 'numbered paragraphs' and 'number (no context)' are held constant. However, six clicks plus vertical scrolling is a particularly non-ergonomic solution for such a simple and frequent operation.
The suggested shortcut presupposes that the parameter setting in the box 'field commands: cross-references' has been stored and is applied, as it currently is in the six-click solution.

See also Bug 113961 and Heiko Tietze's comment 3.