Disruption of Drag-and-Drop Feature During Notero Sync
Describe the issue During the syncing process of Notero, the drag-and-drop functionality in Zotero becomes blocked, disrupting my workflow. As I heavily rely on drag-and-drop to assign tags or move documents within collections, this interruption significantly hampers my efficiency.
To Reproduce Steps to reproduce the behaviour:
- Add a tag by drag-and-drop or move document in a collection where Notero sync is enabled
- Wait for Notero to stop syncing
- Repeat step 1.
- Step wait for the repeat of step 2. to finish
- Again, for all the files you need to move or tags you need to add.
Expected behavior Non-blocking dragging of file when Notero is syncing
Screenshots
The screenshot shows Notero's small pop-up in the bottom-right corner of the Zotero window. During its display, drag-and-drop operations are inhibited, causing inconvenience.
Additional context
- Windows 10 Pro 22H2
- Zotero 6.0.30
- Notero 0.5.13
Thanks for reporting this, @nicolnt. I'm able to reproduce the behavior on macOS 14.2.1 in both Zotero 6.0.30 and Zotero 7.0.0-beta.56.
It's quite noticeable while trying to perform drag-and-drop operations, and I've also noticed that most UI interactions seem to be negatively impacted while a sync is in progress.
Upon some initial exploration, it looks like the UI impact occurs while Notero is performing operations to update Zotero items after each is saved to Notion. I imagine this is because these operations are happening on the main thread that's also used for UI updates.
I'll dig into this and see if I can come up with a fix.
I'm discussing this with other Zotero developers on the mailing list. I don't have a solution yet, but I've at least narrowed down the cause to the code that generates item citations.
While absolutely not ideal, a way to work around the issue is by removing anything related to citations. Specifically, this means you'd have to:
- Delete the
Full CitationandIn-Text Citationproperties from your Notion database (if you have them) - In the Notero preferences, change the Notion Page Title setting to either
Item Title,Item Short Title, orItem Citation Key(if you have Better BibTeX installed)