<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 Collapsing first of two consecutive headings does nothing"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=138136">138136</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Collapsing first of two consecutive headings does nothing
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.0.0.alpha0+ Master
          </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, raykowj@gmail.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>135310
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=167199" name="attach_167199" title="Example file from Word">attachment 167199</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=167199&action=edit" title="Example file from Word">[details]</a></span>
Example file from Word

Attached user-made DOCX file contains some consecutive paragraphs that are
formatted with Heading style and so are collapsable.
In Word collapsing the first paragraph collapses the second and the normal
styled text, but in Writer it does nothing: only the second paragraphs
collapsing hides the normal styled paragraph.

Steps to reproduce:
    1. Open attached file
    2. Enable Options – Writer – View – Show outline content visibility button
    3. Collapse any paragraph containing the Roman numerals.

Actual results:
Nothing is collapsed, but the icon on the left margin indicates so.

Expected results:
The second Heading paragraph and the subsequent normal text get collapsed.

LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: 00e5c63c35307faacf76a5e2ca7953c4208244ed
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL</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 outline view bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=135310">Bug 135310</a>] [META] Writer outline view bugs and enhancements
              </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>