<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 - Headings at top of 2 column section are not horizontally aligned after 1 column break"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130504">130504</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Headings at top of 2 column section are not horizontally aligned after 1 column break
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>minor
          </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>m.libreoffice@santonum.eu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When you create a 2 column section, insert a heading as first paragraph inside,
insert a column break and finally insert the same level heading at top of the
second column, the heading are not horizontally aligned. 
The column break seems to duplicate the 'before paragraph' spacing (only with
heading styles, not text body styles)

Steps to Reproduce:
1. Create new text document
2. Insert a line of text
3. Insert a 2 columns new section
4. Insert 'Left column heading' text in this section and apply 'Heading 1'
style
5. Check (or define) 'heading 1' style with a 'before paragraph' spacing of
more than 0, p.e. 0.3 cm.
6. Insert a bit of text
7. Insert manual column break: Insert > More Breaks > Insert Column Break
8. Insert 'Right column heading' text in this column and apply 'Heading 1'
style
9. Insert a bit of text



Actual Results:
You can see that the 'Left Column title' and 'Right column title' texts are not
horizontally aligned at top of the section.
There is a vertical offset of the heading in the second column after the column
break.


Expected Results:
The 2 headings at tops of the 2 columns should be horizontally aligned


Reproducible: Always


User Profile Reset: No



Additional Info:
The offset value is the 'before paragraph' spacing of 'Heading x' style.
So the 'before paragraph' spacing seems to be applied twice, as if it would be
applied :
- to the heading AND its parent, 
- or to the heading AND to the 'column break' element before.</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>