[Zotero 7 Beta] Merging PDF files leaves ghost external annotations
Steps to reproduce:
1) Select one PDF of an article outside of Zotero
2) Import it a first time in Zotero by drag and drop of the PDF file in My Library, and let it create a parent item: PDF1 in Item1
3) Highlight some text in Zotero on PDF1
4) Import it a second time in Zotero by drag and drop of the PDF file in My Library, and let it create a parent item: PDF2 in Item2
5) Rename Item2 with title "Item2".
6) Highlight some text in PDF2 in Adobe Acrobat Pro
7) Open PDF2 in Zotero to make sure that the external annotation is visible in Zotero
8) Merge Item1 and Item2, selecting the oldest metadata (Item1)
-> Only one PDF file is left in the merged item.
9) Open the PDF file of the merged item in Zotero
-> Only the Zotero highlight of PDF1 is visible
10) Open the PDF file in Adobe Acrobat Pro
-> The external annotation of PDF2 is visible.
Debug ID for the merging (step 7): D1176289403
Debug ID for the whole process: D931504547
Zotero 7.0.0-beta.76+91054acfe (64-bit)
Windows 10
1) Select one PDF of an article outside of Zotero
2) Import it a first time in Zotero by drag and drop of the PDF file in My Library, and let it create a parent item: PDF1 in Item1
3) Highlight some text in Zotero on PDF1
4) Import it a second time in Zotero by drag and drop of the PDF file in My Library, and let it create a parent item: PDF2 in Item2
5) Rename Item2 with title "Item2".
6) Highlight some text in PDF2 in Adobe Acrobat Pro
7) Open PDF2 in Zotero to make sure that the external annotation is visible in Zotero
8) Merge Item1 and Item2, selecting the oldest metadata (Item1)
-> Only one PDF file is left in the merged item.
9) Open the PDF file of the merged item in Zotero
-> Only the Zotero highlight of PDF1 is visible
10) Open the PDF file in Adobe Acrobat Pro
-> The external annotation of PDF2 is visible.
Debug ID for the merging (step 7): D1176289403
Debug ID for the whole process: D931504547
Zotero 7.0.0-beta.76+91054acfe (64-bit)
Windows 10
The bug is specific to external annotations.
Note that the bug does not happen if PDF2 contains annotations that are not compatible with Zotero. For example, if you replace step 6 by making a rectangle in Adobe Acrobat Pro. In that case, both Zotero and external annotations are visible at the end.
If both PDFs have external annotations, merging them into a single PDF requires:
- Importing to Zotero annotations before merging for annotations that are compatible with Zotero (at least for one PDF)
- Merge the external annotations in an external PDF reader if the annotations are not compatible with Zotero (cross-out, text, text box, geometrical drawings, free line drawing, ...).
The disappearing annotation issue will be fixed in the next beta.