问题描述
当编辑某一条目下的长笔记(尤其是包含整篇论文全文翻译的笔记)时,Zotero 界面出现严重无限刷新现象:
条目前面的 PDF 图标(或附件图标)不停地一跳一跳
笔记编辑器无法正常编辑,持续闪烁/刷新
最终导致整个条目几乎无法操作
从 debug log 可以看到,Better Notes 的 updateNoteLinkRelation 和 Zoplicate 的 non duplicate notify item 在同一个条目上互相触发,形成了 notifier 事件风暴。
复现步骤
打开一个带有较长笔记(全文翻译 + 复杂 Prosemirror 结构)的条目
点击进入笔记编辑器
观察到 PDF 图标开始跳动,笔记持续刷新
Describe the bug
从 debug log 可以看到,Better Notes 的 updateNoteLinkRelation 和 Zoplicate 的 non duplicate notify item 在同一个条目上互相触发,形成了 notifier 事件风暴。
Debug Output
相关日志(关键片段)
(3)(+0000007): [Zoplicate] non duplicate notify item [78898] ...
(3)(+0000006): [Better Notes for Zotero] updateNoteLinkRelation 78898
(3)(+0000006): [Zoplicate] non duplicate notify item [78898] ...
(3)(+0000006): [Better Notes for Zotero] updateNoteLinkRelation 78898
问题描述
当编辑某一条目下的长笔记(尤其是包含整篇论文全文翻译的笔记)时,Zotero 界面出现严重无限刷新现象:
条目前面的 PDF 图标(或附件图标)不停地一跳一跳
笔记编辑器无法正常编辑,持续闪烁/刷新
最终导致整个条目几乎无法操作
从 debug log 可以看到,Better Notes 的 updateNoteLinkRelation 和 Zoplicate 的 non duplicate notify item 在同一个条目上互相触发,形成了 notifier 事件风暴。
复现步骤
打开一个带有较长笔记(全文翻译 + 复杂 Prosemirror 结构)的条目
点击进入笔记编辑器
观察到 PDF 图标开始跳动,笔记持续刷新
Describe the bug
从 debug log 可以看到,Better Notes 的 updateNoteLinkRelation 和 Zoplicate 的 non duplicate notify item 在同一个条目上互相触发,形成了 notifier 事件风暴。
Debug Output
相关日志(关键片段)
(3)(+0000007): [Zoplicate] non duplicate notify item [78898] ...
(3)(+0000006): [Better Notes for Zotero] updateNoteLinkRelation 78898
(3)(+0000006): [Zoplicate] non duplicate notify item [78898] ...
(3)(+0000006): [Better Notes for Zotero] updateNoteLinkRelation 78898