[Libreoffice-bugs] [Bug 142648] New: FILESAVE PPTX Creating hyperlink to a slide with shortened name results in invalid file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jun 4 11:26:23 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=142648

            Bug ID: 142648
           Summary: FILESAVE PPTX Creating hyperlink to a slide with
                    shortened name results in invalid file
           Product: LibreOffice
           Version: 7.2.0.0 alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:pptx, implementationError
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nagy.tibor2 at nisz.hu, nemeth at numbertext.org,
                    varga.balazs3 at nisz.hu
            Blocks: 104787, 139896

Created attachment 172615
  --> https://bugs.documentfoundation.org/attachment.cgi?id=172615&action=edit
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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104787
[Bug 104787] [META] Saved PPTX files that MS Powerpoint can't open
https://bugs.documentfoundation.org/show_bug.cgi?id=139896
[Bug 139896] [META] PPTX Hyperlink issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210604/6f720ee6/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list