Erroeneous and empty {citation} fields remain in text (LibreWriter)
Occassionally I will go to insert a citation and then decide not to. I press escape to "bail out" once the citation bar has appeared. However, the field placeholder eg" {citation} remains in my text document. Yes, I can delete it by hand, so it's more of an annoyance than preventing me from doing anything.
This only happens in Writer not word and only with bookmarks not reference marks. In word the {citation} fieldly disappears as expected. I'm using Windows 10, Zotero 5.0.69, Libre 6.2.4.2 (x64)
So to summarise, to reproduce:
>click insert citation,
>citation bar comes up in document as does {citation} field in text
>with cursor in citation bar, I press escape to close the citation bar
>{citation} field remains in the text
Any suggestions to stop this from happening?
This only happens in Writer not word and only with bookmarks not reference marks. In word the {citation} fieldly disappears as expected. I'm using Windows 10, Zotero 5.0.69, Libre 6.2.4.2 (x64)
So to summarise, to reproduce:
>click insert citation,
>citation bar comes up in document as does {citation} field in text
>with cursor in citation bar, I press escape to close the citation bar
>{citation} field remains in the text
Any suggestions to stop this from happening?
Does this still happen after restarting your computer? After reinstalling the plugin from the Cite pane of the Zotero preferences with LO closed?
If only the latter, see Debugging Broken Documents.
-- It's happening for both - new and existing.
Unsure if it's related, but the "add citation" box is regularly in the background when trying to insert a citation. The fix as per the link below doesn't seem to 'stick'.
https://forums.zotero.org/discussion/63569/insert-citation-window-always-appear-in-background
1. In the Help menu, go to Debug Output Logging and select Enable.
2. Click the button for the Zotero citation in LibreOffice, then close the citation dialog when it shows up and wait for it or any progress bars to disappear.
3. Before doing anything else, return to Help → Debug Output Logging and click Submit Output, which will disable logging and submit the output to zotero.org. A window should pop up containing a Debug ID. Click “Copy to Clipboard” and paste the Debug ID into this forum thread.
Let me know if any issues with it.
I then changed it to the other one listed (1.8.0_211) to see if the issue repeated -- it does.
Am I missing something?
Additionally you can try updating LO to their latest version. I have tested with the latest version of Java and LO on Windows 10 all 64-bit and could not reproduce this, so we are first trying to nail down the basic setup of the software before troubleshooting in more detail.
FYI, LO is up to date (6.2)
It looks like the issue only happens with bookmarks not reference marks (I'll add this to the first posting too).
FYI, (possibly unrelated, but in case it's useful) I have an ongoing issue that the citation box pops up behind the writer screen despite toggling the relevant setting under "config editor".
However, a different issue then arose. I can't delete a citation effectively. Work flow:
> click "add/edit citation" within LO
> enter a citation (e.g. "Winter 2018"), press enter and return to working LO document
> attempt to delete the "Winter 2018" citation via the add/edit citation box i.e. click on citation>add/edit citation>delete "Winter 2018" entry>press enter (or escape)
The Winter 2018 entry remains. Note, I can go back and edit the "Winter 2018" citation in other ways, such as add other authors, I just can't delete it via the "add/edit citation" box. I can delete it within the LO document with backspace etc but the bookmark remains in the LO document.
If I try this with the classic citation window, I can remove the citations but there is no option to hit "OK", it's greyed out.
However, I assume the bookmark should be deleted along with the text?
Eg. this is what is happening after deleting in text: https://www.dropbox.com/s/lyol7n2mf6qyycs/Bookmarks Zotero error.PNG?dl=0