Issue 103446 - Aqua: line-breaking fails so words run over the right-hand border
Summary: Aqua: line-breaking fails so words run over the right-hand border
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 3.1
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: aqua
Depends on:
Blocks:
 
Reported: 2009-07-09 20:33 UTC by therealorion
Modified: 2013-08-07 14:43 UTC (History)
4 users (show)

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


Attachments
italicised phrase (page 2) runs into the margin (14.50 KB, text/plain)
2009-07-09 20:33 UTC, therealorion
no flags Details
screenshot excerpt (24.92 KB, image/png)
2009-07-10 13:31 UTC, hdu@apache.org
no flags Details
screen shot of word running across the border (partial "U" visible) (348.09 KB, image/tiff)
2009-07-10 17:43 UTC, therealorion
no flags Details
reproduced problem in .odt file (14.50 KB, application/vnd.oasis.opendocument.text)
2009-07-10 17:44 UTC, therealorion
no flags Details
minimal bugdoc (13.53 KB, application/vnd.oasis.opendocument.text)
2009-07-13 14:02 UTC, hdu@apache.org
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description therealorion 2009-07-09 20:33:03 UTC
When phrases (of more than one word) wrap around the right-hand border, on
occasion all but the last word runs off into the margin. If I unitalicise the
phrase, the proper formatting reasserts itself. If I reitalicise the words run
into the margin again. However, if I italicise the whole phrase *and* the
previous blank space, then the phrase stays italicised and the proper formatting
reasserts. I have had this problem in multiple documents over several months.
Comment 1 therealorion 2009-07-09 20:33:35 UTC
Created attachment 63455 [details]
italicised phrase (page 2) runs into the margin
Comment 2 therealorion 2009-07-09 20:41:23 UTC
And I've just discovered an example of a single word doing the same thing, but
when that single word is un-italicised and then re-italicised, the proper
formatting once again reasserts itself. This is a weird, weird issue. 
Comment 3 Rainer Bielefeld 2009-07-10 10:43:18 UTC
I checked with "Ooo 3.1.0 WIN XP multilingual version German UI activated 
[OOO310m11 (Build 9399)]" and can NOT confirm the reported effect.

MAC specific?

@therealorion:
Pls. attach a screenshot!
Comment 4 michael.ruess 2009-07-10 11:14:50 UTC
Can confitm this, it is really MAC specific.

MRU->HDU: on page two, you can see a n italic word ("Utopia") running over the
right text border.
Comment 5 hdu@apache.org 2009-07-10 11:54:56 UTC
On page two I see the word Utopia but it is nowhere near the page margin. Would it be much of a bother 
to attach a screenshot excerpt where the problem can be seen? I deeply apologize if this causes anyone 
any inconvenience.
Comment 6 hdu@apache.org 2009-07-10 13:31:36 UTC
Created attachment 63460 [details]
screenshot excerpt
Comment 7 hdu@apache.org 2009-07-10 13:36:22 UTC
Reproducible on OOO310, but not on DEV300_m49 or DEV300_m52. Please confirm or even better isolate 
the CWS or milestone that fixed it.

This issue seems to be a duplicate to something that has been fixed in the meantime. I'm quite sure the 
duplicate issue is a Writer issue, as the cursor traveling works fine, which means that Writer got the correct 
metrics from GSL.
Comment 8 michael.ruess 2009-07-10 15:35:41 UTC
MRU->HDU: I tested this with 300m51 and m52. Both showed the described problem.
What's difference between our Macmini and yours?
Comment 9 therealorion 2009-07-10 17:41:55 UTC
The formatting of my sample file got changed somehow. I've reproduced the
problem with a new .odt file and I've taken a screen grab. My apologies for the
screw-up on the first one. 
Comment 10 therealorion 2009-07-10 17:43:26 UTC
Created attachment 63464 [details]
screen shot of word running across the border (partial "U" visible)
Comment 11 therealorion 2009-07-10 17:44:09 UTC
Created attachment 63465 [details]
reproduced problem in .odt file
Comment 12 hdu@apache.org 2009-07-13 14:01:38 UTC
Found it: when a text line is exactly as wide as the page then Writer still asks whether the next portion 
would also fit into the remaining zero-width space. Of course this is not the case. The OOo Aqua's text 
measurement code didn't expect such a stupid request. Anyway the fix is simple enough for OOo3.2.
Comment 13 hdu@apache.org 2009-07-13 14:02:35 UTC
Created attachment 63513 [details]
minimal bugdoc
Comment 14 hdu@apache.org 2009-07-14 08:04:50 UTC
Fixed in CWS vcl104.
Comment 15 hdu@apache.org 2009-07-20 15:45:28 UTC
Also fixed in CWS ooo311gsl06.
Comment 16 hdu@apache.org 2009-07-22 09:52:35 UTC
@hi: please verify in CWS ooo311gsl06
Comment 17 h.ilter 2009-07-23 14:03:36 UTC
Verified with cws ooo311gsl06 = ok
Comment 18 thorsten.ziehm 2010-06-07 11:49:11 UTC
This issue is closed automatically. It is in state 'verified/fixed' since 2
releases (OOo 3.1.1 and OOo 3.2). The policy [1] indicates that such older
issues should be closed.

If this issue still occur in a current build (OOo 3.2.1 or >DEV300m80) please
reopen the issue and set the target accordingly.

[1] : http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues