Bug 57187 - EDITING: Text is wrong justified when breaking line with shift+enter
Summary: EDITING: Text is wrong justified when breaking line with shift+enter
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.3.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Paragraph
  Show dependency treegraph
 
Reported: 2012-11-16 09:03 UTC by Marcin
Modified: 2018-09-17 09:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
The first paragraph has no line broken with shift+enter, and the second has one (second line) - you may see the difference (but there should not be any) (10.45 KB, application/vnd.oasis.opendocument.text)
2012-11-16 09:03 UTC, Marcin
Details
examples of right and wrong line breaking with shift+enter (482.23 KB, image/jpeg)
2012-11-16 10:52 UTC, Marcin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin 2012-11-16 09:03:22 UTC
Created attachment 70151 [details]
The first paragraph has no line broken with shift+enter, and the second has one (second line) - you may see the difference (but there should not be any)

Problem description: 

Full-justified text is wrong justified when breaking line with shift+enter. Ending space is moved into text column like letter, which makes text right indented.

Steps to reproduce:

1. in any text do a line-break with shift+enter (before word and after a space)

Current behavior:

See: "Problem description" above

Expected behavior:

Line ending space should not be indented...

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (Windows NT 6.1; rv:16.0) Gecko/20100101 Firefox/16.0
Comment 1 Urmas 2012-11-16 10:08:58 UTC
Strange, the space before linebreak goes to RIGHT edge for me, causing a small indent on the RIGHT.
Please post a screenshot and set the platform accordingly.
Comment 2 Marcin 2012-11-16 10:52:34 UTC
Created attachment 70152 [details]
examples of right and wrong line breaking with shift+enter
Comment 3 Marcin 2012-11-16 10:54:31 UTC
(In reply to comment #1)
> Strange, the space before linebreak goes to RIGHT edge for me, causing a
> small indent on the RIGHT.
> Please post a screenshot and set the platform accordingly.
Of course, that's exactly what I wrote... 
See the screenshot (examples from LibreOffice, MS Word and Adobe InDesign): examples of right and wrong line breaking with shift+enter.jpg above
Comment 4 Urmas 2012-11-16 13:14:55 UTC
Confirmed in 3.7.0.
Comment 5 QA Administrators 2015-01-05 17:51:17 UTC Comment hidden (obsolete)
Comment 6 Marcin 2015-01-05 18:13:23 UTC
Confirmed as still existing in 4.3.5.2
Comment 7 Buovjaga 2015-01-29 11:36:57 UTC
Marcin: I noticed that if I delete your linebreak and insert a new one, the problem is not observed.

Can you try reproducing from scratch? Thanks.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 784d069cc1d9f1d6e6a4e543a278376ab483d1eb
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-25_23:07:36
Comment 8 Marcin 2015-01-29 17:37:11 UTC
(In reply to Beluga from comment #7)
> Marcin: I noticed that if I delete your linebreak and insert a new one, the
> problem is not observed.
> 
> Can you try reproducing from scratch? Thanks.
> 
> Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+

OK, I tried.
I still confirm this bug as existing in LO 4.3.5.2.
I also confirm it as existing in LO 4.4.0.3 (just upgraded from 4.3.5.2).

BUt

(1) to say the truth, line with linebreak should be displayed properly (or not) without any action, so maybe you've deleted linebreak space also and then add just linebreak?

(2) your version is 4.5... Perhaps that's the reason...?
Comment 9 Buovjaga 2015-01-29 17:42:50 UTC
Excuse me, I did not read the description carefully enough. I deleted the space also.

I can reproduce with the space before line-break.
Comment 10 QA Administrators 2016-02-21 08:35:05 UTC Comment hidden (obsolete)
Comment 11 Marcin 2016-02-21 13:35:36 UTC
Bug still present
v5.1.0 x64

I'm almost sure it is bug which was present in earliest versions of OpenOffice also. So it could get "Inherited from OOo" - I'll try to check it tomorrow.
Comment 12 QA Administrators 2017-03-06 15:08:18 UTC Comment hidden (obsolete)
Comment 13 Marcin 2017-03-07 10:31:32 UTC
v5.2.5.1 - bug still present
v5.3.0.3 - bug still present
Comment 14 QA Administrators 2018-09-17 02:46:11 UTC Comment hidden (obsolete)
Comment 15 Marcin 2018-09-17 09:50:32 UTC
Wersja: 6.1.0.3 (x64)
Build ID: efb621ed25068d70781dc026f7e9c5187a4decd1
Wątki CPU: 4; OS:Windows 10.0; UI render:domyślny; 
Ustawienia regionalne: pl-PL (pl_PL); Calc: group threaded