Bug 101366

Summary: The word count might be flawed
Product: LibreOffice Reporter: Jonathan Camilleri <camilleri.jon>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal    
Priority: medium    
Version: 5.1.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103479    
Attachments: attachment in docx format compatible with microsoft office
document in odt format
pdf file from website

Description Jonathan Camilleri 2016-08-07 12:18:29 UTC
Created attachment 126641 [details]
attachment in docx format compatible with microsoft office

I am not sure which word count is flawed, whether it is the one at https://www.whitehouse.gov/contact#forall-iframe-embed-2, or the one in the attached document.

Who is going to take care of the communication as they might mistake me for a hacker, please?
Comment 1 Jonathan Camilleri 2016-08-07 12:19:35 UTC
Created attachment 126642 [details]
document in odt format

Tools > Word Count to count the words and other statistical information
Comment 2 Jonathan Camilleri 2016-08-07 12:20:04 UTC
Created attachment 126643 [details]
pdf file from website
Comment 3 Thomas Hackert 2016-08-07 13:20:11 UTC
Hello Jonathan, *,
what do you mean with "flawed" in the bug's title? On my system with

OS: Debian Testing AMD64
LO: Version: 5.1.5.2
Build ID: 1:5.1.5~rc2-1
CPU Threads: 4; OS Version: Linux 4.5; UI Render: GL; 
Locale: de-DE (de_DE.UTF-8); Calc: group
(Debian's own version)

but also several parallel installed versions (following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux) back to

LO: Version: 5.0.4.2
Build-ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Gebietsschema: de-DE (de_DE.UTF-8)

just show zeros instead of the number of words, characters and all other entries ... :( Are you sure that this has worked for you in older versions of LO? Which operating system (version and architecture) are you using? If you could answer this to  this bug, I would change its title and the oldest version, with which this bug is reproducible. The last one where word count worked (from the parallel installed versions which I tested so far) is 

Version: 5.0.0.5
Build-ID: 437e4abdf9e72fd0a6e6f8697a0e659bc77f9b10
Gebietsschema: de-DE (de_DE.UTF-8)

... It would be nice, if you could answer my question, so we could find hopefully a dev who could fix this bug ... ;)

I will set the status to "Needinfo". After answering my questions, feel free to change it to either "Unconfirmed" or "New" ... ;)
Have a nice afternoon
Thomas.
Comment 4 MM 2016-08-07 13:43:45 UTC
Well the word count bug after loading docx was fixed in v5.2, but not in v5.1. See bug 94570.
Comment 5 Jonathan Camilleri 2016-08-07 15:21:15 UTC
Well let's start with the definition of a 'word', is it one that is separated by a space?
Comment 6 QA Administrators 2017-05-02 11:37:41 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2017-05-31 10:47:19 UTC Comment hidden (obsolete)