[Libreoffice-bugs] [Bug 141742] New: FILEOPEN PPTX: split animation import missing the anim:sub-item="text" attribute (regression)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 18 11:53:01 UTC 2021


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

            Bug ID: 141742
           Summary: FILEOPEN PPTX: split animation import missing the
                    anim:sub-item="text" attribute (regression)
           Product: LibreOffice
           Version: 7.1.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: pablo.platt at gmail.com

Description:
The attached pptx has a split animation on a bullet list. The animation is
imported correctly in LO 7.0 but in LO 7.1 the <anim:set> nodes are missing the
anim:sub-item="text" attribute. This is a regression between 7.0.4.2 and 7.1.

Steps to Reproduce:
1. Import the attached pptx to LibreOffice 7.0 and LibreOffice 7.1 
2. Exported to ODP
3. Extract the ODP zip and compare the <anim:set> nodes in content.xml of both
LibreOffice versions.

4. Create a new Impress 7.1 presentation.
5. Add a text box. Create a bullet list with 3 items (AAA, BBB, CCC).
6. Add split entrance animation to the text box.
7. Save as ODP.
8. Extract the ODP zip file and compare the <anim:set> nodes in content.xml to
the ODP converted from the PPTX. Now the <anim:set> nodes do include the
anim:sub-item="text" attribute.

Actual Results:
In Impress 7.1 <anim:set> nodes in content.xml are missing the
anim:sub-item="text" attribute when importing a pptx with split animation.

<anim:par smil:dur="indefinite" smil:restart="never"
presentation:node-type="timing-root">
    <anim:seq smil:dur="indefinite" presentation:node-type="main-sequence">
        <anim:par smil:begin="next" smil:fill="hold">
            <anim:par smil:begin="0s" smil:fill="hold">
                <anim:par smil:begin="0s" smil:fill="hold"
presentation:node-type="on-click" presentation:preset-class="entrance"
presentation:preset-id="ooo-entrance-split"
presentation:preset-sub-type="horizontal-in">
                    <anim:set smil:begin="0s" smil:dur="0.001s"
smil:fill="hold" smil:targetElement="id1" smil:attributeName="visibility"
smil:to="visible"/>
                    <anim:transitionFilter smil:dur="0.5s"
smil:targetElement="id1" smil:type="barnDoorWipe" smil:subtype="horizontal"
smil:direction="reverse"/>
                </anim:par>
            </anim:par>
        </anim:par>
    </anim:seq>
</anim:par>

Expected Results:
In Impress 7.0 <anim:set> nodes in content.xml include the anim:sub-item="text"
attribute when importing a pptx with split animation.
In Impress 7.1 the attribute is included only when creating a new text box (not
importing pptx).

<anim:par smil:dur="indefinite" smil:restart="never"
presentation:node-type="timing-root">
    <anim:seq presentation:node-type="main-sequence">
        <anim:par smil:begin="next">
            <anim:par smil:begin="0s">
                <anim:par smil:begin="0s" smil:fill="hold"
presentation:node-type="on-click" presentation:preset-class="entrance"
presentation:preset-id="ooo-entrance-split"
presentation:preset-sub-type="horizontal-in">
                    <anim:set smil:begin="0s" smil:dur="0.004s"
smil:fill="hold" smil:targetElement="id1" anim:sub-item="text"
smil:attributeName="visibility" smil:to="visible"/>
                    <anim:transitionFilter smil:dur="2s"
smil:targetElement="id1" anim:sub-item="text" smil:type="barnDoorWipe"
smil:subtype="horizontal" smil:direction="reverse"/>
                </anim:par>
            </anim:par>
        </anim:par>
    </anim:seq>
</anim:par>


Reproducible: Always


User Profile Reset: No



Additional Info:
Bad version:
Version: 7.1.2.2 / LibreOffice Community
Build ID: 5751006d328844ba3fa6124ed263bbf122f0788a
CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
Calc: threaded

Good version:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: en-US (en_IL); UI: en-US
Ubuntu package version: 1:7.0.4_rc2-0ubuntu0.20.04.2
Calc: threaded

-- 
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/20210418/2e071b18/attachment.htm>


More information about the Libreoffice-bugs mailing list