Bug 69941

Summary: Select Word Count Off By 1
Product: LibreOffice Reporter: Joel Madero <jmadero.dev>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: trivial CC: gdna, jmadero.dev
Priority: low    
Version: 4.0.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103479    
Attachments: Document Showing Word Count Problem

Description Joel Madero 2013-09-29 21:15:06 UTC
Created attachment 86819 [details]
Document Showing Word Count Problem

Hi All,

It appears like the selection word count is off by one. I'm not sure at what point it's being triggered so I included a test document. 

To Reproduce:
1. open document
2. Ctrl + a

Compare word count of entire document to selected (they should presumably be the same since everything is selected) but they are not, the selected word count is one less than the page word count.
Comment 1 Nikos 2013-09-30 10:06:44 UTC
I am seeing this too on LibreOffice 4.1.2.3
Comment 2 Nikos 2013-09-30 10:12:22 UTC
Ok, the difference in the word count is the page numbering, which is counted as 1 for the total count, but is not selected. I would trust the selection counter more, since normally you would not consider the page number or titles displayed in the header - footer as words.
Comment 3 Jorendc 2013-10-03 20:54:07 UTC
Hi Joel,

THIS IS SPARTA!! Oh wait, I mean a dupe ;-)

Especially see comment 4 of bug 61530 https://bugs.freedesktop.org/show_bug.cgi?id=61530#c4

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