<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 - Next Style does not get triggered if there is Text after the cursor."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136654">136654</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Next Style does not get triggered if there is Text after the cursor.
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.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>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>f.thaler@posteo.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Next Style does not get triggered if there was Text after the cursor before
pressing ENTER.

I'm pretty sure this wasn't in LO until recently and it should be corrected.

Steps to Reproduce:
Usually, if a different paragraph-style is set as "next style", after pressing
ENTER, the following text should have that (next) style. For example, after
pressing ENTER after a H1, you might  continue writing using Text Body, if you
set your template this way.

HOWEVER: If you click ENTER and there's text behind the cursor, the following
text does not change into the desired style.
(For example, H1 does not turn into Text Body but just stays H1)

Actual Results:


Expected Results:
Apply the "Next Style" the user choose regardless of whether there's text right
after the cursor.


Reproducible: Always


User Profile Reset: No



Additional Info:
I could only select 7.0.0.3 but my LO version, both on Windows and on Linux
Mint seems to be version 7.0.1.2.

Version: 7.0.1.2
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: de-AT (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded</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>