Zotero 7 Beta: Drag and drop movable annotations to outside the PDF file moves the annotation
Steps to reproduce:
1) Open a PDF file in the Zotero PDF Viewer
2) Zoom the PDF Viewer so that the PDF file covers the full center pane
3) Make a Note annotation (third button in the top toolbar)
4) Click and hold on the Note annotation to start a drag and drop process
5) When you move around the Note annotation (still holding your click), you can see a grey rectangle following the movement. If you move quickly to outside the PDF Viewer center pane, you can see that the rectangle gets stuck on the last position it remembers inside the PDF Viewer area, on the side where you have exited the PDF area. It does not always get stuck, so you can try a few times to see this happening.
6) After getting this grey rectangle stuck, just find a location where the drag and drop is "allowed" (where the mouse is not replaced by the "Prohibited Sign" icon), like a Zotero note or external note taking app. [The allowed dropping location curiously includes the tabs bar above the PDF viewer toolbar.]
If the Drag and Drop is released outside the PDF Viewer area, it should not move the annotation.
The Debug ID is D435103244.
Zotero 7.0.0-beta.53+969031a37 (64-bit)
Windows 10
PS: The forum does not seem to accept the "Prohibited Sign" emoji copied from here:
https://emojipedia.org/prohibited-sign
Adding the emoji in the text of the Discussion is first displayed properly but then a click on
Trying the same in a comment to an existing post triggers the following error:
1) Open a PDF file in the Zotero PDF Viewer
2) Zoom the PDF Viewer so that the PDF file covers the full center pane
3) Make a Note annotation (third button in the top toolbar)
4) Click and hold on the Note annotation to start a drag and drop process
5) When you move around the Note annotation (still holding your click), you can see a grey rectangle following the movement. If you move quickly to outside the PDF Viewer center pane, you can see that the rectangle gets stuck on the last position it remembers inside the PDF Viewer area, on the side where you have exited the PDF area. It does not always get stuck, so you can try a few times to see this happening.
6) After getting this grey rectangle stuck, just find a location where the drag and drop is "allowed" (where the mouse is not replaced by the "Prohibited Sign" icon), like a Zotero note or external note taking app. [The allowed dropping location curiously includes the tabs bar above the PDF viewer toolbar.]
If the Drag and Drop is released outside the PDF Viewer area, it should not move the annotation.
The Debug ID is D435103244.
Zotero 7.0.0-beta.53+969031a37 (64-bit)
Windows 10
PS: The forum does not seem to accept the "Prohibited Sign" emoji copied from here:
https://emojipedia.org/prohibited-sign
Adding the emoji in the text of the Discussion is first displayed properly but then a click on
Save Draft
triggers the following error:{"Code":256,"Exception":"","Class":"Gdn_ErrorException"}
Trying the same in a comment to an existing post triggers the following error:
There was an error performing your request. Please try again.
https://s3.amazonaws.com/zotero.org/images/forums/u8916866/z33l01ybi9ionawaq6e2.gif
https://s3.amazonaws.com/zotero.org/images/forums/u8916866/1zu1md165xyspsxjg9nx.png
zotero Version: 7.0.0-beta.68+c31a40c74 (64-bit)
Windows 10
D8032492
what about this?
(3)(+0043611): Using note template:
(3)(+0000000):
{{highlight}} {{citation}} {{comment}}
(3)(+0000001): Copying/dragging (1) annotation(s) with{"mode":"export","id":"a45eca67-1ee8-45e5-b4c6-23fb8a852873","markdownOptions":{"includeAppLinks":true},"htmlOptions":{"includeAppLinks":true}}
(4)(+0000000): Translate: Binding sandbox to http://www.example.com/
(4)(+0000001): Translate: Parsing code for Note Markdown
(1412e9e2-51e1-42ec-aa35-e036a895534b, 2022-08-26 11:00:00)
(3)(+0000003): Translate: Beginning translation with Note Markdown
(3)(+0000004): Translate: Translation successful
(5)(+0000000): Translate: Running handler 0 for done
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000000): Translate: Parsing code for Note HTML
(897a81c2-9f60-4bec-ae6b-85a5030b8be5, 2022-10-26 11:00:00)
(3)(+0000001): Translate: Beginning translation with Note HTML
(3)(+0000001): Translate: Translation successful
(5)(+0000001): Translate: Running handler 0 for done
(5)(+0000000): Translate: Running handler 1 for done
(5)(+0000000): Translate: Running handler 1 for done
(3)(+0002300): Using note template:
(3)(+0000000):
{{highlight}} {{citation}} {{comment}}
(3)(+0000001): Copying/dragging (1) annotation(s) with{"mode":"export","id":"a45eca67-1ee8-45e5-b4c6-23fb8a852873","markdownOptions":{"includeAppLinks":true},"htmlOptions":{"includeAppLinks":true}}
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000000): Translate: Parsing code for Note Markdown
(1412e9e2-51e1-42ec-aa35-e036a895534b, 2022-08-26 11:00:00)
(3)(+0000003): Translate: Beginning translation with Note Markdown
(3)(+0000003): Translate: Translation successful
(5)(+0000000): Translate: Running handler 0 for done
(4)(+0000000): Translate: Binding sandbox to http://www.example.com/
(4)(+0000001): Translate: Parsing code for Note HTML
(897a81c2-9f60-4bec-ae6b-85a5030b8be5, 2022-10-26 11:00:00)
(3)(+0000000): Translate: Beginning translation with Note HTML
(3)(+0000001): Translate: Translation successful
(5)(+0000001): Translate: Running handler 0 for done
(5)(+0000000): Translate: Running handler 1 for done
(5)(+0000000): Translate: Running handler 1 for done
No, the "Translate" means it's using Zotero Translators and isn't related to the Translation plugin.
Actually, I don't see any issues on Zotero's side that would prevent dragging from working.
Could you test dragging into Notepad?
2. I tried closing all software on my computer and then running zotero, but the problem still seems to exist.
3. This problem exists with zotero on my friend's computer, and the netizens I asked about also have this problem.
https://s3.amazonaws.com/zotero.org/images/forums/u8916866/b3izgywndl19arrbm0iq.png