Word 2003 plugin extremely sluggish
Hi there,
I have a library with ~200 citations and am working on documents with 50-60 citations. However, the word plugin gets extremely sluggish after the first 10 or so citations. Is this just an inherent problem or is there a way to address this?
Thanks!
I have a library with ~200 citations and am working on documents with 50-60 citations. However, the word plugin gets extremely sluggish after the first 10 or so citations. Is this just an inherent problem or is there a way to address this?
Thanks!
The culprit seems to be that the Zotero plugin does not set Application.ScreenUpdating=False before refreshing the bibliography. (Unfortunately, I don't know how to give feedback directly to the developers.)
Hope this helps,
Jon Olav
I did check out a copy of https://www.zotero.org/svn/integration/xpcom/WinWord/tags/3.0a4 and searched for "refresh" in the hope of finding the implementation of the "Zotero refresh" command. However, the only mentions of "refresh" or "screenupdating" were in build\zoteroWinWordIntegration\CApplication.h, which was a bit beyond me. On second look, I found install\Zotero.dot, but couldn't manage to find any macros in it. (Maybe there are; Word 2007 has me thoroughly confused.) My guess was only based on experience with my own macros.
Best regards,
Jon Olav
@lilmspiano: Can you try Jon's suggestion of shrinking the Word window so that only one or two citations is visible? Does Word start working more quickly?
We can try the equivalent line of C++ and see if it makes things faster, but it shouldn't be necessary to run the "Refresh" command regularly. Updates should be handled automatically as you add new citations.
I'm talking about all refreshes, including the ones that happen automatically. When many inline citations are visible onscreen, and I insert or edit another, the screen flickers frantically for maybe 10-20 seconds before everything is updated. Looks exactly like leaving ScreenUpdating on by accident.
I'm not sure it is essential to my problem, but the document I noticed this on had tracked changes. I disable tracking (Ctrl-Shift-E) before working with any Zotero references because all inline citations get "changed" when Zotero refreshes, but maybe the mere existence of tracked changes aggravates the problem. Also, I'm working on quite a big monitor, 1920x1200 in addition to the internal 1280x800 of my laptop.
This replicates the problem for me (Win XP, Word 2007):
If screen updating were turned off during that last step, I think it might help.
If there's more information that he needs to diagnose the causes, Simon will let you know what to provide. Otherwise, hold tight and post if you discover anything new on your end.