[Zotero 7 Beta] Incomplete deletion of annotations when closing a PDF tab
If I close a PDF in a Reader tab while it is deleting annotations, its stops deleting the annotations, and I still see the remaining ones when I reopen the PDF file.
Steps to reproduce:
1) Make many drawing annotations
2) Press
3) Press
4) Quickly close the PDF tab, for example with the shortcut
5) Reopen the PDF file
-> Some of the annotations are still there.
Debug ID: D1813463214
Zotero 7.0.0-beta.73+398454f85 (64-bit)
Windows 10
Steps to reproduce:
1) Make many drawing annotations
2) Press
Ctrl
+A
to select all the annotations3) Press
Del
and then Enter
to delete all the annotations4) Quickly close the PDF tab, for example with the shortcut
Ctrl
+W
5) Reopen the PDF file
-> Some of the annotations are still there.
Debug ID: D1813463214
Zotero 7.0.0-beta.73+398454f85 (64-bit)
Windows 10
If I wait long enough, all the annotations are correctly deleted.[JavaScript Error: "TypeError: this._section is null" {file: "chrome://zotero/content/elements/attachmentsBox.js" line: 176}]
[JavaScript Error: "TypeError: can't access dead object" {file: "chrome://zotero/content/xpcom/reader.js" line: 139}]
Debug ID: D1209309138
https://forums.zotero.org/discussion/111542/zotero-7-annotation-is-lost-if-tab-is-closed-before-sync
I cannot reproduce that bug with a single highlight annotation in the latest beta (in Linux or Windows). And I do not need to sync.
But it could still be related indeed:
https://github.com/zotero/zotero/issues/2278