Issue 89789 - Aqua: GetTextBreak returns unexpected result at the end of a line
Summary: Aqua: GetTextBreak returns unexpected result at the end of a line
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.0
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.0
Assignee: eric.savary
QA Contact: issues@gsl
URL:
Keywords: aqua
: 87530 89576 90196 90215 90276 (view as issue list)
Depends on:
Blocks:
 
Reported: 2008-05-22 13:34 UTC by hdu@apache.org
Modified: 2009-07-20 14:54 UTC (History)
3 users (show)

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


Attachments
minimal bugdoc (11.93 KB, application/vnd.oasis.opendocument.text)
2008-05-22 13:40 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 hdu@apache.org 2008-05-22 13:35:17 UTC
Reproduction:
- create a new Writer document
- add a mix of letters and spaces to a line
=> in some situations adding a space at the end of the line text doesn't advance the cursor position
Comment 1 hdu@apache.org 2008-05-22 13:40:39 UTC
Created attachment 53853 [details]
minimal bugdoc
Comment 2 hdu@apache.org 2008-05-22 14:01:48 UTC
Debugging into Writer's guess.cxx showed that there is the assumption that OutputDevice::GetTextBreak() 
is expected to return only indices within the string or STRING_LEN, but not a the string bounds. The 
corresponding ATSU methods think differently.

Fixed in CWS aquavcl08 (thanks AMA!)
Comment 3 hdu@apache.org 2008-05-22 14:02:32 UTC
Debugging into Writer's guess.cxx showed that there is the assumption that OutputDevice::GetTextBreak() 
returns only indices within the string or STRING_LEN, but not at the string bounds. The corresponding 
ATSU methods think differently.

Fixed in CWS aquavcl08 (thanks AMA!)
Comment 4 hdu@apache.org 2008-06-02 07:44:04 UTC
*** Issue 90215 has been marked as a duplicate of this issue. ***
Comment 5 hdu@apache.org 2008-06-02 07:45:46 UTC
*** Issue 90196 has been marked as a duplicate of this issue. ***
Comment 6 hdu@apache.org 2008-06-02 11:42:45 UTC
*** Issue 87530 has been marked as a duplicate of this issue. ***
Comment 7 hdu@apache.org 2008-06-03 09:36:15 UTC
Adjusting subject line to account for the many other issues with the same root cause (e.g. 90276)
Comment 8 andreas.martens 2008-06-03 09:37:57 UTC
*** Issue 90276 has been marked as a duplicate of this issue. ***
Comment 9 eric.savary 2008-06-12 13:06:11 UTC
*** Issue 89576 has been marked as a duplicate of this issue. ***
Comment 10 hdu@apache.org 2008-06-26 08:56:01 UTC
@es: please verify in CWS aquavcl08
Comment 11 hdu@apache.org 2008-06-26 10:40:56 UTC
reassign for verification
Comment 12 eric.savary 2008-06-30 15:19:33 UTC
Verified in CWS aquavcl08

Comment 13 thorsten.ziehm 2009-07-20 14:54:02 UTC
This issue is closed automatically and wasn't rechecked in a current version of
OOo. The fixed issue should be integrated in OOo since more than half a year. If
you think this issue isn't fixed in a current version (OOo 3.1), please reopen
it and change the field 'Target Milestone' accordingly.

If you want to download a current version of OOo =>
http://download.openoffice.org/index.html
If you want to know more about the handling of fixed/verified issues =>
http://wiki.services.openoffice.org/wiki/Handle_fixed_verified_issues