Created attachment 108555 [details]
sample document to test overlapping bookmarks
Steps to reproduce:
1. Open testdoc01-2007.docx in Word
2. Go to->Bookmark->B1 and B2
3. Open testdoc01-2007.docx in Writer
4. Navigator->Bookmark->B1 and B2
Word2013 - b1:[A[BBB], b2:[BBB]C]
AOO 4.2 - b1:[A[BBB], b2:[BBB]C] - Good
LO 184.108.40.206 - b1:[A[BBB], b2:[BBB]C] - Good
LO 4.4 master - b1:[BBB]C], b2:[A[BBB] - bookmark b1 and b2 are reversed
Why this is important:
"This is a serious issue as in Microsoft Word document certain internal used bookmarks for TOC link target and Cross-References are overlapping resp. marking the same text range."
Patches to fix AOO:
Confirmed in master. Its fine in 4.3 daily.
Build ID: 6ba8b7f5eacac969e4781d63718083a05491b1bc
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-10-24_05:10:51
Bibisected: Regression introduced in range e942fbfad420cf9e6e4ba7358380e1fec3d13952..57dcc9f3e9a7d2ebc86cf444729a7a08820418a1
I tracked down the source of this regression to your optimization in these 2 commits:
Can you please take a look at this? Thanks!
It seems that the commit that caused this regression was identified. (Or at
least a commit is suspected as the offending one.)
Thus setting keyword "bisected".
Should be fixed with: https://gerrit.libreoffice.org/#/c/12491/
Bjoern Michaelsen committed a patch related to this issue.
It has been pushed to "master":
fdo#85542: fix DOCX import of overlapping bookmarks
It will be available in 4.4.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Luke, thanks for the perfectly researched bugreport, and Bjoern, thanks for the fix! :-) - closing the bug.
Migrating Whiteboard tags to Keywords: (filter:docx, bibisected)