You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/01/22 07:15:26 UTC

[Issue 126804] New: AutoCorrect Doesn't Work with Zero-width Space

https://bz.apache.org/ooo/show_bug.cgi?id=126804

          Issue ID: 126804
        Issue Type: DEFECT
           Summary: AutoCorrect Doesn't Work with Zero-width Space
           Product: Writer
           Version: 4.1.2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: editing
          Assignee: issues@openoffice.apache.org
          Reporter: sungkhum@gmail.com

In languages such as Khmer (and Thai I believe), a zero-width space (U+200B) is
used between words rather than a real space.
As such, the current code for AutoCorrect does not work with the Khmer
language.

How to duplicate:
Add a replacement for the Khmer language (Tools -> AutoCorrect Options... -
Replace tab: អោយ = ឲ្យ

Then type អោយ​ខ្ញុំ។ (with the zero-width space between អោយ​|ខ្ញុំ

Nothing happens.

Then type អោយ (and a real space after).

It auto-corrects to ឲ្យ

Desired result:
Type អោយ (with a zero-width space after).
It should auto-correct to ឲ្យ

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

David Elliott <de...@my.fit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |delliott2013@my.fit.edu

--- Comment #2 from David Elliott <de...@my.fit.edu> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

--- Comment #4 from David Elliott <de...@my.fit.edu> ---
Created attachment 85296
  --> https://bz.apache.org/ooo/attachment.cgi?id=85296&action=edit
Picture showing right click autocorrect options

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

--- Comment #5 from David Elliott <de...@my.fit.edu> ---
Created attachment 85297
  --> https://bz.apache.org/ooo/attachment.cgi?id=85297&action=edit
Text after autocorrecting using right click

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

Theodore Matula <bu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.2.0-dev
    Confirmation in|                            |

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

Theodore Matula <bu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |buddymatula@gmail.com

--- Comment #6 from Theodore Matula <bu...@gmail.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

keosophy21@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keosophy21@gmail.com

--- Comment #1 from keosophy21@gmail.com ---
I faced this issue while typing khmer unicode

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 126804] AutoCorrect Doesn't Work with Zero-width Space

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126804

--- Comment #3 from David Elliott <de...@my.fit.edu> ---
Created attachment 85295
  --> https://bz.apache.org/ooo/attachment.cgi?id=85295&action=edit
English text with zero-width spaces and no autocorrect

Shows the issue reproduced in English.

-- 
You are receiving this mail because:
You are the assignee for the issue.