Performance issue when typing tags
Debug ID D93767856
Zotero 5.0.78
Windows 10
Issue:
Typing a tag in the "Tags" tab is slow when the autocomplete search has many results. This was not an issue in Zotero 5.0.77.
It would be useful if one could keep typing out a tag without having to wait for the autocomplete search result in the drop-down list being shown for the first character.
Steps to reproduce:
1. In a fresh Zotero installation and empty database, create two items.
2. Tag the first item with many tags that begin with "A", e.g., "A:1",...,"A:700". I used Zutilo's "paste tags" function with this text file.
3. For the second item, try to add tag "A:1" by typing it in the right-hand "Tags" tab.
4. Typing appears to be halted on the first character, but eventually finishes when waiting long enough.
Zotero 5.0.78
Windows 10
Issue:
Typing a tag in the "Tags" tab is slow when the autocomplete search has many results. This was not an issue in Zotero 5.0.77.
It would be useful if one could keep typing out a tag without having to wait for the autocomplete search result in the drop-down list being shown for the first character.
Steps to reproduce:
1. In a fresh Zotero installation and empty database, create two items.
2. Tag the first item with many tags that begin with "A", e.g., "A:1",...,"A:700". I used Zutilo's "paste tags" function with this text file.
3. For the second item, try to add tag "A:1" by typing it in the right-hand "Tags" tab.
4. Typing appears to be halted on the first character, but eventually finishes when waiting long enough.
This discussion has been closed.
1. Type a few characters starting from the second character of the tag, then add the first one. The autocomplete search should have much fewer results and the issue doesn't occur.
2. Dragging an item to a tag in the tag selector in the lower left works without problems.
3. Use the Zutilo add-on to paste tags to an item from the clipboard, e.g. copied from a text file. The functions are described in the documentation.
(5.0.78 featured a new tags box implementation, including the autocomplete functionality. We could probably optimize it to support huge numbers of autocomplete rows, but I'm not sure seeing more than 25 results is particularly useful anyway.)
Thanks to @qqbb for the clear steps to reproduce.
BTW, I had a minor issue when updating from 5.0.78 to 5.0.80. The first time I updated, the update window seemed stuck at the end of the process with
Software Update
Downloading Zotero
Applying update...
I closed Zotero through "File" -> "Exit" and all was fine. Subsequently updating from 5.0.79 to 5.0.80 did go as expected.