Bug 140915 - Internal link to a bookmark works badly.
Summary: Internal link to a bookmark works badly.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-09 13:23 UTC by Sebők Gábor
Modified: 2021-03-24 16:58 UTC (History)
1 user (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 Sebők Gábor 2021-03-09 13:23:06 UTC
Description:
When I insert a cross reference to a bookmark, the label of the bookmark in gray background schould apprar, but instead of it only a gray vertical line appear. See the attached file here: https://mega.nz/file/rrgCxKCK#7Fo1Q2Cig96Stlp0ywppGVRFavNZ2vf6RQDvVdvQ-G0
I'm using this build:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 396c2ad2daad6fe6a11703d0ae1593929834afe2
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Actual Results:
You try to insert a cross reference to a bookmark anywhere in a document.

Expected Results:
The lebel of the bookmark should have been appeared in gray vackground.
But only a vertical gray line appears.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
There is nothing else.
Comment 1 Sebők Gábor 2021-03-24 06:22:51 UTC
https://mega.nz/file/qnRDTAgb#yqciLS2fUnadS1KLP_K6LdsDgghZF2CuBqb1p4Fki5M

Here you can see, what I mean.
Comment 2 Dieter 2021-03-24 07:45:27 UTC
I can't confirm it with

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 21c602913d98ef46b49fc9b6f9071db92a1597c6
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

I guess the problem appears because you haven't set bookmark to a word (or at least a character). Please read the help page: https://help.libreoffice.org/7.2/en-GB/text/swriter/01/04090002.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/fldrefpage/FieldRefPage#bm_id3149042

Steps:
1. Create a document with at least one bookmark inside
2. Insert => Cross-Reference => Cross-Reference
3. Type: Bookmarks
4. "Insert Reference to" gives different results
  a) Page: Works
  b) Chapter: Works (is chapter is defined with chapter numbering
  c) Reference: Works (bookmark must include text; test document in comment 1 doesn't)
  d) Above / Below: Works
  e) As Page Style: Works

So I change status to NOTABUG. Please feel free to change it back to UNCONFIRMED with a short reasoning, if you disagree.
Comment 3 Sebők Gábor 2021-03-24 16:58:41 UTC
THX! It works now!
You can close the case, because I don't know, how to do it...