Bug 124924 - Don't show reference fields in bookmarks list
Summary: Don't show reference fields in bookmarks list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Navigator Bookmarks
  Show dependency treegraph
Reported: 2019-04-24 08:35 UTC by Christian Lehmann
Modified: 2020-09-20 07:58 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lehmann 2019-04-24 08:35:36 UTC
In the Navigator, clicking on Bookmarks shows both the bookmarks set as such by the user and the reference field codes (like _Ref392861719) set by Writer when the user inserts a cross-reference to something in the text. In earlier versions of LO, this did not happen.
Displaying these references is of no practical use, since unlike real bookmarks, they are not mnemonic. They can be clicked like a bookmark, but one cannot know where one will be taken by this. They can be deleted like a bookmark, but one does not know what one is deleting. They clutter up the list of the user's real bookmarks and therefore are a nuisance.

Steps to Reproduce:
1. Show Navigator (F5).
2. Click on Bookmarks.

Actual Results:
Both real bookmarks and reference field codes are listed.

Expected Results:
Only bookmarks set as such by the user should be listed.

Reproducible: Always

User Profile Reset: No

OpenGL enabled: Yes

Additional Info:
The settings menu (Options - LO Writer - View - Display) contains an item 'Field codes'. This is the place for the user to decide whether he wants to see the reference codes among his bookmarks. If it is unchecked, they should not be displayed.
Comment 1 Xisco Faulí 2019-05-02 11:52:41 UTC
Make sense. Moving to NEW
Comment 2 sdc.blanco 2019-12-22 19:26:08 UTC
Inserted a cross-reference to a heading, a bookmark, and to a numbered paragraph, but nothing showed up in the Navigator under bookmarks.  But inserted bookmarks appear under bookmarks in Navigator.  Therefore:

Cannot reproduce with

Version: (x64)


Version: (x64)
Build ID: 4d7e5b0c40ed843384704eca3ce21981d4e98920

NB -- if you copy and paste text from webpages, this can introduce "mysterious" bookmarks into your navigator (under bookmarks). The given example _Ref392861719 does not look like the Field codes inserted with Libreoffice cross-reference.

In short, WFM
Comment 3 Christian Lehmann 2020-09-20 07:58:38 UTC
Commenting on Comment 2, NB:
I can now confirm that those useless bookmarks that show in the Navigator stem from the import of an MS Word file. However, this is nothing to calm down about. It is just another item of all that useless stuff that blows up the XML file of a Writer document; see Bug 136434.