<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - FILEOPEN PPTX: split animation import missing the anim:sub-item="text" attribute (regression)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=141742">141742</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILEOPEN PPTX: split animation import missing the anim:sub-item="text" attribute (regression)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.1.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Impress
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pablo.platt@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>