Bug 158378

Summary: Word count don't update when select text by moving Shift and Arrow on keyboard in Chinese.
Product: LibreOffice Reporter: rdliu6
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: stephane.guillou
Priority: medium    
Version: 7.5.7.1 release   
Hardware: ARM   
OS: macOS (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description rdliu6 2023-11-26 17:02:26 UTC
Description:
Language: Chinese
Problem module: word count

Detail:
There was two ways to change selected text range. One is with Shift pressing and click another place by mouse, another is with Shift pressing and move the cursor by pressing the Arrow key. When use the second way to change selected text, I found the word count won't update, the first one work fine. And this problem only occur in Chinese text editing, English is work fine.

Steps to Reproduce:
1. Select any text.
2. Change selected text by pressing Shift and Arrow.

Actual Results:
Word count don't update.

Expected Results:
Work count update when changing text selected.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.7.1 (AARCH64) / LibreOffice Community
Build ID: 47eb0cf7efbacdee9b19ae25d6752381ede23126
CPU threads: 8; OS: Mac OS X 14.1.1; UI render: default; VCL: osx
Locale: zh-CN (en_CN.UTF-8); UI: zh-CN
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2023-12-11 22:59:08 UTC
Thank you for the report!
I think this is a duplicate of bug 98889, but it is more noticeable for Chinese because of the lack of spaces.

*** This bug has been marked as a duplicate of bug 98889 ***