Bug 105624

Summary: Hyperlinks in "Index or Table of Contents", type "Index of Tables" or "Illustration Index" get lost with saving and reloading the document
Product: LibreOffice Reporter: jobotro <josef>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ilmari.lauhakangas, kerem.g, klasse, libretraining.tutorials, xiscofauli
Priority: medium    
Version: 4.3.0.4 release   
Hardware: x86-64 (AMD64)   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 89606, 107733    
Attachments: scientific report / thesis

Description jobotro 2017-01-30 19:55:05 UTC
Description:
Hyperlinks to the appropriate page numbers in  "Index or Table of Contents", type "Index of Tables" or "Illustration Index" work fine within the running session. However, when the document is saved, the session is terminated, and the document is reloaded in a new Writer session later on the hyperlinks no longer exist.
This bug does not exist for "Index or Table of Contents"with type "Table of Contents"

Steps to Reproduce:
1.Several documents
2.at different times with the different versions of Ubuntu and LibreOffice, up to date at the respective dates.
3.edit the index of contents several times
4.delete the index of contents and creat it new 


Actual Results:  
This bug was always present

Expected Results:
hypwerlinks should be preserved with saving the document.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Comment 1 Xisco Faulí 2017-01-30 21:38:40 UTC Comment hidden (obsolete)
Comment 2 jobotro 2017-02-03 17:39:17 UTC Comment hidden (obsolete)
Comment 3 jobotro 2017-02-03 17:41:47 UTC
Created attachment 130889 [details]
scientific report / thesis
Comment 4 Xisco Faulí 2017-02-09 10:40:43 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2017-09-11 06:51:44 UTC
1. Scroll to Verzeichnis der Tabellen on page 5
2. Right-click, Edit index
3. Tab: Entries
4. Click inside the empty field before # and click Hyperlink
5. Do the same for the empty field after # and click OK
6. Now you can Ctrl-click the page numbers to jump to the pages
7. Save & reload
8. Go back to the index

Strangely it still allows to Ctrl-click and jumps correctly, but when you edit it, you see the links are gone. Right-click - Update index and you can no longer Ctrl-click the numbers.

Does not seem to be a regression, as in 3.5 the option to add links does not even exist.

Win 10
Version: 4.3.0.0.beta1
Build ID: b7cfa1eab1cb1e94f71d6df6612b73f231d0bf92

Version: 6.0.0.0.alpha0+ (x64)
Build ID: 4b4ebb15456af443347679a7e7e8726c090a5bf5
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2017-08-31_02:04:11
Locale: fi-FI (fi_FI); Calc: group
Comment 6 Buovjaga 2017-09-11 06:52:26 UTC
*** Bug 112315 has been marked as a duplicate of this bug. ***
Comment 7 Johnny_M 2017-12-26 22:15:03 UTC
Looks like a duplicate of what should be fixed now.

*** This bug has been marked as a duplicate of bug 71737 ***
Comment 8 KerryGee 2017-12-27 05:21:48 UTC
@ Jhonny M: Its not! The bug still persists in the latest 5.3.7 and 5.4.4 builds at the time i am writing this. Its really annoying, big time!
Comment 9 Johnny_M 2017-12-27 08:32:55 UTC
(In reply to KerryGee from comment #8)
> The bug still persists in the latest 5.3.7 and 5.4.4
> builds at the time i am writing this.

That is not a contradiction. :) It should be fixed *in the code*. Per "Whiteboard" of the bug 71737, the fix will be available in the following future ("target") versions:

> target:6.1.0 target:6.0.0.1 target:5.4.5

You are absolutely right that the versions 5.3.7 and 5.4.4 are not fixed.

Sorry for confusion.