LibreOffice: Clicking "Add Citation" does nothing at all after updating to Zotero 9

[Split from "Add Citation" not working after update]

Hi,

I'm experiencing an issue with the LibreOffice plugin after updating to Zotero 9: clicking "Add Citation" does nothing at all — no dialog opens, no error appears. However, the new "Add Annotation" button works fine.

Setup:
- Windows 11 (ARM64)
- Zotero 9.0.2 (native ARM64 build)
- LibreOffice (native ARM64 build)
- ARM64 JRE installed and recognized by LibreOffice
- Extensions: Better BibTeX for Zotero 9.0.19, Open PDF for Zotero 1.0.11

Behavior:
- Clicking "Add Citation" and no citation dialog appears
- No error is logged in the Zotero error console when clicking "Add Citation"
- Clicking "Add Annotation" works and logs the following in the error console: Empty string passed to getElementById(). citationDialog.js:399:11

The debug log shows the following repeated warning at startup, which may be related:
[JavaScript Error: "ChromeUtils.import() has been removed. Use importESModule()"]
This appears 4 times and likely originates from one of the installed extensions.

Debug ID: D275281658

I have tested with Better BibTeX disabled. Nothing changed.

Any help would be greatly appreciated!
  • dstillman Zotero Team
    Can you reproduce it in Troubleshooting Mode (Help → "Restart in Troubleshooting Mode…”)?
  • D697935568
    Ich habe es im Troubleshooting Modus versucht zu reproduzieren. Aber ich vermute in den Logs ist nichts zu sehen. Ich habe auf jeden Button geklickt beginnend mit add/edit Citation, doch nichts passiert. Nur beim Drücken auf add annotation.

    D697935568 I tried to reproduce it in troubleshooting mode. But I suspect there is nothing to be seen in the logs. I clicked on every button starting with add/edit Citation, but nothing happens. Only when press add annotation.
  • Hi, is there an update on this in the meantime? Here is a description of the problem again: all three buttons — Citation, Note, and Bibliography — do not work. The only one that works is Annotation. A dialog window then appears, in which I can switch between Citation, Annotation, and Note in the bottom left. If I click on Citation, I can insert a citation, but I cannot edit an existing one. I am using Zotero 9.0.6 and LibreOffice 26.2.4.2, both ARM64 on Windows 11.

    https://s3.amazonaws.com/zotero.org/images/forums/u17712503/m17kn3k6c5uqfmm3olx8.png
  • dstillman Zotero Team
    edited 3 days ago
    Delete the extension from the LibreOffice extension manager manually, restart LibreOffice and confirm that Zotero is completely gone, and then reinstall from the Cite settings. Does it still happen after that?
  • I manually uninstalled the Zotero extension for LibreOffice. Restarted LibreOffice, no more Zotero buttons present. Now I want to reinstall the extension. Doing this via Zotero doesn't work because it doesn't recognize that I have Java installed, even though I have two Java JDKs from Microsoft installed as ARM64 variants (21 and 25). LibreOffice does recognize these Java versions. So I install the extension via the path: "C:\Program Files\Zotero\integration\libreoffice". LibreOffice crashes, restart it. Zotero buttons are back, but the same problem as before persists — only "Add Annotation" responds.
    https://s3.amazonaws.com/zotero.org/images/forums/u17712503/95h4sq84n91aaja9jb1z.png
    https://s3.amazonaws.com/zotero.org/images/forums/u17712503/yit8dzc92dkmad5thtvq.png
  • An LO crash installing the .oxt directly would be an LO or JDK bug. I don't know that anyone has tested the MS JDK, and it's not what we recommend. You can try the Oracle JDK.
  • dstillman Zotero Team
    edited today at 3:47pm
    Oh, I guess Oracle doesn't provide an ARM JDK for Windows?
  • Yes, Oracle doesn't have an ARM64 JDK for Windows. I installed an x64 one, but LibreOffice doesn't display it either, even after a restart.
  • I tried manually specifying the path to the x64 Java installation in LibreOffice, but then it doesn't find a Java runtime environment (makes sense). Then I downloaded an ARM64 Java version from Azul Zulu and selected it in LibreOffice. Same problem — only "Add Annotation" responds.
  • dstillman Zotero Team
    OK, the buttons not activating is a bug in the plugin on ARM Windows. Add Annotation is a new function that accidentally skips trying to bring the citation dialog to the front, which depends on native functionality. We'll fix — thanks.
  • Thank you. <3
Sign In or Register to comment.