Hyperlink inserted to image with bookmark target in DOCX documents created with Microsoft Word is broken when the document is opened in LibreOffice Writer.
Steps to Reproduce:
1. Create a new document in Microsoft Word 2016.
2. Insert a bookmark.
3. Insert a page break.
4. Insert an image.
5. Select the image.
6. On the Insert tab, click Hyperlink.
7. Under Link to, click Place in This Document.
8. In the list, select the bookmark
9. Click on OK button.
10. Save the file as DOCX.
11. Open the same file in LibreOffice Writer.
12. Ctrl+Click the image.
The hyperlink doesn’t work.
The hyperlink should work in Writer.
User Profile Reset: No
Version: 22.214.171.124.alpha0+ (x64)
Build ID: 1bad7f0b19e47a41a1919573f80785ec62c611af
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
Locale: hu-HU (hu_HU); UI-Language: en-US
Created attachment 153872 [details]
Screenshot of the problem in Writer.
Created attachment 153873 [details]
Example file from Word.
Thank you for reporting the bug.
I can confirm the bug present in
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Tünde Tóth committed a patch related to this issue.
It has been pushed to "master":
tdf#127339 DOCX import/export: fix image hyperlink to bookmark target
It will be available in 6.4.0.
The patch should be included in the daily builds available at
https://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.