Bug 154967 - Inserting a manual line break forces ridiculous margin justification
Summary: Inserting a manual line break forces ridiculous margin justification
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2023-04-23 02:35 UTC by Neal Murphy
Modified: 2023-04-23 22:04 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neal Murphy 2023-04-23 02:35:39 UTC
Description:
When typing a paragraph, there are times when I want to enter a line break without starting a new paragraph. For example, suppose I am entering a list item and I want the first line of the item to be its 'title'. I type <SHIFT><RETURN> to start a new line in the same paragraph. The previous line is justified even if it contains *two* words. I seem to recall that previous versions did not force this justification.

Steps to Reproduce:
1. Open a new writer doc.
2. Click the 'justified' icon in the toolbar.
3. Type "Lorem ipsum<shift><return>dolor sit amet, consectetur adipiscing elit".

Actual Results:
The word 'Lorem' is left-justified. The word 'ipsum' is right-justified. The remaining text is left justified as expected.

Expected Results:
The software should treat the 'short' line the same as the last line of a paragraph: probably left-justified for LTR text or right-justified for RTL text.


Reproducible: Always


User Profile Reset: No

Additional Info:
This is on Debian Bullseye; yes, it's an older version of LO.
Comment 1 Ezinne 2023-04-23 16:31:32 UTC
Reproducible in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4a0d671706306661c4a5072ce4769dc47bc65f71
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 ⁨خالد حسني⁩ 2023-04-23 22:04:45 UTC
I believe that is by design, but see https://ask.libreoffice.org/t/justified-text-and-forced-line-breaks/45609/2 for a solution.