Created attachment 172615 [details] Example file from PowerPoint Attached PP-made file contains a slide with a too long title that is shortened to Slide 1 and another slide with a shorter title. There is a hyperlink on the first slide to the second, this opens and roundtrips correctly. If I create a new internal hyperlink pointing from the second slide to the first, filesave to PPTX will create an invalid file. As a counter test I’ll attach another version of the example file with shorter title that is not shortened to Slide 1. Creating an internal hyperlink from the second slide to the first creates a valid PPTX with correctly working hyperlink. Steps to reproduce: 1. Open attached file 2. Go to the second slide, select the text in the lower half. 3. Press Ctrl+K to open the Hyperlink dialog, select Document on the left 4. Press the Target icon under Target in Document 5. Select “Slide 1” in the dialog, press OK 6. Save as PPTX, open the file in PowerPoint Actual results: PowerPoint finds invalid contents in the file. Reopening the file in Impress also loses the hyperlink just made. Expected results: Working hyperlink, no invalid contents. LibreOffice details: Version: 7.2.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 3b57ebb445df8a2bc3d916ea79f8af45e20e4e62 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL
Created attachment 172616 [details] The original file saved by Impress after adding the hyperlink
Created attachment 172617 [details] Example file from PowerPoint with shorter text in Title
Created attachment 172618 [details] The original file with shorter title saved by Impress after adding the hyperlink
Created attachment 172619 [details] Screenshot of the exported document when trying to open it in PowerPoint
Tibor Nagy committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7eb0e52527e729a21973e70d5be8e0a6779ec748 tdf#142648 PPTX: import long slide names to avoid broken link export It will be available in 7.3.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.
*** Bug 142647 has been marked as a duplicate of this bug. ***
Verified in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: d1f1f546b212ecd651146addeb328806bb270d5f CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded
Tibor Nagy committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/0b327b69ef78a7565625dabbe8dcf0140884fe26 tdf#142648 PPTX: import long slide names to avoid broken link export It will be available in 7.2.1. 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.