Description: Hyperlinks record with track changes deleted when saving ODT to DOCX (URL becomes PATH) Steps to Reproduce: 1. open the attached file 2. Save as DOCX 3. File reload 4. CTRL+Click on of the links Actual Results: Blank Expected Results: Functional link Reproducible: Always User Profile Reset: No Additional Info: Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 3ccc4c123f5e78e0204d11abeab2d1a74278ca3e CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL Jumbo
Created attachment 178909 [details] Example file
Also in Version: 6.2.9.0.0+ (x86) Build ID: 5f01fe15eb2661f1f9ce12d1d99dc2a705b462ee CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc: CL and in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL
I confirm it with Version: 7.3.2.2 (x64) / LibreOffice Community Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: ar-SY (de_DE); UI: en-GB Calc: CL Same result, if you accept all changes before saving
And in Versie: 4.1.0.4 Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28 and in 3.5.7.2
Created attachment 182724 [details] Example file created from scratch This happens if two conditions are met: - the URL has to contain a # sign - the Target Frame dropdown is not empty
Created attachment 182725 [details] The example file saved to docx Saved from Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 0d3dd0aa54ad792f91d0905f3d46c13df3512d89 CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (hu_HU); UI: de-DE Calc: threaded
Created attachment 182726 [details] Reference file from Word 2010 with the same URL and target frame settings
Created attachment 182727 [details] The reference docx in Word, and the example odt in Writer
Created attachment 182728 [details] attachment 182725 [details] in Word 2010 and Writer To my surprise attachment 182725 [details] looks better in Word than in Writer. The target form setting is exported correctly in the first batch of links. The ones with the hashmark are losing this setting in Word (but the URL is good), and it turns into a file path in the Writer import.
Tünde Tóth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ed77023797985e62e8f0af29326a61f55a65ae0a tdf#148026 DOCX export: fix link with target frame and anchor It will be available in 7.6.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: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
VERIFIED IN: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 668c44e841a10cec8932a446a941e6d7c386bf3b CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: CL threaded