Issue 42621 - Line break (Shift-Return) breaks line justification
Summary: Line break (Shift-Return) breaks line justification
Status: CLOSED DUPLICATE of issue 13507
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 1.1.4
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-12 17:37 UTC by laserjones
Modified: 2005-02-14 07:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description laserjones 2005-02-12 17:37:18 UTC
As far as I understand, a line break (Shift-Return) should do nothing but break
the line, unlike a paragraph break (Return), which also ends the paragraph.
However, when I press Shift-Return within a justified paragraph (which is useful
in some cases to force certain words or characters to be wrapped into the next
line), the line that is ended by the break is no longer justified, but
left-aligned as if it was the last line of the paragraph. I think it should
rather work like in MS Word, where the line remains justified (i.e. the words
remaining in the line are stretched a bit more so they fill the entire line again).

One example for a text where a line break within a paragraph is required:

  The configuration file can be found under /
  etc/mail/exim.conf.

This is what it should look like:

  The configuration file can be found under 
  /etc/mail/exim.conf.

OO Writer treats the "/" character as a word separator, causing it to wrap the
path name "/etc/mail/exim.conf", so the first "/" stays in the previous line,
which is of course unacceptable. So the solution would normally be to enter a
Shift-Return before the first "/" to force it into the next line. But in OO
Writer, this will cause the first line to be left-aligned, breaking the
appearance of the paragraph (if it's justified).

I think this issue can be fixed rather easily.
Comment 1 michael.ruess 2005-02-14 07:51:24 UTC
Behaviour changed for OO 2.0, see issue 13507.

*** This issue has been marked as a duplicate of 13507 ***
Comment 2 michael.ruess 2005-02-14 07:52:21 UTC
closing duplicate.