Bug 120516 - Word count is starting over and over when typing into a document (causing high CPU usage)
Summary: Word count is starting over and over when typing into a document (causing hig...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest
Depends on:
Blocks: Word-Count
  Show dependency treegraph
 
Reported: 2018-10-11 12:57 UTC by Telesto
Modified: 2019-10-16 11:24 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2018-10-11 12:57:06 UTC
Description:
Word count is starting over and over when typing into a document (causing high CPU usage)

Steps to Reproduce:
1. Open attachment 145608 [details]
2. Start typing at the beginning of the document.. say: "DF" Enter "DF" Enter & monitor CPU usage (and notice the word count starting over and over from the beginning)

Actual Results:
High CPU usage & and restarting word counter

Expected Results:
Lower CPU/no restarting word counter


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 6.2.0.0.alpha0+
Build ID: 87e3539d69626780c6d7531b725dd0d64c69e6d8
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-10-10_06:50:13
Locale: nl-NL (nl_NL); Calc: CL

CPU usage is lower in 4.4.7.2. but word-count issue still already there
Comment 1 Usama 2018-10-12 14:34:42 UTC
I can confirm this on: 

Version: 6.2.0.0.alpha0+
Build ID: 144da6d5079bcd435e6637cb5cf95305f3ec1306
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-10-12_02:13:01
Locale: tr-TR (tr_TR.UTF-8); Calc: threaded

and:

Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial3
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
Locale: en-US (tr_TR.UTF-8); Calc: group
Comment 2 Telesto 2018-10-12 14:46:13 UTC
Repro with
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

but not with 
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

-> Not the word count is way off -> adding bibisect request without "regression" tag
Comment 3 Timur 2019-10-16 11:24:25 UTC
Seems ok in LO 6.4+. 
Word count happens once and than not on changes.
Also CPU is low, and it was 12-13% for LO 6.2.

I'll close. Telesto, if you are in a mood, you may make reverse bibisect.