<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 - Justifications get destroyed by newlines"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121984">121984</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Justifications get destroyed by newlines
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.1.3.2 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>zyklon87@web.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When I insert a real newline (i.e. "Shift + Enter") after a certain
justification-formatted paragraph, the last line of the paragraph above that
newline gets force-formatted to an extreme justification. That for example
means, that when there are just two words in that line, the second word gets
completely right-aligned, so that an enormous amount of space gets inserted
between two words.

I don’t think that this makes any sense. In the salutation I for example often
write “Best regards,[REAL_NEWLINE]Frank” for the spacing not getting too big.
Another use-case for me is when I want to arrange several points of a bullet
list, which consist of more lines but should just get one bullet. I think
creating new formats for these kinds of content/arrangements would be overkill,
and I don’t see an advantage in the current behavior, which is why I think that
this is a bug.

⇒ A maximum amount of good-looking space between the words of a paragraph
should always be respected. When a line (maybe just the last line) of a
justified paragraph would violate that maximum space, this line should be
left-aligned instead.

Steps to Reproduce:
1. Create a new document and select justification ["Ctrl + B" (at least for
Germany)].
2. Write two words and hit "Shift + Enter" for avoiding paragraph spacing to
the next line.

Actual Results:
The two words are completely left- and right-aligned.

Expected Results:
The space between those two words is way too gigantic, and justification should
be altered to left-alignment for that line.


Reproducible: Always


User Profile Reset: No



Additional Info:</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>