Intermittent slow typing in notes box

edited February 17, 2023
When I type in the notes box, every 10 seconds or so, there's a delay of maybe 500 ms from when I type a letter to when it appears in the text. I can't think of any other software that could be interfering. It doesn't seem to get worse as I type more.

Linux 6.0.12.
Debug ID: D1493952563 I typed in the box.


Related issue on Windows https://forums.zotero.org/discussion/101070/issue-typing-zotero-notes-sluggish-delayed-appearance-of-letters/p1
  • The most likely cause to examine is still something else in the system interfering. You should restart your computer and see if that fixes it. If not, open only Zotero and the System Monitor or an equivalent app, sort by CPU and see if there are any spikes in some other process activity when working with Zotero.
  • Actually, how many items do you have in your library? How old is your computer? Do you get any delays in Zotero when switching collections?
  • > sort by CPU and see if there are any spikes in some other process activity when working with Zotero.

    Zotero is the largest CPU user with 12% CPU according to htop.

    > how many items do you have in your library?

    4400

    > How old is your computer?

    CPU: 24 × AMD Ryzen 9 3900XT 12-Core Processor
    RAM: 128 GiB

    > Do you get any delays in Zotero when switching collections?

    Clicking on "My Library" takes about 3 seconds to load.
  • What distro are you running? Your computer is obviously capable of running Zotero, but I wonder if you have some aggressive CPU throttling going on when there is little activity on the computer. Switching collections should take milliseconds, not seconds, which indicates that Zotero is just running slowly in general. 12% CPU usage is actually very high especially if it's idling, pointing to CPU running at some low rate too.
  • edited February 21, 2023
    @ztrr: Are you running the official tarball of Zotero or some other package? If you're not running the official tarball (or zotero-deb, which is just a lightweight wrapper), you should try with the latest version of the tarball. (You're not on the current version, so I'm guessing you're not using Zotero's built-in updater.)
  • > What distro are you running?

    NixOS 22.11

    Upgraded to Zotero 6.0.20 (available in the NixOS "unstable" build) and it seems to have solved the slow-editing problem.

    > Switching collections should take milliseconds, not seconds

    On this new version, clicking "My Library" takes about 1 second for 4400 items. I don't switch collections often so that's fine for me.

    Thanks!
  • @ztrr see dstillman's question above though -- it sounds like you're running some type of packaged version of Zotero? That may cause issues in the future (and may still be a current source of slow-downs)
  • edited February 21, 2023
    > Switching collections should take milliseconds, not seconds

    Milliseconds is the expected time for a collection with how many items?

    > it sounds like you're running some type of packaged version of Zotero?

    The package is built from source

    https://github.com/NixOS/nixpkgs/blob/1a44669ef43a42b5caf7ec07c64463e3e92cb919/pkgs/applications/office/zotero/default.nix

    Most packages need to be built specifically for NixOS because libraries are not in the typical Linux locations.
  • ~1 second for switching to My Library with 4400 items is a bit slow but not unreasonable. Clicking on most collections with fewer items should be instantaneous.
Sign In or Register to comment.