Attachment title retains the old name after renaming
dstillman
Zotero Team
This discussion was created from comments split from: Renaming files from parent meta data is not updating the displayed file name in Zotero.
Upgrade Storage
Please see the example in the screenshot (the link expires in six months): https://ibb.co/VWcC3qts
I agree with the other users: it is frustrating to have the attachment and its title show different names. Ideally, the title should match the attachment’s name, or at least default to something like “PDF”, “Attachment”, etc., instead of keeping an outdated title.
Thank you.
1. Create a bibliographic entry as usual and attach the PDF. It will be automatically renamed (e.g., Smith - 2025 - Foo.pdf). Its title is identical to the file name (Smith - 2025 - Foo.pdf).
2. Correct the author's name or the date of the item, for example, by changing the date to 2024.
3. Use the "Rename File from Parent Data" option to correct the name of the attached file. Result: the file name is corrected (Smith - 2024 - Foo.pdf) but its title remains unchanged (Smith - 2025 - Foo.pdf).
Zotero version : 7.0.27 (64-bit)
Report ID : 1645340629
Debug ID : D1091732444
Your debug output shows an open-access PDF file being downloaded and titled "Texte intégral". Zotmoov then changes its title to match the filename.
Apparently, Zotmoov is causing this problem.
I think I added this file originally on iOS. iOS doesn't rename files, so I tried it today on desktop and this was the result.
https://s3.amazonaws.com/zotero.org/images/forums/u16078769/hg7tnjstm2lwldihzdue.png
1) I create the parent item from an ISBN. I drag the PDF from my desktop onto the parent item. It automatically renames the file, and the attachment name becomes PDF
2) Instead of dragging onto the parent item, I add the pdf directly to my library. Then I create the parent item separately and drag the pdf attachment from within my library onto the parent item. It does not rename automatically. But if I use "rename after parent" it successfully changes both the filename and attachment title.
yet, for many files I originally added on ios it refuses to rename the attachment title
Note that the latest version of the iOS app supports PDF metadata retrieval and automatic renaming, so in many cases if you save a PDF directly you'll end up with a "PDF" attachment with a filename matching the parent item. (You should still save from article pages where possible, just as with the Zotero Connector on the desktop.)