Bug 93511

Summary: "Target in Document" Hyperlink doesn't work when the target header starts with a manually set combination of number and period
Product: LibreOffice Reporter: Freddy <rdyf4ever>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cno
Priority: medium    
Version: 4.4.5.2 release   
Hardware: Other   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=36467
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107733    
Attachments: A sample doc containing the 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 ***