Version: 18.104.22.168 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
I hope this is not a duplicate. I found a few (fixed) bugs related to erroneous word count (WC) and tracked changes, but those did not match my observations:
When changes are tracked, deleted words are not counted (as expected). However, I experience erroneous word counting when a whole paragraph is deleted:
1) New document
2) Insert this content:
3) Select all -> WC 5
4) Activate track changes
5) Delete the second paragraph. Hide the tracked changes; the document shows:
6) Select all -> WC 5 (Expectation: WC decreased by 2. Behavior: WC unchanged.)
7) Delete " w5"
8) Select all -> WC 4 (Expectation: WC decreased by 1. Behavior: WC decreased by 1.)
I confirm it with
Version: 22.214.171.124 (x64) / LibreOffice Community
Build ID: 2a7ea282da28d665a7dc086360567b4aea27bf08
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
I can't see a consinstence behaviour here and I also think, that word count is completely useless in such a case.
1. Write a sentence with five words
2. Enable record and view track changes
3. Delete that sentence and write a new sentence with three words => WC 8 words
The display shows eight words, but for the author, this is a completely irrelevant information. Either the text has three words (if you accept changes) or it has five word (if you reject changes)
I don't know, if there is a consenus about the expected behaviour, but we chould have one. Personally I can sse two possibilities
a) Word Count has always the result of the document without showing track changes (that's also the expecatation from bug reporter)
b) Word count is disabled, if document shows track changes
I would prefer solution b), because it obvious, that you can't count the words with visible track changes in a helpful way.
cc: Design-Team for further input and decision.
Reported and fixed (Muhammet) with a unit test (Caolan) in bug 46757.
(In reply to Dieter from comment #1)
> a) Word Count has always the result of the document without showing track
> changes (that's also the expecatation from bug reporter)
> b) Word count is disabled, if document shows track changes
And c) Measurement with and without TC, see also bug 123083.
No further opinion (and I don't want to keep it on the agenda for the design meeting). So my take is a) respectively WYPIWYG: Show the actual number of words/characters without TC as if it was printed.
(In reply to Heiko Tietze from comment #3)
> No further opinion (and I don't want to keep it on the agenda for the design
> meeting). So my take is a) respectively WYPIWYG: Show the actual number of
> words/characters without TC as if it was printed.
O. K. for me (I changed bug summary).