View previous topic :: View next topic |
add a live word count display to status bar in Writer? |
yes please, current word count AND optional words-remaining countdown to a user-entered target |
|
40% |
[ 4 ] |
yes please, current word count ONLY |
|
60% |
[ 6 ] |
no, neither |
|
0% |
[ 0 ] |
|
Total Votes : 10 |
|
Author |
Message |
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Sat Aug 11, 2012 12:54 am Post subject: Re: Why word count |
|
SteveRead wrote: | As for the LibreOffice word count extension. It doesn't require a hot key. It gets added as a menu command and if you select the menu command it puts up a little window with a live word count. |
...but you can't type and show that window at the same time, so it's not really "live". You have to keep bringing it up and then sending it away again, which is why I assigned a hotkey to it - so it's quicker to bring it up without going to the mouse to get to the menu etc. If I'm typing, I prefer to be able to access things through the keyboard. |
|
Back to top |
|
|
vj1726a Agent
Joined: Mar 12, 2012 Posts: 10
|
Posted: Sat Aug 11, 2012 7:13 am Post subject: Re: Why word count |
|
yoxi wrote: | SteveRead wrote: | As for the LibreOffice word count extension. It doesn't require a hot key. It gets added as a menu command and if you select the menu command it puts up a little window with a live word count. |
...but you can't type and show that window at the same time, so it's not really "live". You have to keep bringing it up and then sending it away again, which is why I assigned a hotkey to it - so it's quicker to bring it up without going to the mouse to get to the menu etc. If I'm typing, I prefer to be able to access things through the keyboard. |
Thanks for explaining, you've saved me a lot of time trying to install that extension. (Too clunky for my tastes, don't like separate windows.)
Apple Pages does it really nicely -- word count is updated in the status bar next to page count. Microsoft Word same. Lots of room in the status bar and most word processors have this on by default with both word and page count. OO and offshoots are the exception. |
|
Back to top |
|
|
SteveRead Operator
Joined: Jan 14, 2007 Posts: 46
|
Posted: Sat Aug 11, 2012 8:29 am Post subject: Live word count |
|
Actually, it puts a floating window in front of the document, so you get a live count. HOWEVER, it seems pretty flaky. It either doesn't inititialize sometimes or it freezes Neo Office. This is with 3.2.1. Maybe it behaves better with newer versions of NeoOffice. |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Sat Aug 11, 2012 9:27 am Post subject: |
|
In 3.3 it just sits there as the top window, and there's no way to get to any other open windows until you close the wordcount one. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Aug 11, 2012 9:59 am Post subject: |
|
yoxi wrote: | In 3.3 it just sits there as the top window, and there's no way to get to any other open windows until you close the wordcount one. |
It appears that that extension causes OpenOffice.org to load Java and that, in turn, is causing NeoOffice's underlying OpenOffice.org code to deadlock in its "update Java user preferences" code.
That looks like a real hanging bug to me and since we consider hanging bugs to be critical bugs, I will look at the OpenOffice.org code and see if I can find a way to stop the deadlocking.
Patrick |
|
Back to top |
|
|
yoxi Cipher
Joined: Sep 07, 2004 Posts: 1799 Location: Dawlish, Devon
|
Posted: Sat Aug 11, 2012 10:35 am Post subject: |
|
Cool, thanks. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
SteveRead Operator
Joined: Jan 14, 2007 Posts: 46
|
Posted: Sat Aug 11, 2012 2:05 pm Post subject: test patch |
|
I installed the patch and then used the Instant word count extension for a while as I worked on a 1200 word long review. It seemed to work well and I didn't get any freezing either while working on the paper or when I quite NeoOffice. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Aug 11, 2012 2:10 pm Post subject: Re: test patch |
|
SteveRead wrote: | I installed the patch and then used the Instant word count extension for a while as I worked on a 1200 word long review. It seemed to work well and I didn't get any freezing either while working on the paper or when I quite NeoOffice. |
OK. I have also backported the fix for the hanging bug into the NeoOffice 3.2.1 code and I will put out a test patch in the next day for that NeoOffice 3.2.1 version.
Patrick |
|
Back to top |
|
|
SteveRead Operator
Joined: Jan 14, 2007 Posts: 46
|
Posted: Sat Aug 11, 2012 2:16 pm Post subject: Spoke too soon |
|
I just went back to work on that document and when I opened Instant word count it froze NeoOffice.
Also, I realized that having the word count window open seems to make text selection flaky. I was editing a 2 page document in Print Layout mode and was trying to use the cursor to select text. When I crossed page boundaries moving from page 2 to page 1, the text on page 2 was unselected. It also seemed that selecting text within a page was a bit jumpy. But when I closed NEO and then went back and opened the document without word count, now when I tried selecting text, it behaved itself.
Okay, so I just re opened NEO, the file and word count again. No freezing. But selecting text is still flaky. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sat Aug 11, 2012 4:27 pm Post subject: Re: Spoke too soon |
|
If NeoOffice hangs again, can you launch the /Applications/Utilities/Activity Monitor application and obtain a sample of the NeoOffice application? A sample will hopefully tell me what OpenOffice.org deadlock I missed in the last test patch.
Instructions for obtaining a sample are in this NeoWiki article.
SteveRead wrote: | Okay, so I just re opened NEO, the file and word count again. No freezing. But selecting text is still flaky. |
When debugging the OpenOffice.org deadlocking bug, I found that the LibreOffice WordCount extension keeps try to set focus to the word count window. I don't know why the extension keeps trying to change the active window (maybe to workaround some LibreOffice behavior on Windows?), but that is the extension's bug to fix, not ours.
Edit by pluby: I forgot to add that while I could not reproduce this unhighlighting behavior once I disabled all third-party extensions so to me it is an extension bug. But if you find that this problem still occurs with all such extensions disabled, then post a new topic for it in the NeoOffice Beta Support forum.
Patrick |
|
Back to top |
|
|
SteveRead Operator
Joined: Jan 14, 2007 Posts: 46
|
Posted: Sat Aug 11, 2012 7:08 pm Post subject: Word count |
|
I only had this highlighting problem when the instant word count window was actually open. |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Tue Feb 12, 2013 6:49 pm Post subject: |
|
I had a little bit if extra time last weekend and so I took a look at LibreOffice's "word count in status bar" code. I found that only a small amount of code needed to be backported to implement showing word count the Writer status bar due to the fact that the LibreOffice engineers were able to implement this future by using the existing OpenOffice.org code that counts word for the Tools :: Word Count dialog.
So, I went ahead and backported the LibreOffice 3.6 code for displaying the word count in the Writer status bar in the following test patch. Also, double-clicking on this new status bar element will display the word count dialog that contains other data like character count and selected word and character count.
Can anyone install the test patch and confirm that the word count is displayed in the Writer status bar and that the word count increases or decreases as you edit a Writer document?:
Intel:
http://juliette.neooffice.org/test/NeoOffice-3.3-Patch-4-Test-11-Intel.dmg
Patrick |
|
Back to top |
|
|
amayze The Merovingian
Joined: Oct 24, 2005 Posts: 561 Location: Edinburgh, Scotland
|
Posted: Wed Feb 13, 2013 7:07 am Post subject: |
|
I've installed Patch 4 Test 11.
With a very quick test with a couple of pages of text it seems to behave as advertised. I don't have any longer documents to try it on here. I'll hunt some out tonight, or maybe someone else will beat me to it.
Andy |
|
Back to top |
|
|
|