Zotero 7 Beta: "Rename File from Parent Metadata" changes file name but not the displayed name
Hi: I just made the switch from Zotero 6 to 7. I noticed that the attached PDF files have a generic name displayed in Zotero (such as "ScienceDirect Full Text PDF") but have the proper file name in the file system (such as Authors - year - title.pdf). In Zotero 6, the pdf was shown with the actual file name in Zotero already. Is this a known issue that can be fixed? Thanks!
First of all, thanks, Dan, for pointing me to the relevant discussion. I understand now that there is a difference between "Attachment Title" and "Filename".
Here is what I found inconsistent in the current Beta:
1) When I add a pdf via the Zotero Chrome plugin, the "Attachment Title" has a generic title such as "ScienceDirect Full Text PDF", which can never be changed. However, when I manually add a pdf, the "Attachment Title" is set to "Filename".
2) Moreover, I can change "Attachment Title" via "Rename File from Parent Metadata" when I change data that is relevant to the file name (author, year, or title). This is very much in line with how Zotero worked in the past (but only for PDFs I added manually).
Will naming the "Attachment Title" be unified in the future? Also, I think there are many benefits to setting "Attachment Title" to "Filename" by default if possible. For instance, when I tested the "Rename File from Parent Metadata" for this post, I accidentally "dragged and dropped" a PDF attachment from one reference to another. Yet, the "Attachment Title" was "ScienceDirect Full Text PDF" so I had to click into both PDFs to determine which PDF I needed to drag back to the correct Zotero reference.
As always, thanks for your great work for the community!
And yes, both the title and filename can always be changed manually from the right-hand pane, as @enozkan says.
If I add a bibliographic entry first and then attach a PDF and rename the file from parent metadata, then both the attachment title and the file name get changed. However, if I add a pdf first and allow Zotero to retrieve the bibliographic data and create the entry, then renaming according to the parent metadata will only update the file name (but not the attachment name).
But in an upcoming version, we'll likely be changing both cases to set the title to just "PDF", which will be more equivalent to the titles assigned by translators.
Also, to be clear, if you just attach a PDF to an item, there's no need to manually run Rename File from Parent Metadata. Zotero does that by default. That's one of the core points behind all of this — for years, people have been mistakenly running Rename File from Parent Metadata because they haven't realized that Zotero automatically renames files, and misinterpreted the attachment title changing as the file being renamed We're going to be disabling that option altogether when the filename already matches the current name format to help convey that it's not necessary.
However, there is one inconsistency in the naming of "Attachment Name" and "Filename":
1) When I add a pdf manually, Zotero keeps the "Attachment Title" and "Filename" the same when I use the "Rename File from Metadata" -- as in previous Zotero versions.
2) When I add a pdf via Chrome, Zotero does not update "Attachment Title" when I use the "Rename File from Metadata" -- "Rename File from Metadata" only updates "Filename".
3) However, as soon as I changed the "Attachment Title" manually, then "Rename File from Metadata" keeps "Attachment Name" and "Filename" in sync again (same as in #1 above).
It would be great if Zotero kept the "Attachment Title" and "Filename" in sync (as it does when I drag and drop an attachment manually (#1) or as it does after I changed the "Attachment Title" manually (#3)). Thanks again!
https://www.zotero.org/support/file_renaming#attachment_title_vs_filename
https://forums.zotero.org/discussion/comment/467717/#Comment_467717
I read through the two links you provided and am happy to "give the new behavior a try". I see the issue with the search when attachment name = file name (I solved this issue by activating "Show only top-level items", which worked fine).
This attachment file issue is mainly cosmetic (when one attachment is added). You wrote in one of the posts that you "set the title of the first attachment of a given type to "PDF" [...]". I think that would be a good compromise for anyone with "design OCD". This consistency would be better than random attachment names such as "Full Text PDF", "EBSCO FULL TEXT", etc. -- there is no meaning to these attachment names.
Appreciate all the work going into this project.
Steve
In addition, I often attach appendix documents. Previously, the attachment title of the "main paper" was "Autor - year- title". And I named the "appendix document" similarly "[Appendix] Autor - year- title". Now, when I add appendix files, I need to rename the attachment title of both files. Again, not the end of the world but extra work for this user.
Love and use zotero every day -- but I don't love the new attachment title behavior.
There is a hidden Zotmoov preference to retain Zotero v7's attachment title naming behaviour for people who prefer that.
https://github.com/wileyyugioh/zotmoov/blob/master/docs/SETTINGS_INFO.md
*Zotmoov is not invoked when selecting right-click Rename File From Parent Metadata (the existing title is not changed).