When I double click an entry with multiple PDF attachment, how does Zotero decide which one to open?

edited July 21, 2017
Suppose I have an entry with multiple PDF attachments. When double click on it (on the parent entry containing all the attachments), how does Zotero decide which of the attachments to open? Can I influence this decision?
  • edited September 22, 2017
    You can't customize this. The order isĀ :
    oldest PDF attachment matching parent URL,
    oldest non-PDF file attachment matching parent URL,
    oldest PDF attachment not matching URL,
    oldest non-PDF file attachment not matching URL,
    live URL,
    resolved DOI.
    Post from 2012: https://forums.zotero.org/discussion/comment/131213/#Comment_131213


    Edit: but in 2013, @dstillman indicated a slightly different orderĀ : PDF matching URL, PDF not matching URL, non-PDF matching URL, non-PDF not matching URL, see https://forums.zotero.org/discussion/comment/156584/#Comment_156584
  • By oldest, you are referring to the date the file was added to zotero, or the date the file was attached to the entry?

    The issue I have in mind, is that I added supplementary materials PDF before main text, and now whenever I double click, it opens suppl. materials instead of main text.
  • I'm not sure but I'd say the date added to zotero. I don't think Zotero saves the date the file was attached to the entry (but the "last modified" date of the file is updated when you move it to another parent item).
  • We should be able to modify this. Maybe add an option to change the "default open file" for each item in the library. At the moment many items in my library are opening the suppl. materials instead of main text.
  • Apparenty this behavior has changed in recent versions. Now when I attach a new PDF file to an entry (like a supplementary information), the newest PDF seems to be the one that is opened when I double click on the entry. This is very inconvenient. What happened here??
  • Actually, it seems that if I attach first a PDF by dragging it in from the explorer, and then attach another PDF that I imported through the Zotero connector, the later is opened by default. Is the precise rule deciding what PDF to open defined somewhere, so that at least we can understand it?
  • Why the oldest first? After people update an entry, we want to open the newest one.
  • Different strokes for different folks on this one. I also prefer the oldest, as that is likely the main article pdf, and the second one is supplemental data pdf. I'd delete any old and non-up-to-date attachments.
  • It should be a setting. For each entry in the library, the user should be able to select which is the file to open upon double-click.
  • I run into issues with this frequently. It would be great if I could pick which attachement has priority (for quicklook, double-click openening, etc.)
  • I also run into this. My standard use-case is when I add an entry from Google Scholar and the entry includes a review pdf. Then I scan the document by hand and want to attach it. I can delete the review pdf but they are sometimes useful as a summary. I want to leave the review attached but I certainly don't want it to come up as the default when I double-click the entry.
  • Agreed. It is very hard to link SI or any additional documents without it opening the incorrect document on double-click or with QuickLook.

    +1 for more customizability here.
  • Indeed, this should be customizable, as everyone has a different priority regarding which attachment is supposed to be open by default
  • This is a very pressing issue in my opinion. I have several entries where drafts or supplementary material is opened by default, instead of the article. There is a need to be able to set the default file to be opened.
Sign In or Register to comment.