<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Spurious spell-checking red wavy line for Chinese text"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143161">143161</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Spurious spell-checking red wavy line for Chinese text
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>7.1.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Linguistic
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ming.v.hua@qq.com
</td>
</tr>
<tr>
<th>CC</th>
<td>sophi@libreoffice.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>96000
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=173316" name="attach_173316" title="Sample file with multiple lines of Chinese text in one cell">attachment 173316</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=173316&action=edit" title="Sample file with multiple lines of Chinese text in one cell">[details]</a></span>
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.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Spelling and grammar checking bugs and enhancements"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=96000">Bug 96000</a>] [META] Spelling and grammar checking bugs and enhancements
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>