Bug 93511 - "Target in Document" Hyperlink doesn't work when the target header starts with a manually set combination of number and period
Summary: "Target in Document" Hyperlink doesn't work when the target header starts wit...
Status: RESOLVED DUPLICATE of bug 36467
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink
  Show dependency treegraph
 
Reported: 2015-08-18 13:03 UTC by Freddy
Modified: 2022-07-11 13:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A sample doc containing the bug (20.00 KB, application/msword)
2015-08-18 13:03 UTC, Freddy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freddy 2015-08-18 13:03:52 UTC
Created attachment 117997 [details]
A sample doc containing the bug

Simply I have added a hyperlink that specify "Target in document", but if I ctrl+click the hyperlink, it doesn't jump to the target. 

See the attachment doc file. In section "2. Title02", there is a hyperlink, it points to "1. Title 01" heading. When ctrl+clicked, it should jump to "1. Title 01" text, but it doesn't jump at all.
Comment 1 Freddy 2015-08-18 13:05:26 UTC
The steps of creating the hyperlink:
1. Select text to be made as hyperlink.
2. Click menu "Insert" -> "Hyperlink"
3. In Left panel of the pop-up dialog, click "Document"
4. At right panel, click the target icon button at right of "Target" textfield.
5. At "Target in document" pop-up, expand "Headings" and choose "1.1. Title 01".
6. Click Apply button and close it.
7. Back to main pop-up dialog, click Apply button and then click close button.
Comment 2 Cor Nouws 2015-09-08 13:27:11 UTC
Thanks for filing the issue, Freddy.

I confirm the problem.

When I remove 1.  from the title of heading 1, the hyperlink does work.
So from "1. Title 01" to "1 Title 01"

(Using Tools > Outline numbering looks handy to use here. Adding a dot as separator after, doesn't conflict with the hyperlink)

Any idea if this problem occurred in earlier versions too?

Ciao - Cor
Comment 3 QA Administrators 2018-08-22 02:37:05 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2020-08-22 03:50:15 UTC Comment hidden (obsolete)
Comment 5 Mike Kaganski 2022-07-11 13:43:37 UTC

*** This bug has been marked as a duplicate of bug 36467 ***