Bug 50780 - Word Count counts comments
Summary: Word Count counts comments
Status: RESOLVED DUPLICATE of bug 32773
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Word-Count
  Show dependency treegraph
 
Reported: 2012-06-06 04:21 UTC by Stefan Knorr (astron)
Modified: 2016-10-24 21:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file to demonstrate Word Count counting comments (9.00 KB, application/vnd.oasis.opendocument.text)
2012-06-06 04:21 UTC, Stefan Knorr (astron)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Knorr (astron) 2012-06-06 04:21:22 UTC
Created attachment 62666 [details]
Example file to demonstrate Word Count counting comments

The Word Count window counts comments as one-character words (this also means that comments separate words, just like " " does).

Expected: comments should not be counted at all and should not separate words.

How to reproduce:
1 Start a new Writer document
2 Go to Insert > Comment to add a new comment
3 Go to Tools > Word Count

Observe that the Word Count window now shows the following:

Whole document ------
Words: 1
Characters: 1
Characters excluding spaces: 1

Even though there only is a comment in the window.

(The example attached also demonstrates that the line ending is _not_ counted, since it contains two comments + one legitimate character which Word Count shows as 3 words/3 characters.)


Reproducible with:
* LibreOffice 3.5.4, x86-64, Linux
* LibreOffice 3.6 a1+, x86-64, Linux
Comment 1 bfoman (inactive) 2012-06-22 03:30:27 UTC
Confirmed with:
LO 3.5.4.2 
Build ID: own W7 debug build
Windows 7 Professional SP
Comment 2 Stefan Knorr (astron) 2012-06-28 02:02:50 UTC
Resolving this as a duplicate since clearly these are two symptoms of the same bug.

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