To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=88510





------- Additional comments from [EMAIL PROTECTED] Thu May  1 14:31:55 +0000 
2008 -------
troodon->fme

> This is done because reading the document statistic is not implemented in the
> current Word filter, which results in a word count = 0 (in contrast to the
> rtf filter).

If the RTF filter reads the statiscs from the document, I assume OOo should give
the same word count as Word for unchanged documents, but OOo gives a different
word count. So, if a word count is not performed, why OOo gives another nubmer?


>If the document is modified and the word count is requested before the
> background word count has finished
> (e.g., by opening the word count dialog or by saving the document), a
> "foreground" word count is started, i.e., you have to wait for the word count
> to finish. You suggest to update the word count for unchanged documents if 
> the user opens the word count dialog. This could mean that the user would have
> to wait quite some time before the result is shown, even if the document
> hasn't been modified and there was a word count stored in the document.

This is a user requested action, so I think the user accepts to wait for it.
Also, what does "quite some time" mean for you? In both Word and WordPerfect the
first word count usually takes just some seconds even for large documents
(+20000 words). And they perform it even for unchanged documents.


> What if the user opens a document and immediately wants to save it again,
> without making any modifications. In this situation, the word count is also
> requested. Should the word count update be forced in this situation, 
> prolonging the save process? I don't think so, in my opinion we should use
> the word count which has been stored in the document, as long as the document
> is unchanged.

No word count requested -> nothing to wait for -> the document can be saved 
as-is.

Word count requested -> wait for word count completion -> update the word count
stored in the document -> only now allow to exit the word count/statistics ->
user requests document saving -> the document can be saved with the new word
count via the normal save procedure.

Also please note that, aside from documents with a wrong word count, different
word processors do the word count in different ways. So if the user requests a
word count in OOo, OOo loads the "old" word count, then the user types 10 words
and requests a new word count, the difference between the updated word count and
the old one can be much larger than 10 words (see the testcase I posted in issue
80815 - there are differences as large as 1000 words!) and that could look very
unconsistent for the user.

>But I agree with you that
> File->Properties->Statistics->Update should trigger a word count for
> unmodified documents. Can we agree upon this?

On this I agree with you :-).

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to