[Web Library] Spinning wheel after clicking on Show Automatic in the Tag Selector

If I unselect "Show Automatic" in the Tag Selector of the Web Library, a spinning wheel appears:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/mwn4b2jo7p2kzqqj1313.png

Then the Web Library becomes sluggish. For example, scrolling down in the Items Tree does not display anything for a very long time:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/qok46hovbvssh0wcs2wn.png

The Process Manager of Firefox shows that the tab is using 100% CPU, with the memory rising constantly:
https://s3.amazonaws.com/zotero.org/images/forums/u265723/1rba2tm3sam9iq3n98um.png

It seems to recover after some time.

Tested on Firefox 129.0.1 (64-bit), but I also see that with the other browsers (Edge and Chrome).
Windows 10
  • Thanks for the report. Is this happening in the main library view? How many tags do you have?

    When you apply any kind of tag filtering, the web library first fetches all the tags and then filters them locally. So when you see the spinner, it's doing just that. With a few tags or even up to a few hundred, this shouldn't impact the UI. However, if you have many tags, it can take a while to both fetch and filter them. If this is a problem, we may be able to optimize this so that the UI is never affected.
  • Yes, from the main library view.
    I only have a few manual tags:
    https://s3.amazonaws.com/zotero.org/images/forums/u265723/hx8x7igcued11wa2opao.png

    It is a larger number of automatic tags, for a library of 16K parent items.
    While I see the spinner, the tags slowly appear, maybe 2-5 every 20-30 seconds.

    After some time, here is the list I see in the web library:
    https://s3.amazonaws.com/zotero.org/images/forums/u265723/e3s986wvxeehs0dov32c.png
  • What happens is that the web library fetches all the tags (i.e. including automatic tags, presumably thousands or tens of thousands) and then filters them in the browser. In the future, we hope to move this process to the server side, which should make it much faster. In the meantime, we'll see if we can reduce the impact this operation has on the UI.
Sign In or Register to comment.