Zotero 7 Beta: Closing and Reopening Windows Unloads Extension's Elements

Build: 7.0.0-beta.17+8017b2ab1
Platform: MacOS

Steps:
1. Install an extension that adds elements to context menus/toolbar menus. For example, the 2.0 make-it-red example extension.
2. Close all of Zotero's windows while keeping the application running.
3. Reopen the main window via clicking the app icon on the taskbar or using CMD-0. The added extension elements are missing. In this case, the css file and the make it green button is gone.

Expected Behavior:
Elements added by extensions should be retained even when the window is closed.
  • I'm not sure why you're reporting this? Make It Red is just a sample extension for plugin developers. It doesn't happen to handle the case of a closed and reopened main window on macOS. If you're a plugin developer and aren't sure how to do that, you can ask on zotero-dev, but otherwise if you're having trouble with some third-party plugin you'd have to report it to the plugin developer.
  • OK, I see that you're a plugin developer. So yes, you'd have to handle that in your plugin with window listeners. If you need help with that, post to zotero-dev.
Sign In or Register to comment.