[Bug] PDF Reader annotation toolbar missing in Zotero 11 beta

Hi,

In Zotero 11.0-beta.3+ds1, the PDF reader does not display its annotation toolbar.

Existing annotations are visible, but I cannot create new highlights or other annotations. Selecting text does not bring up the usual annotation color menu.

This makes PDF annotation unusable.

1. Open a PDF attachment from the personal library.
2. Observe that the annotation toolbar is missing.
3. Select text in the PDF.
4. Observe that no annotation color menu appears and no new annotation can be created.

- OS: Debian GNU/Linux sid (siduction)
- Zotero version: 11.0-beta.3+ds1
- Installation: Debian package (zotero.retorque.re)

The PDF is stored in the local Zotero storage directory. Existing annotations are displayed correctly.
  • dstillman Zotero Team
    Start by updating to beta 4. If the problem persists, provide a Debug ID for Zotero startup through reproducing the problem, using the Help → Debug Output Logging → "Restart with Logging Enabled…" option.
  • beta4 solved the problem. Thanks.

    BTW:
    beta3 came in overwriting zotero10.x . I assume this is not supposed to happen. I now have the beta installed as zotero-beta with its own DB.
  • dstillman Zotero Team
    edited 22 days ago
    I don't know what "overwriting zotero10.x" means.

    The application files would depend on which zotero-deb channel you added, but we don't have anything to do with the zotero-deb distribution.

    A Zotero 11 installation would use your existing data directory by default.
  • "overwriting zotero10.x" means 11-bata3 got installed not alongside but instead off zotero10. I assume the beta Version should be updated with the zotero-beta package, not the zotero package.

    > but we don't have anything to do with the zotero-deb distribution.

    so where should I report it or shouldn't I care at all?
  • Please tell me where to report this because this can't or shouldn't be right if we have two different debian meta-packages, zotero and zotero-beta:

    zotero:
    Installiert: 10.0.8
    Installationskandidat: 11.0~beta.3+ds1-1 <- the one creating problems

    zotero-beta:
    Installiert: 11.0.4+045d52044
    Installationskandidat: 11.0.4+045d52044

  • dstillman Zotero Team
    edited 20 days ago
    No, in this case that's not correct.

    This is actually really bad. CCing @emilianoeheyns, the zotero-deb maintainer.

    It looks like Debian now has its own Zotero package, with the beta in 'unstable' rather than 'experimental', and it replaces the stable zotero-deb package. So @michaa7, on sid, likely started on zotero-deb stable but got "upgraded" to Debian's beta package. That's what "+ds1" is.

    The Debian package is very much not just a tarball repackage like zotero-deb. It's using the system Firefox ESR, so it's not a version of Zotero that has ever existed and could easily be broken in various ways. It's even using separate packages for reader/note-editor/document-worker that could get out of sync with the parent package, breaking all sorts of things.

    So we'll need to reach out and ask them to either remove this package or stop using the "Zotero" name.

    In the meantime, @emilianoeheyns, I believe you can add an epoch (1:10.0.8) to 'zotero' that would cause zotero-deb to take priority over the Debian 'zotero'. That should also move people who got upgraded back to zotero-deb stable.

    The good news is that this is sid only for now, but my understanding is that having the beta in 'unstable' means it could move to 'testing' as soon as the firefox-esr version it was built against does.
  • edited 20 days ago
    BTW in my experience there is no use in offering my packages to debian. They do not accept binary packages, and packages may not download anything during build, so the only option would be to offer a "package" that during user installation downloads the zotero tarball and lays it out on disk the way the packager now does before brewing the .deb.

    In my .deb I package on a known-good system and any problem the user encounters
    during install will be handled by apt.

    With the "downloader" package, during install there could be god knows what on disk on the user system, and to handle that you'd be rebuilding parts of apt. Not something I would put time in myself. The Java packages did this (long time ago).
  • dstillman Zotero Team
    Yeah, we wrote to the maintainer and asked them to remove it.
  • The application files would depend on which zotero-deb channel you added
    There is just one channel BTW, which offer zotero alongside zotero-beta. I have both installed usually.
  • dstillman Zotero Team
    Right, sorry. Package, not channel.

    The Debian developer wrote back immediately and created a release-critical bug to stop the package from being moved to 'testing' as well as a removal request, so hopefully the package will be gone from sid soon.
  • So does this mean for Debian (or any linux distro) to package zotero, they need to rebrand it like they did previously for firefox (https://en.wikipedia.org/wiki/Debian–Mozilla_trademark_dispute)?
  • I do wonder whether Debian is doing anyone any favors by bundling an application that is not going to get support from Zotero.org. It seems unlikely that Debian is going to pick up support for it.
  • I created https://salsa.debian.org/extrepo-team/extrepo-data/-/merge_requests/587 to add a third-party mirror which provides zotero (since apparently there's no official one), but given it not clear to me that pointing to that mirror also isn't going to be objected to as well, I'm not going to continue working on it. It would seem better to me that zotero clarifies how they expect downstreams to handle packaging in such a way so that it actually appears in various repositories, rather than causing another incident like Mozilla or the Rust Foundation did.
  • dstillman Zotero Team
    edited today at 2:14am
    @Aragilar: It's not clear to me what problem you're trying to address? Are you not aware that @emilianoeheyns has been providing zotero-deb, and we've been recommending it, for many years? It's a lightweight wrapper around the official tarball, and it's what anyone wanting to use Zotero on a Debian/Ubuntu-based system should be using.

    Any distro that wanted to build Zotero from an assembly of components that we never put together would need to rebrand it, yes, because it literally would not be a piece of software we ever produced or tested. That's why I strongly encouraged Debian to remove it instead — because they could not produce a reliable piece of software that way, no matter what they called it.

    And it looks like they have indeed since removed it. It's still in Ubuntu's -proposed, but that will hopefully go away as well now that it's gone from Debian.
  • extrepo (https://manpages.debian.org/trixie/extrepo/extrepo.1p.en.html) makes it easy to add/remove external APT repositories (with the signing keys automatically included). It's more general than PPAs off launchpad (the repositories can be hosted anywhere), and provides more assurance than piping a random shell script from curl. As far as I can tell, the mirror's metadata I was adding in the above MR was the only APT repository which provides zotero (the zotero-deb package is just a .deb, and not an APT repo from what I understood, as that's why that mirror was created?), but if there's a better one I can't see why it can be added to the extrepo metadata for easy discovery, apart from the trademark issues?

    I personally would much rather a package meeting Debian's standards (and which passes all their static analysis tooling), given they have multiple decades of fixing embedded code issues (highlighted by the recent eMudhra incident), especially given zotero is built on Firefox, and it's not clear to me how quickly fixes from Firefox (or the rest of the stack) are picked up by zotero (this similarly applies to projects built on CEF or Electron).
  • zotero-deb is an APT repository. That's what its install script adds, with its own signing key. The mirror in your MR is just a copy of it — the key you added is Emiliano's zotero-deb key. If extrepo can include zotero-deb directly, that would be great, and there wouldn't be a trademark issue there — those are our official builds, packaged by a long-time, trusted community member. I don't know anything about the feasibility of that, so @emilianoeheyns may want to weigh in.

    We update to Firefox ESR point releases regularly, after testing them and making necessary compatibility fixes. The point is that you can't just swap in a newer ESR and expect it to work, because ESR bumps can easily break all sorts of things in Zotero — and have at least six times since July, including a crash in a published build from a distro that tried to do exactly this. This is why I'm saying that this approach just definitionally cannot produce a reliable build.
  • The readme on zotero-deb explains exactly what install.sh does, *including* the warning about piping random scripts, and there is also https://salsa.debian.org/extrepo-team/extrepo-data/-/merge_requests/290?pow_referer=https://github.com/retorquere/zotero-pkg/issues/104
Sign In or Register to comment.