Apache OpenOffice (AOO) Bugzilla – Issue 119116
hyperlink fails when target contains newline
Last modified: 2013-09-11 11:48:37 UTC
Created attachment 77357 [details] contains hyperlinks In HypLong.odt, ctrl-click RefB, go to TitleB; OK. Now, ctrl-click RefC, go nowhere; apparently, because the target TitleC contains a newline character. RefD works, even though TitleD spreads over 2 lines.
Confirmed the same bug for OOo3.4.1 build 9593 on Windows Xp For clarification of the bug: A hyperlink that points to an area inside of the same document will normally jump to that location. However, if this location (described in the target) contains a newline (the actual location, but not the target) (not wrapped text as shown in RefD) the link will go to itself rather than the target location. This even occurs if you choose the location from the hyperlink "Target in Document" wizard. It will allow you to choose the heading, but won't be able to jump to the location.
Unable to confirm bug using OO 3.4.1b9593 on Windows 8. I downloaded the attachment and I was able to reproduce the bug using the original file. I then created a new file "BugTest.odt" where I created three headings and three links. Then I copied the newline character from "HypLong.odt" and pasted into my heading 2. DESCRIPTION OF LINKS - Heading 1: Normal, Heading 2: Newline copied from original, Heading 3: Text that wrapped to the next line. When I ctrl-clicked all three of my links worked.
Created attachment 79700 [details] BugTest.odt
I reproduced this issue on: Win7 using AOO 3.4.1 and Ubuntu 12.04 with AOO 4.0, the problem does not occur.
As given in description. Rev. 1520602 Win 7