Students (a significant portion of LibreOffice users, I would expect) are often expected to write papers based on either a maximum amount of pages or a minimum/maximum word count. It is also possible that other users (journalists? writers?) write based on word count. Thus, it would be very beneficial for many users to be able to see the word count at all times in Writer's status bar, alongside the (already present) pages count. The status bar seems to have plenty of space left for this feature.
It's a duplicate of this bug in OpenOffice.org's bugzilla: http://openoffice.org/bugzilla/show_bug.cgi?id=41454 I hope this will be fixed in the next major release, it's a fundamental functionality IMHO.
I'd like to add my support for the inclusion of this feature which is required by writers of all persuasions. Including, but by no means limited to, authors, journalists, students, technical writers, speech writers, policy writers and, well, just about any kind of word smith you can think of. We've been waiting for it for more than six years in OpenOffice.org, with no end in sight, surely LibreOffice can succeed where OpenOffice.org and StarOffice have clearly failed.
I also support this. It's hard to write a thousand word essay when you don't know if you've reached a thousand words yet.
[This is an automated message.] This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it started right out as NEW without ever being explicitly confirmed. The bug is changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases. Details on how to test the 3.5.0 beta1 can be found at: http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1 more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
At this time requested functionality exist in Tools->Word count. Appears standalone (unmodal) window which indicates word count in real time. What about status bar: it my be placed in left corned after page number/count. But then appears some problem: 1) if screen is small (pocket comp), then it can not fit there 2) if document is big, it my take much time to re-count words each time 3) users my confuse page number/count with word count
> 1) if screen is small (pocket comp), then it can not fit there There already is a status bar, which is mostly empty. It's not going to take any more space because it's just filling horizontal space. And I don't expect a desktop gui to fit in something like 200 pixels without having a dedicated "mobile" UI, that's being unreasonable. > 2) if document is big, it my take much time to re-count words each time It takes a fraction of the second to do it currently. It might already store that statistic in the file, I don't know. And at runtime, it's just a counter to increment/decrement. No performance hit at all if you do it in a smart way. > 3) users my confuse page number/count with word count What exactly is confusing with "Page 7/32 3948 words" in the statusbar? Seriously?
I'm working on a patch to add word count to the status bar.
*** Bug 46126 has been marked as a duplicate of this bug. ***
*** Bug 49984 has been marked as a duplicate of this bug. ***
It should also display the number of words in selected text(eg. 25/100 words if selection contains 25 words)
Created attachment 61962 [details] Proposed patch. I'll post a link to the patch review thread on the developers mailing list shortly. I'm also pursuing guidance on how to properly update help with content for the new control, but that probably won't block this patch from getting in first once approved.
Created attachment 61963 [details] First stab at updating help content. Incomplete.
Developer review thread for those interested: http://nabble.documentfoundation.org/PATCH-fdo-34772-Word-count-statistics-in-the-status-bar-td3985352.html
Created attachment 62063 [details] Followup patch. Followup patch that extracts the status bar word-count strings and puts them as string resources, so that they can be localized.
Muhammad Haggag committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ce14342c4292628a641a72d4f63d9c048e030c6a fdo#34772 Add word count to the status bar in writer
Muhammad Haggag committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=8ed3a427245a07bb787c521a178cfb421fa46854 Followup to fdo#34772: Add resource strings for word-count messages
Thanks for adding this functionality
Created attachment 62112 [details] Patch to add help content.
Muhammad Haggag committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/help/commit/?id=732978e854aaf0b85e013b8c438983f6ab7804de Added help content for fdo#34772: Word count in the status bar
Hi, Thank you for bringing this feature, which we have been waiting for sooo long. I would like to ask that, is there a special/technical* reason to show the word numbers a 10730(without thousand seperator) i/o 10.730? http://wiki.documentfoundation.org/File:Libreoffice-3.6-mac.png If it is possible, i think it will be nice to see and understand. (*Of course it will cause some confusing due to local Decimal mark usage: http://en.wikipedia.org/wiki/Decimal_mark#Hindu-Arabic_numeral_system ) Regards and many thanks.
(In reply to comment #20) > I would like to ask that, is there a special/technical* reason to show the word > numbers a 10730(without thousand seperator) i/o 10.730? > http://wiki.documentfoundation.org/File:Libreoffice-3.6-mac.png IIRC, during development, the word count string when you had text selection was something like "Words: 100, 5 selected". So using a separator resulted in strings like "Words: 1,000, 5 selected" which were confusing, so I stopped using separators. Now the string is actually: "Words: 1000 Selected: 5" so it shouldn't be a problem to add separators back. > If it is possible, i think it will be nice to see and understand. I agree. I'll look into it.
<https://wiki.documentfoundation.org/BugReport_Details#How_to_reopen_Bugs> ASSIGNED due to facts. In future please submit new reports for feature requests, bugs in this feature, ...
(In reply to comment #22) > <https://wiki.documentfoundation.org/BugReport_Details#How_to_reopen_Bugs> > > ASSIGNED due to facts. > > In future please submit new reports for feature requests, bugs in this feature, > ... My apologies. I'll revert this back to fixed. I've opened 51818 to track the formatting issue: https://bugs.freedesktop.org/show_bug.cgi?id=51818