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

            Bug ID: 143161
           Summary: Spurious spell-checking red wavy line for Chinese text
           Product: LibreOffice
           Version: 7.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: regression
          Severity: minor
          Priority: medium
         Component: Linguistic
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ming.v....@qq.com
                CC: so...@libreoffice.org
            Blocks: 96000

Created attachment 173316
  --> https://bugs.documentfoundation.org/attachment.cgi?id=173316&action=edit
Sample file with multiple lines of Chinese text in one cell

In 7.1 versions or higher, when a spreadsheet cell contains multiple lines of
Chinese text and auto-spellchecking option is on, all the text in the
multi-line cell is labelled as wrongly spelled, i.e., the red wavy underline.

Steps to Reproduce:
1. Open attached sample file;
2. Make sure auto-spellchecking is enabled, for example Tools > Automatic Spell
Checking... menu entry;
3. Observe that all text in cell B2 is labelled as wrongly spelled, despite
that it's all Chinese, and LibreOffice doesn't have any spellchecking
dictionary for Chinese (zh-CN or zh-TW).

Expected Result:
No red wavy line for Chinese text, just like the single line text in cell B1.

Additional Information:

I.
Reproduced with both 7.1.4 and 7.2 Beta1:
Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: threaded
and
Version: 7.2.0.0.beta1 (x64) / LibreOffice Community
Build ID: c6974f7afec4cd5195617ae48c6ef9aacfe85ddd
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded

But not reproduced (neither B1 or B2 has red wavy underline) with 7.0.6:
Version: 7.0.6.2 (x64)
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 2; OS: Windows 10.0 Build 19041; UI render: default; VCL: win
Locale: zh-CN (zh_CN); UI: en-US
Calc: threaded

Therefore tagged as regression.

II.
Also note that when cell B1 or B2 is focused, the status bar show their
language status as "English (USA)", which as I understand is related to
spellchecking.  This is despite that I've explicitly set their language as
"Chinese (simplified)" (zh-CN) in the Format > Cells... dialog.  The bug also
existed when the cells had "Default" (which is just zh-CN on my system)
language setting before I explicitly set them.

However, in 7.0.6 both cells also show "English (USA)" language in status bar,
yet it doesn't seem to affect spellchecking result.

III.
Another curiosity is that when the multi-line B2 cell is selected, the font
selection box on the toolbar is empty, as if the selected cell contains both
English and Chinese text.  For comparison, when B1 cell is selected, the font
selection box shows the CJK font, "思源黑体" (Chinese name for Noto Sans CJK/Source
Sans Han) in my case.

This is also true for 7.0.6, though.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=96000
[Bug 96000] [META] Spelling and grammar checking bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to