Bug 137687 - Count words and symbols show incorrect after change text
Summary: Count words and symbols show incorrect after change text
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0 all versions
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Word-Count
  Show dependency treegraph
 
Reported: 2020-10-22 19:53 UTC by seven
Modified: 2023-10-13 06:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Image to display place where error I found (49.76 KB, image/png)
2020-10-22 19:55 UTC, seven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seven 2020-10-22 19:53:24 UTC
Description:
When i delete some text I not see update statistic

Steps to Reproduce:
1. Create writer document and write some text in one or two lines
2. Select and delete random text
3. See statistic not updated

Actual Results:
Statistic not updated

Expected Results:
Statistic updated


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.2.2 (x64)
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); ИП: ru-RU
Calc: threaded
Comment 1 seven 2020-10-22 19:55:20 UTC
Created attachment 166644 [details]
Image to display place where error I found
Comment 2 davidjaynewyork 2020-10-30 02:10:08 UTC
Thank you for reporting the bug. I can confirm that the bug is present in

Version: 7.0.3.1
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Mac OS X 10.10.5; UI render: default; VCL: osx
Locale: en-US (en.UTF-8); UI: en-US
Calc: threaded
Comment 3 BogdanB 2020-12-20 21:10:07 UTC
I tested with 
Version: 7.2.0.0.alpha0+
Build ID: e57665ea6f812aff9fc87073ce947f40a8b26e9d
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

It seems it is working.

Please retest it on this version.
Comment 4 QA Administrators 2022-12-21 03:20:14 UTC Comment hidden (obsolete)
Comment 5 Kira Tubo 2023-10-13 06:13:35 UTC
Still reproducible in daily master build. The steps for reproduction are quite specific, at least in my case: 

1. Open Writer
2. Type some text e.g. "We are deleting words in this sentence"
3. Place cursor to the right of any word e.g. after the word "deleting"
4. Use CTRL+SHIFT+LEFT to select the word (note that this selects the word from right to left)
5. Press Backspace

Actual Result: the selected number of words/characters is still displayed: "Selected: x words, x characters". 

Expected Result: displays total number of words/characters remaining in document: "x words, x characters"

Notes: 
- This issue only occurs if the word is selected from right to left. If the word is selected from left to right, then deleted, the total number of words/characters is updated correctly
- After step 5, if the user moves the cursor elsewhere (for example, by moving the arrow keys), the total number of words/characters is displayed correctly

--------------

Reproduced in:

Version 4.0.0.0.beta1 (Build ID: 87906242e87d3ddb2ba9827818f2d1416d80cc7)

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded