why so long to delete or rename tags?

This post is absolutely not a criticism of the fabulous Zotero development team, who have saved me countless hours with my academic papers. I just am curious--why are tags the one element of Zotero that takes an uncomfortably long time to operate? My computer, not ancient, takes 12-14 seconds to delete a tag, even when the tag window is closed. I cannot organize my tags without having a movie playing during the process because it takes so long to manage them.

I know that many people have asked about dealing with multiple tags at once or other tag features, but deleting a tag seems like a very fundamental operation. Is there a technical reason that you cannot delete a tag quickly, or is there any way to improve on this aspect of the program?

Many thanks again to the people contributing to this program. This is really one of the only unpleasant parts of Zotero.
  • edited February 20, 2012
    Provide a Debug ID for a slow tag operation. Also, separate from that, try in different collections and the library root, and see if it's slow in all cases. (For example, it's more likely to be slow within a saved search.)
    I just am curious--why are tags the one element of Zotero that takes an uncomfortably long time to operate?
    As a general rule, don't assume problems you face are universal. Tags certainly don't take 12-14 seconds to delete for everyone, or there would be hundreds of reports. (There are a handful.)
  • Hi Dan,

    my Debug ID is D1820304968. It's not 14 seconds, but still it takes a few of them to delete one tag. I have hundreds to thousands of useless tags which I would love to get rid of. Deleting them one by one would take me forever. Is there any chance to get a tag-editor in which it will be possible to delete several tags at once? Or just a "delete all tags"-button?

    Cheers
  • mareike: How recent is this computer? We'll do some tests with many tags, but that does look slower than it should be.
    Is there any chance to get a tag-editor in which it will be possible to delete several tags at once?
    There are no immediate plans for this (though someone could write a plugin for it), but we'll keep it in mind for future development.
  • I bought it some monzhs ago and it has Windows 7 64 Bit, a i3-2120 cpu with 3.3 GHz and 6 GB RAM.
    In another thread I found instructions how to delete ALL tags with the help of a Firefox SQLite Plug in. But for some reason, the tags are only delete here, not if I open Zotero on other PCs, so I guess the tag-removal is not synced with my account?

    Something else: I disabled disable “Automatically tag items with keywords and subject headings”, but still I get automatic tags when downloading data.
    The Debug ID is D1740493371
  • In another thread I found instructions how to delete ALL tags with the help of a Firefox SQLite Plug in. But for some reason, the tags are only delete here, not if I open Zotero on other PCs, so I guess the tag-removal is not synced with my account?
    Correct. Direct SQL manipulations (unless you know exactly what you're doing) don't work with syncing. Changes need to be done through Zotero's JavaScript API (or the server API, but that doesn't yet support deleting tags).
    Something else: I disabled disable “Automatically tag items with keywords and subject headings”, but still I get automatic tags when downloading data.
    You won't with all items, but I believe this happens for translators that hand off to the more generic translators such as RIS. Simon would have to comment on the feasibility of honoring that setting in such cases.
  • Hmm, okay, that's kind of a pity, that syncing is not possible that way (because I did not know exactly what I was doing, just hoping that it works).
    But thank you anyway
  • edited May 15, 2012
    So, maybe it's helpful for someone. Here's how I removed all tags not only locally, but also on zotero's server (I am working with the Firefox plugin):
    I followed this instruction concerning SQL manipulation, given by "lmullen":
    http://forums.zotero.org/discussion/4051/remove-all-tags/

    1. Back up your library (best as Zotero RDF keeping notes and files)

    2. Download SQLite Manager for Firefox

    3. Search for the Zotero database. You find its path under Zotero Preferences -> Advanced -> Show data directory. The name of the file is "zotero.sqlite"

    4. Create a copy of this file (name it for example zotero-copy.sqlite)

    5. Open zotero-copy.sqlite in Mozillas SQLite Manager

    6. Execute the following two commands one after the other:

    delete from itemTags

    delete from tags

    7. Rename the original library (for example to zotero-original.sqlite; I kept it as a back-up)

    8. Rename your manipulated copy (zotero-copy.sqlite) to zotero.sqlite

    9. Open zotero and see if all tags are gone

    10. Export your library (again in Zotero RDF Format, keeping your files and notes if you don't want to loose them)

    11. Delete your complete library from the zotero server (I also had to remove manually all files from my webdav server)

    12. Import your just exported library


    IMPORTANT:
    I don't give any guarantee for anything, but for me this worked fine.
    And don't do it unless you're sure you want to loose ALL tags.
    If you just want to remove automatic tags, look into the link above. There are some instructions on how to do SQL manipulations for this purpose.
  • Just for the record, exporting and reimporting a library is not recommended. You'll lose Date Added/Modified timestamps, you'll lose links to citations in word processor documents, and you might lose or mangle some other data in various places.
  • Well, I can not deny that I would have preferred an easier way to edit the tags and keep all other information ;-)
  • I have the same problem: when I try to delete a tag in the pane on the left, or try to change its name, Zotero sometimes hangs for a couple of seconds.

    For example:
    - deleting a tag: approx 11 seconds; debug ID D1591750182
    - changing a tag's name: approx 6 seconds; debug ID D145793077
Sign In or Register to comment.