Issue 46054 - messed-up word-break for latin text with non-breaking-space in RTL paragraphs (individual letters moved to next line)
Summary: messed-up word-break for latin text with non-breaking-space in RTL paragraphs...
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: oooqa
Depends on:
Reported: 2005-03-26 11:20 UTC by florincoter
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

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

the file in OO format. (35.07 KB, application/vnd.sun.xml.writer)
2005-03-26 11:22 UTC, florincoter
no flags Details
nbrk spc test case, explanations inside the doc. (8.66 KB, application/vnd.sun.xml.writer)
2005-03-27 18:34 UTC, florincoter
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description florincoter 2005-03-26 11:20:53 UTC
A mixed Hebrew and English document.
Insert an English phrase with non breakable spaces (Ctrl Space) into a Hebrew
paragraph will break across lines.

Comment 1 florincoter 2005-03-26 11:22:03 UTC
Created attachment 24288 [details]
the file in OO format.
Comment 2 lohmaier 2005-03-26 11:38:53 UTC
Thank you for not telling us where to find the space in that document. We all
love to waste time identifying the problem and train our mind-reading skills.

Try again.
(Tell us where in the document we will find the non-breaking space. E.g. "on
page three, in the box captioned with 'DUDAIM (The)', third line")
Comment 3 lohmaier 2005-03-26 14:13:09 UTC
>1. I do not know how to add comments directly to the Issue, on the web site.
>This is why I write to your email.

Log in, visit the url given in the notifiction mail you get
( write your commen into
the box labeled with "additional comments" and click the button "submit".

> 3. I did not tell you abut the place in the document because there are many
> of them. I did (how wrong on my part) assume that you can make a search for
> the non breake place or character in the document. Any way, Look for the
> word Reason and see the wrong formatting and numbering and etc. in the
> paragraph. Because every time I open the document, the format changes, I
> cannot give more indication than this.

We can search for the character, but there needs to be the character.
There are no non-breaking spaces around "Reason"
Furthermoe the document seams to be broken/there are other problems with the
document that hide the passages.

> 4. If I were your employer I would have fired you for loving to waste time.
> As to the mind reading skils, indeed you need some training. I sugest
> strating with your own unpolite, to say the least, mind.

OK, this shows that you don't have a sense for sarkasm. Sorry.

Please provide a screenshot of what you see and please explain how this document
was generated.
Comment 4 eric.savary 2005-03-27 15:10:14 UTC
->florincoter: please also try to reproduce it with a simple 2-lines document,
indicating step by step where to add the space.
Comment 5 florincoter 2005-03-27 18:34:42 UTC
Created attachment 24315 [details]
nbrk spc test case, explanations inside the doc.
Comment 6 florincoter 2005-03-27 18:38:39 UTC
Explanation in the documentnbsp 1.odt (5lines?)

one line paragraph rtl before problem
two lines paragraph rtl with the problem
two lines paragraph ltr where there is no problem.

Comment 7 lohmaier 2005-03-27 20:01:04 UTC
With the new document this is perfectly reproducible. (linux, m88, therefore OS
to ALL, Platform to ALL)

But it is not the non-breaking space that behaves wrong. (if the NBSP would not
be respected, the result would be "sdfgh dfdfghdfh" on one line and "dfhjdfj" on
the other line (as if you would replace the non-breaking space with a regular one).

The problem is that the individual latin letters "word-wrap" at the line-end
when a non-breaking space is used. Therefore I reworded the summary to describe
the problem more exactly - although now it is a bit long..

original summary:  "breakable space breaks"

I suggest raising Prio to P2 / fix at least for 2.0.1
Comment 8 eric.savary 2005-03-28 14:23:19 UTC
I'd rather leave it as P3 but, yes, set the target to 2.0.1 (was already there
in OOo 1.1.4)
Comment 9 frank.meies 2005-05-11 12:44:51 UTC
Analysis: In general, non-breakable space works within mixed direction text. A
problem occurs if there is no other break possibility before the non-breakable
space *in* the bidi portion. In this case, the line break has to be at the
border of the RTL and the LTR text.
Comment 10 andreas.martens 2005-05-25 13:21:46 UTC
Considering the effort, the priority, the risk and our resource planning I've to
retarget this issue to OOo Later.