Bug 110738 - Hyperlinks to Headlines in Writer do not work
Summary: Hyperlinks to Headlines in Writer do not work
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-31 19:38 UTC by Adalbert Hanßen
Modified: 2017-11-29 10:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Hyperlink to a headline which does not work (14.86 KB, image/png)
2017-07-31 19:38 UTC, Adalbert Hanßen
Details
file 2: for comparison: Hyperlink to a bookmark (14.86 KB, image/png)
2017-07-31 19:40 UTC, Adalbert Hanßen
Details
file 3: for comparison ahyperlink from an automatically generated TOC (13.52 KB, image/png)
2017-07-31 19:42 UTC, Adalbert Hanßen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adalbert Hanßen 2017-07-31 19:38:24 UTC
Created attachment 135027 [details]
Hyperlink to a headline which does not work

If I manually enter a hyperlink which shall lead me to a specific headline in my document, this hypelink does not work. When I ctl-click onto it, the cursor does not jump to the specified headline.
The hyperlink, when entered, looks like this: (file 1)

If I apply a bookmark to the target in my document, a hyperlink to that target works fine. I looks like this (the bookmark name was entered exactly as shown, i.e. without spaces in it) (file 2):

However, automatically generated hyperlinks from a table of content work. But they look like this: (file 3) (i.e. „|outline“ is missing).
That‘s really strange!
Comment 1 Adalbert Hanßen 2017-07-31 19:40:42 UTC
Created attachment 135028 [details]
file 2: for comparison: Hyperlink to a bookmark
Comment 2 Adalbert Hanßen 2017-07-31 19:42:53 UTC
Created attachment 135029 [details]
file 3: for comparison ahyperlink from an automatically generated TOC
Comment 3 Xisco Faulí 2017-07-31 22:18:18 UTC Comment hidden (obsolete)
Comment 4 Adalbert Hanßen 2017-08-05 12:07:11 UTC
I came across this bug in

Version: 5.1.6.2
Build-ID: 1:5.1.6~rc2-0ubuntu1~xenial2
CPU-Threads: 2; BS-Version: Linux 4.10; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

This is the version of LobreOffice which is part of this release of the version 16.04.3 LTS of xubuntu.

Now I tested it with 

Version: 5.4.0.0.beta2
Build ID: 3cc1cdd8ee50f144e5514da51800a08119754d8f

which I had downloaded from http://libreoffice.soluzioniopen.com/index.php/pre-releases/ from http://libreoffice.soluzioniopen.com/pre-releases/LibreOfficeDev-5.4.0.0.beta2_English_x86-64.AppImage on 2017-06-12. I tried it with that version because I did not want to uninstall my current version and install another one instead. Since this is a 5.4.x.x version, I hope the information testing it with this one is helpfull. The link which should point to the headline was: "*2015-05-03 Benutzer wechseln im Abmeldemenü|outline".

This all happens with Xubuntu 16.04.3 LTS

My current kernel-state is: 
4.10.0-30-generic x86_64


I also tested with the latest version available as AppImage:

Version: 6.0.0.0.alpha0+

to insert a hyperlink to a headline. Insertign the hyperlink worked, it looked like this (as in my first complaint: "*2015-05-03 Benutzer wechseln im Abmeldemenü|outline"). 

Like many headlines in my document, this one also contains blancs and since these headlines are part of a kind of log book, I prepend them with an asterisk if the problem dealt under the headline is solved. So this headline also contains a leading asterisk. I hope this is not the cause of the error. I think, this has worked in earlier versions under earlier versions of (X)ubuntu.
Comment 5 Buovjaga 2017-08-26 16:26:49 UTC
(In reply to Adalbert Hanßen from comment #4)
> I also tested with the latest version available as AppImage:
> 
> Version: 6.0.0.0.alpha0+
> 
> to insert a hyperlink to a headline. Insertign the hyperlink worked, it
> looked like this (as in my first complaint: "*2015-05-03 Benutzer wechseln
> im Abmeldemenü|outline"). 

So are you saying there is no problem with version 6?
Comment 6 Xisco Faulí 2017-11-29 10:03:23 UTC
(In reply to Buovjaga from comment #5)
> (In reply to Adalbert Hanßen from comment #4)
> > I also tested with the latest version available as AppImage:
> > 
> > Version: 6.0.0.0.alpha0+
> > 
> > to insert a hyperlink to a headline. Insertign the hyperlink worked, it
> > looked like this (as in my first complaint: "*2015-05-03 Benutzer wechseln
> > im Abmeldemenü|outline"). 
> 
> So are you saying there is no problem with version 6?

Then I guess we can close this as RESOLVED WORKSFORME.
@Adalbert, Feel free to put it back to UNCONFIRMED if the issue is still reproducible in master