Discussion:
[Libreoffice-bugs] [Bug 121984] New: Justifications get destroyed by newlines
b***@bugs.documentfoundation.org
2018-12-08 16:12:17 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121984

Bug ID: 121984
Summary: Justifications get destroyed by newlines
Product: LibreOffice
Version: 6.1.3.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-***@lists.freedesktop.org
Reporter: ***@web.de

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:
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-08 16:20:52 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121984

--- Comment #1 from ***@web.de ---
Created attachment 147385
--> https://bugs.documentfoundation.org/attachment.cgi?id=147385&action=edit
Example
--
You are receiving this mail because:
You are the assignee for the bug.
b***@bugs.documentfoundation.org
2018-12-08 22:13:03 UTC
Permalink
https://bugs.documentfoundation.org/show_bug.cgi?id=121984

V Stuart Foote <***@utsa.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
CC| |***@utsa.edu
Summary|Justifications get |Justification of lines of
|destroyed by newlines |text terminated with
| |Newwline (<shift>+<enter>)
| |are broken
Status|UNCONFIRMED |NEW

--- Comment #2 from V Stuart Foote <***@utsa.edu> ---
Confirmed on Windows 10 Home 64-bit en-US (1803) with
Version: 6.3.0.0.alpha0+ (x64)
Build ID: beae6c7a7f163daad0d4dea63a3d403af2745fd1
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win;
TinderBox: Win-***@42, Branch:master, Time: 2018-12-07_01:25:50
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

Any line of text inside a paragraph with justified text terminated with
<Shift>+<Enter> stretches full width of paragraph. Including the last line
which should honor settings of the Paragraph Style -> Alignment -> Last line
drop list (Start, Centered, Justified).

The Shift+Enter ending forces a Justified spacing that is too wide.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...