Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Autocomplete display double character for this word [CTL / Thai] | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | samphan | ||||||
Component: | editing | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | CONFIRMED --- | QA Contact: | |||||||
Severity: | Trivial | ||||||||
Priority: | P4 | CC: | arthit, hdu, hin.stone, issues, jjc, markpeak, pocha, samphan, sirapat, suparoek | ||||||
Version: | OOo 2.2 | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Windows XP | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | |||||||||
Issue Blocks: | 41707, 92549 | ||||||||
Attachments: |
|
Description
samphan
2007-10-02 10:11:05 UTC
Created attachment 48645 [details]
Text after autocomplete should look like this.
Created attachment 48647 [details]
Incorrect real result, before and after pressing ENTER
Please note that, AFAIK, this only happen for this particular word 'มิถุนายน'. Reassigned to SBA SBA: If this happens only to this particular word, then this issue should be Prio 4. -> Changed. Reassigned to HDU. @fme: I suggest to autocomplete only at cell boundaries. Splitting cells into different portions is not supported. I find more test cases for this bug A) switching font style inside a cluster Step to reproduce :- 1.Open OpenOffice.org Writer 2.Switch keyboard to Thai 3.Type the character “ก” (by pressing “d”) 4.Then change font style, e.g. Bold or Italic 5.Type the character “ ิ” (by pressing “b”) B) add a non-base character in record change mode Step to reproduce :- 1.Open OpenOffice.org Writer 2.Type some word in Thai 3.Choose Edit > Changes > Record 4.Type the character “ ่” (by pressing “j”) This problem occurs when some text is splitted into 2 runs. if a non-spacing vowel mark (e.g. ุ) is placed at the first character of the second run, the text will be displayed overlap. But the problem will occur in the first (regarding position in the document) autocompleted word in a document. I've pasted 2 snipplets of content.xml to show examples:- A: Western autocomplete case: <text:p text:style-name="Standard">January</text:p><text:p text:style-name="Standard">february</text:p> B1: Thai autocomplete case with overlapped text: <text:p text:style-name="Standard">มิถ<text:span text:style-name="T1"> ุนายน</text:span></text:p><text:p text:style-name="Standard"><text:span text:style-name="T1">มิถุนายน</text:span></text:p> B2: Thai autocomplete case without problem: <text:p text:style-name="Standard">กรก<text:span text:style-name="T1"> ฎาคม</text:span></text:p><text:p text:style-name="Standard"><text:span text:style-name="T1">สิงหาคม</text:span></text:p> You will see that, in case B1 and B2, the first autocompleted word (e.g. "มิถุนายน") is splitted before the vowel mark (ุ). But in the second autocompleted word (e.g. "มิถุนายน"), the entire autocompleted word is placed in the text:span element. OOo seems not to be able to display non-spacing mark at the begining of a text run so that's why the text is displayed overlapped. Note that the splitted autocompleted word always happend if you insert the word before any other autocompleted word. That is, it happend only for the first occurance of such autocompleted words. My questions are: 1) the text:style-name="T1" is used in Thai (or every CTL?) autocomplete case but not in Western case. What's it for? 2) I guess the <text:span text:style-name="T1"> element should actually span the whole autocompleted word like this <text:span text:style-name="T1"> มิถุนายน</text:span>, right? I move the case in the comment #8 to a new issue http://qa.openoffice.org/issues/show_bug.cgi?id=116087 |