Right click doesn't work
All of a sudden, right-clicking on an item stops working.
It should show the menu used with various options (for instance, the one to copy the citation to the clipboard).
I have no idea how to reproduce it because it happens after some time I use the software.
How can I debug it?
It started to happen with Zotero 8. It never happened with previous versions.
It should show the menu used with various options (for instance, the one to copy the citation to the clipboard).
I have no idea how to reproduce it because it happens after some time I use the software.
How can I debug it?
It started to happen with Zotero 8. It never happened with previous versions.
Upgrade Storage
I believe I can now reproduce this issue. I tested both the linter and translate plugins; both have menus registered using
Zotero.MenuManager.Steps to Reproduce:
Uncaught (in promise) undefined.Potential Cause:
The menu requires a direct
l10nID, which necessitates developers to inject FTL files into themainWindow. Following best practices, plugin developers clean up their resources when the plugin is disabled. The call chain is as follows:hook shutdown->onShutdown->onMainWindowUnload->remove ftlReference: hooks.ts (Lines 109-112)
In step 3, the plugin clears its FTL resources. Consequently, when the menu is opened again, it likely triggers an
l10n.translateXXerror that isn't properly caught.Suggested Improvement:
I believe this should be addressed on the Zotero side. Regardless of a plugin's state, its functionality should not prevent the Zotero context menu from appearing. We could perhaps handle
But if this is indeed a plugin-side issue, please let me know.l10nerrors by suppressing them and injecting placeholder text for the affected menu items, such as[missing text for ${ftl-key}].---
Not sure if this should go to the dev mailing list, but it does seem relevant to this issue.
CC @dstillman , @hsiangyu_wong