Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | AutoCorrect Doesn't Work with Zero-width Space | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | sungkhum <sungkhum> | ||||||||
Component: | editing | Assignee: | AOO issues mailing list <issues> | ||||||||
Status: | CONFIRMED --- | QA Contact: | |||||||||
Severity: | Normal | ||||||||||
Priority: | P5 (lowest) | CC: | buddymatula, delliott2013, keosophy21 | ||||||||
Version: | 4.1.2 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | 4.2.0-dev | ||||||||
Developer Difficulty: | --- | ||||||||||
Attachments: |
|
Description
sungkhum
2016-01-22 06:15:26 UTC
I faced this issue while typing khmer unicode When testing Autocorrect using zero-width spaces in English, the error seems to be the same. In the attached picture, the text shown is "Way wya|wya|wya way", where "|" is a zero-width space and every word shown was entered as "wya". Obviously the middle three "wya"s did not autocorrect, but of greater note is the fact that, although OO treats "wya|wya|wya" as a single word when autocorrecting while typing, it does NOT treat it as a single word when using right click -> [autocorrect options]. The inconsistency is explained below. Steps to reproduce: 1. In English (USA) with an empty document, type "wya wya" -> The normal autocorrect changes it to "Way way". 2. Now type "wya|wya" (where "|" is zero-width space) -> Neither word autocorrects to "way". 3. Right click on either one of the "wya"s in step 2 -> Only one word is highlighted and the "way" option is present. Click it and the word corrects properly, independent of the other beside it. Note that this was reproduced on Windows using the Character Map tool and pasting in a zero-width space, not typing it directly. Created attachment 85295 [details]
English text with zero-width spaces and no autocorrect
Shows the issue reproduced in English.
Created attachment 85296 [details]
Picture showing right click autocorrect options
Created attachment 85297 [details]
Text after autocorrecting using right click
Summary:I was also able to recreate this bug with the same tests and results as in comment #2. I copied and pasted his steps to reproduce below since I used the same exact steps. Version: 4.2.0 AOO420m1(Build:9800) - Rev. 1692551 Specs: OS: Windows 10 64-bit Processor: Intel 17 2600k 3.4 Ghz Graphics Card: Nvidia GTX 770 (2gb VRam) RAM: 8 GB Monitor: Asus 24" Monitor Steps to reproduce: 1. Turn on autocorrect by clicking Format > Auto Correct > While Typing 2. In English (USA) with an empty document, type "wya wya" -> The normal autocorrect changes it to "Way way". 3. Now type "wya|wya" (where "|" is zero-width space) -> Neither word autocorrects to "way". 4. Right click on either one of the "wya"s in step 2 -> Only one word is highlighted and the "way" option is present. Click it and the word corrects properly, independent of the other beside it. |