<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 New paragraph before page starting table inserts page break"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132682">132682</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING New paragraph before page starting table inserts page break
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>Inherited From OOo
          </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>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>103100
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160338" name="attach_160338" title="Example file from Writer">attachment 160338</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160338&action=edit" title="Example file from Writer">[details]</a></span>
Example file from Writer

Attached user made document contains a table that starts the document. Also
this document has a custom header on the first page.
If one wants to insert a paragraph before the table using Alt+Enter this also
inserts a page break, also pushes the first page header to the second page,
making both have first page header. Then:
- Saving the file to ODT makes the first page have default header while the
second page keeps the first page header.
- Removing the extra page break and saving the file to ODT makes the first page
header completely disappear.

Steps to reproduce:
    1. Open attached document and try to make it NOT start with a table. I
tried to avoid <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MAILMERGE: if output saved as individual documents the second document is identical to the first one if document starts with table"
   href="show_bug.cgi?id=106959">bug #106959</a> since this was a mail merge document.

Actual results:
Writer destroys the header by inserting an unwanted page break.

Expected results:
No extra page break when a paragraph is inserted before the top left table
cell.
If the table is not the first object in the page, this does not happen.

LibreOffice details:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 00db5933ded1884b2ac453552badae20fa943478
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

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

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Verzió: 4.0.0.3 (Build az.: 7545bee9c2a0782548772a21bc84a9dcc583b89)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735</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] Writer table bugs"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=103100">Bug 103100</a>] [META] Writer table bugs
              </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>