Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Spellcheck dialog, context menu and character attributes | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | thomas.lange | ||||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | ACCEPTED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | issues, stefan.baltzer | ||||||
Version: | OOo 2.0 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
Description
thomas.lange
2005-09-09 13:42:23 UTC
Created attachment 29427 [details]
Sample bug document
TL->OS: Please take over. Thanks! TL->SBA: Target OOo3.0? . I tried to replicate the error by typing the exact same sequence of characters as in SpellCheckAndAttributes.sxw in a new text document. To my surprise the error did not occur. I made sure that all the characters including new line characters in the 2 files are identical and still got the same results. I found something interesting about the problem. In the text given in SpellCheckAndAttribute.sxw the font of the 'space character' immediately before and after 'Thiss' on the 2nd and 3rd lines respectively is different from the rest of the document. This is not explicitly visible as only the font of the 2 spaces are different. To support this: we can place the cursor on the second line right before 'Thiss' and type something. It is going to be typed in the small blue font that the replaced suggestion appears in when the misspelled word on that line is replaced. Similarly we can place the cursor on the 3rd line right after 'Thiss' and type something it is going to be typed in the small pink vertical font the replaced suggestion appears in when the misspelled word on that line is replaced. In other words. Hypothesis: It looks like the real source of the problem is the fact that spell checker, while replacing mis-spelled words, chooses the font of the character immediately before the mis-spelled word for the suggestion. This was tested and the results were supporting the idea. Here's how I tested it. 1- open new text document 2- write 'This is not a big mistaak , a small problem in fact' . 3- Place the cursor before 'mistaak'. 4- change the font to something different and the color to say red and type a space. 5- now place the cursor right after 'big' and press the delete button to delete the extra space from the front of it. The text looks exactly the same as the previous one but if we run the spell checker and replace 'mistaak' with some suggestion, the suggestion is going to be written in the font that we previously chose for the space character. See the 2nd attached file and run the spell checker on it. The lines look identical except for that white space in a different font before 'mistaak'. I performed all the experiments on a kernel 2.4.31 Red Hat machine on ooffice 2. Created attachment 33602 [details]
Displays why the error is caused
The problem is not about the characters. It is about their attributes. Target set to OOo 3.0 Target adjusted move target to 3.x according http://wiki.services.openoffice.org/wiki/Target_3x This malbehavior is still present in OO 3.1. I voted for it and hope that it will be fixed soon. Reset assigne to the default "issues@openoffice.apache.org". |