<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 - EDITING Inserting paragraph before multi page table causes CPU spike"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135703">135703</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Inserting paragraph before multi page table causes CPU spike
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.3.0.3 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>Keywords</th>
          <td>bibisected, bisected, regression
          </td>
        </tr>

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

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

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>104444
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=164241" name="attach_164241" title="Screenshot of the problem in Writer">attachment 164241</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=164241&action=edit" title="Screenshot of the problem in Writer">[details]</a></span>
Screenshot of the problem in Writer

If I try to insert a new paragraph before the table in <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=154864" name="attach_154864" title="Simplified example file from Word">attachment #154864</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=154864&action=edit" title="Simplified example file from Word">[details]</a></span> there
is a small ~two seconds delay (on my old-ish laptop) with hourglass icon before
the table layout is recalculated. Interestingly deleting the new paragraph and
re-adding it is fast, but adding one more new is not.
In 6.4 and before this went much more smoothly.

Steps to reproduce:
    1. Open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=154864" name="attach_154864" title="Simplified example file from Word">attachment #154864</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=154864&action=edit" title="Simplified example file from Word">[details]</a></span> 
    2. Add a new paragraph before the table

Actual results:
Each new paragraph takes about two seconds on wait.

Expected results:
Instant result.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Also in:
Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster;
VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

(in older versions several new paragraphs are need to be added to trigger the
bug, also sometimes clicking into the table and out of it)

Verzió: 6.0.0.3
Build az.: 64a0f66915f38c6217de274f0aa8e15618924765
CPU szálak: 4; OS: Windows 6.3; Felületmegjelenítés: alapértelmezett; 
Területi beállítások: hu-HU (hu_HU); Calc: CL

Version: 5.3.0.3
Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; Layout Engine: new; 
Locale: en-US (hu_HU); Calc: CL

But not yet in:
Version: 5.2.0.4
Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
Locale: en-US (hu_HU)

Additional Information: 

Bibisected using bibisect-win32-5.3 to:
URL:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=8a800eea613c0f5ad3302136766791dc58880fb3">https://cgit.freedesktop.org/libreoffice/core/commit/?id=8a800eea613c0f5ad3302136766791dc58880fb3</a>
author  Mike Kaganski <<a href="mailto:mike.kaganski@collabora.com">mike.kaganski@collabora.com</a>>     2016-12-08 23:01:03
+0300
committer       Andras Timar <<a href="mailto:andras.timar@collabora.com">andras.timar@collabora.com</a>>       2016-12-12
20:24:29 +0000

<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Table cell cannot be split if its minimum height is greater than page available height"
   href="show_bug.cgi?id=104425">tdf#104425</a> sw: split rows w/large min height (fix layout loop)

Before this it was possible to add so many empty paragraphs that pushed the
table to the next page. With this about at the middle of the page several
seconds of pause happens. Which is not exactly what happens today.</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] DOCX (OOXML) table-related issues"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=104444">Bug 104444</a>] [META] DOCX (OOXML) table-related issues
              </li>
          </ul>
        </div>
        <br>

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

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