<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 - Trying to save SVG image from presentation/drawing causes LibO to use 100% cpu and lock up"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132494">132494</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Trying to save SVG image from presentation/drawing causes LibO to use 100% cpu and lock up
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux (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>filters and storage
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>sergio.callegari@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
LibO lets you save images that are embedded in presentations and drawings.

The saving of SVG images has issues, though.

1) In the SVG options dialogue, rapidly changing the saved image size (e.g., by
repeatedly clicking on the small arrows to increment/decrement the width/height
of the saved image causes LibO to use 100% of the CPU and lock up.

2) The file size reported in the SVG options dialogue is always 0.

Steps to Reproduce:
1. Open the test document
2. Select the image, right click, click "save..."
3. Define a filename in the Image export dialogue, assure that the filter is
set to "SVG - Scalable Vector Graphics" and the filename ends by ".svg".
4. Press save and see the SVG options dialog open
5. Note that the Information bit says "The file size is 0.0 KB"
6. Rapidly press multiple time the up arrow in the width box

Actual Results:
LibO freezes, cpu usage goes up to 100%

Expected Results:
LibO should not freeze.
File size information should account for the actual svg file size.


Reproducible: Always


User Profile Reset: No



Additional Info:
Note that if the image size is updated "slowly" in the SVG options window, LibO
can actually survive and save the svg image.


[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes</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>