Issue 115185 - hyperlink refers always to 1st of three identical Headings in attached sample
Summary: hyperlink refers always to 1st of three identical Headings in attached sample
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: configuration (show other issues)
Version: OOo 3.2.1
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 18:28 UTC by tab
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
file with hyperlinks (10.59 KB, text/plain)
2010-10-21 18:29 UTC, tab
no flags Details
file with ref to hyperlink (10.59 KB, text/plain)
2010-10-21 18:30 UTC, tab
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tab 2010-10-21 18:28:44 UTC
File HypSource.odt has 4 headings: Aaaa, and Bbbb #1, 2, 3.
In HypCheck.odt, hyperlink @ has been set to Bbbb #3 (sec.1.1.4). ^Click on it, 
get the FIRST one, Bbbb #1 --wrong. Apparently, hyperlink remembers only the 
heading ('Bbbb'), not its location in the document.
In a long document, the same heading, such as 'Definition', can be reused several 
times; hyperlink search will always 'find' the 1st one.
Comment 1 tab 2010-10-21 18:29:57 UTC
Created attachment 72140 [details]
file with hyperlinks
Comment 2 tab 2010-10-21 18:30:56 UTC
Created attachment 72141 [details]
file with ref to hyperlink
Comment 3 michael.ruess 2010-10-22 11:52:39 UTC
MRU->OS: could you please have a look? In the attached sample, the hyperlink
always jumps tp the first of the three identical "bbbb" headings, though the
number is set correctly in the link.
When I create a similar sample from the scratch, this works fine...
Comment 4 TAB 2012-07-05 14:10:58 UTC
Here is a work-around: make identical Headings different by attaching a substring to each; make the substrings Hidden so they won't show in the final document.
But... if such a heading appears in a page header, it does so WITH the supposedly-hidden substring!
Comment 5 Marcus 2017-05-20 11:15:23 UTC
Reset assigne to the default "issues@openoffice.apache.org".