I have a test build at https://github.com/retorquere/zotero-better-bibtex/issues/3362, it would be nice to have confirmation, but it passes my test suites, so I intend to release after midnight. Every midnight the bulk test runs and I want to have it passing on more systems than just my own.
For startup, you should be able to await Zotero.uiReadyPromise, at which point all items in the initially selected library will have been loaded.
The two things I am thinking may need loadAllData is key gen and auto-export.
If items from a never-selected library never generate notifications, I can make it so no auto-export would start there. The only way an auto-export for a never-selected library could run is if Zotero quits in a way that a running auto-export is not finished, in which case I now start it again at start.
For key generation, if auto-pin becomes the default behavior, the only scenario I can think where it would need to access non-selected libraries are after first install or disable-enable, when BBT will try to catch up the missing keys. But those are scenarios I have to take into account.
We've been holding the Z7 fields update until you resolve the performance issues. We don't want to push a release that results in a 40-minute upgrade. Though we could conceivably update the progress window to make clear that Zotero is done and it's waiting on plugins…
entirely fair. I just hit a point of frustration. It's been a season, it's been a week, and it had been a day.
I can make a test... I will first instal the new BBT version (manually?), then will run the update to the newest Z8-beta to start the migration. Is it okay or do you need some Debug ID?
Correct, manually. Zotero will first migrate the keys out of extra, after that BBT will start. I'd be interested to know how long each takes and how many items are in your library.
Open the help menu, when bbt starts a menu item will appear "Send plugin debug log". That menu item will go away 15 seconds after BBT finishes startup.
If items from a never-selected library never generate notifications, I can make it so no auto-export would start there. The only way an auto-export for a never-selected library could run is if Zotero quits in a way that a running auto-export is not finished, in which case I now start it again at start.
For key generation, if auto-pin becomes the default behavior, the only scenario I can think where it would need to access non-selected libraries are after first install or disable-enable, when BBT will try to catch up the missing keys. But those are scenarios I have to take into account.
Is it okay or do you need some Debug ID?
Zotero beta.24
Only BBT enabled (7.0.72.8903)
Zotero migration: 17 seconds (circular progress popup 12 seconds + 6 seconds the other one)
BBT: 18 seconds (until the menu item disappeared)
@dstillman Is it okay now? Do you need any other test?
Now, I will enable the rest of the plugins
https://s3.amazonaws.com/zotero.org/images/forums/u2580262/egr2effxugeil56ocmzb.png