Author, date and page number missing from copy/paste of annotation

Previously, if I copy/pasted an annotation's text it would include the author, date and page number if available in the output when pasted into e.g. a Word document. This feature has stopped working for me. I haven't changed anything in the settings that I can think of since it last worked, and can't see anything that lets me enable or disable this.

I'm running 8.0-beta.25+145fbfa19 (64-bit).

Is this a bug or am I missing something?
  • Make sure you're clicking the citation and pressing Ctrl-C. If you just select text, it will copy only the text.

    If you can't get it to work, provide a Debug ID for reproducing it.
  • Thanks for the reply. I am clicking the highlighted text and using Ctrl+C.

    Debug ID: D1008604945
  • dstillman Zotero Team
    edited 1 hour ago
    [JavaScript Error: "Error: Code promise is not resolved in noWait mode" {file: "chrome://zotero/content/xpcom/translate/src/translation/translate.js" line: 1845}]

    [JavaScript Error: "TypeError: loadPromise.isResolved is not a function" {file: "chrome://zotero/content/xpcom/translate/src/translation/translate.js" line: 1318}]
    Restart in Troubleshooting Mode (Help → "Restart in Troubleshooting Mode…”), which temporarily disables all plugins. This is likely caused by BBT.
  • edited 1 hour ago
    That fixes it, thanks. I've raised an issue on the better bibtex github.
  • Fair guess, but loadPromise.isResolved does not occur in BBT in the history I have in git. The log that was supplied also does not contain the errors above so I can't tell from the log context what plugin is active around that point.
  • dstillman Zotero Team
    edited 24 minutes ago
    That's not code you call yourself. But something you're doing is likely breaking this. You've mentioned the "Code promise is not resolved in noWait mode" error before.
  • I mean, @chrislittle should re-enable all plugins except for BBT to confirm, but I think it's very likely that this is BBT.
  • I think you'll have to find what plugin most likely causes this by turning them on one by one. I can't entirely rule out that it is BBT, but the error above isn't mine, and the log on GH does not contain errors (and I don't think it includes quick-copy activity).
  • Ah I see, it is from Zotero itself. I've asked for a new log on GH with the error in it.
  • Strangely, this was working again briefly and now isn't.

    To submit the better bibtex debug log, I upgraded to the latest beta when prompted. Immediately after running the update, the problem was then replicated in the better bibtex debug log I submitted.

    However, I then went back to working and performed the function as normal and was surprised to see it deliver the citation in the pasted output, with better bibtex enabled. Yet it then stopped working again subsequently.

    Here is a debug log ID for me performing this function and it working as expected. Better bibtex was enabled at this point:

    D220463750

    Here is a debug log ID performing the function and it not working as expected. Better bibtex is disabled here. This was done immediately after restarting Zotero.

    D471231059

    Thirty seconds later, I tried again and it worked. Better bibtex still disabled.

    D1695941269
  • dstillman Zotero Team
    edited 7 minutes ago
    It's only relevant if you restart with a given plugin enabled or disabled. It's not clear to me from your description if that's what you did.
Sign In or Register to comment.