Typing into QuickFormat dialog is slow (patch included)
The current implementation of QuickFormat dialog is quite slow for larger libraries. In my case large library means a personal library of 5600 items, one large group library of 3380 items and 7 smaller group libraries.
The slowness can be seen when I type something in the box. E.g. if I type the name "podsakoff" and then immediately delete it by pressing backspace nine times, I can slowly count to five while waiting to input to first appear and then disappear a character or two at a time.
Some potential fixes fir this slowness might be
1) Introduce a short delay in the event handler for onKeyPress so that the event handler will start to search for items to populate the drop down list only after typing has been stopped
2) Use a separate thread for the event handler (can be difficult to implement)
3) Allow a new onKeyPress to kill or cancel the processing of the previous event
The slowness can be seen when I type something in the box. E.g. if I type the name "podsakoff" and then immediately delete it by pressing backspace nine times, I can slowly count to five while waiting to input to first appear and then disappear a character or two at a time.
Some potential fixes fir this slowness might be
1) Introduce a short delay in the event handler for onKeyPress so that the event handler will start to search for items to populate the drop down list only after typing has been stopped
2) Use a separate thread for the event handler (can be difficult to implement)
3) Allow a new onKeyPress to kill or cancel the processing of the previous event
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
http://groups.google.com/group/zotero-dev/browse_thread/thread/ba1693cb98db55de