https://bugs.documentfoundation.org/show_bug.cgi?id=96369

            Bug ID: 96369
           Summary: ordinal numbers suffixes autocorrect replacements
                    triggered in between words (Italian only)
           Product: LibreOffice
           Version: 3.4.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Linguistic
          Assignee: [email protected]
          Reporter: [email protected]

tested under Win8.1 64bit but reproducible under WinXP 32bit and Win7 64bit

issue can be reproduced from at least LibO 3.4.3 till current 5.2.0.0 alpha
release

bug is not reproducible with LibO 3.3.4 and is not present in AOO 4.4.0
so it's a LibO 3.4.x regression

STEPS TO REPRODICE
1- Tools/AutoCorrect Options/Localized Options
put the tick on “Format ordinal numbers suffixes (1st -> 1^st)

2- change document language language to Italian

3- simply type 5a or 5o; the autocorrect engine will correctly replace them as
5a and 5o 

4- imagine the user wants to type the italian word “testa” (head) but does a
typing error and digits tes5a (a common typing error because of the proximity
of the “5” and “t” keys); the autocorrect engine kicks in and replace it as 
tes5a

if you untick the option, no replacement happens 

EXPECTED BEHAVIOUR
ordinal numbers suffixes autocorrect replacement should kick in only after
“discrete numbers” (i.e.  5a → 5a ; 25a → 25a etc. etc) but not in mixed
letters and numbers sequences like tes5a.

I'd expect that when I type tes5a no replacement should happen, the word should
then be recognized as an error and tagged with a red squiggly underline 

then the user can set an automatic autocorrect replacement using the right
click autocorrect suggestions menu (

interestingly I see this bug with Italian only 

in English if I type 3rd it's correctly replaced as 3rd 
but if I type n3rd, unlike Italian, it's not corrected as n3rd

maybe the difference bis that in Italian you need a single letter to trigger
the ordinal suffixes thing ( 5a →  5a) while in English it's a two digits
trigger (3rd → 3rd )

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to