Zotero 7 "Rename File from Parent Metadata" not working?

edited August 12, 2024
Hi, I just upgraded last night and I am not sure if this has been brought up already, but I just added a few items that imported the main citation fine, but the attached PDF was just titled "Full Text PDF". When I right-clicked that and selected "Rename File from Parent Metadata", a little dialogue box says that that action is happening, but then nothing changes and The file still is titled "Full Text PDF". I thought I should quit Zotero and relaunch to see if it would update, but nothing. When I select "Show in Finder", it DOES show that the file has been renamed with the appropriate name ("Author - Year - etc etc"), but it still doesn't show it within Zotero. Is there a setting I need to change? Or is this a bug that needs to be fixed? Thanks, Samantha
edit: attaching screenshot that shows how the attached PDF title looks in Zotero, and how it looks in "Show in Finder"
https://s3.amazonaws.com/zotero.org/images/forums/u1713377/h4lfw8du564li76dvd9s.jpg
  • Hi @dstillman, thanks for flagging that - so basically in Zotero 7, there is NO way to make the attachment display with the actual file name? Or is there any advanced preference to adjust this (or plugins that address it)?
  • edited August 12, 2024
    You can view the filename in the right-hand pane after clicking on the attachment.

    And to be clear, Zotero has always renamed files automatically. Unless you edited the metadata after saving the item, you never need to run Rename File from Parent Metadata, and an upcoming version will automatically keep the filename in sync with the parent item metadata.
  • Yes, I realize that Zotero renames files automatically, but I often have to edit metadata, then rename.
    OK, that's great to hear that "an upcoming version will automatically keep the filename in sync with the parent item metadata" ! Do you mean it will then display it visually in the item itself? And do you know when this "upcoming version" may be released?
  • Do you mean it will then display it visually in the item itself?
    No, I'm saying that the filename will be automatically changed as you edit the metadata, so you'll never need to manually run Rename File from Parent Metadata.
  • I understand that the filename will be automatically changed as I edit the metadata... I'm just wondering if there might ever be future support for some customization that would allow me to see the file name instead of "Full Text PDF" underneath the item in question. Like in this screenshot example, I wish that it were possible for the circled "Full Text PDF" to actually say "Padbury - 2024- etc". It feels like a downgrade to not have the actual filename be visible in the location where it *was* indeed visible in Z6.
    https://s3.amazonaws.com/zotero.org/images/forums/u1713377/d4qgi0y0q2wpe1yfwynr.jpg
  • edited 29 days ago
    The reasons for this are explained on the linked page. Every part of the filename is already shown in the parent row in that screenshot. Why do you want to see the filename?

    And no, it's not correct to say that the actual filename was visible in Zotero 6 — Zotero has always had attachment titles like "Full Text PDF" that were separate from the filename. Again, the linked section explains the exact difference in behavior and the reasons the title might have been getting set to the filename before.
  • I'm having the same issue. Here's the comparison of the previously added items and the newly added ones. The latter have the renamed pdf shown as "PDF".
    I understand that zotero may not intend to display the full names before, but that was actually more convenient (to me, at least).
    https://s3.amazonaws.com/zotero.org/images/forums/u8801794/pqs9br2a2vck2a4veygv.png
    https://s3.amazonaws.com/zotero.org/images/forums/u8801794/l3crr95rg2xhgo6d1d29.png
  • edited 28 days ago
    @Linyinzheng: It's all explained on the linked page. You can say why you prefer seeing filenames, but there's no problem to report here — it's behaving as intended.
  • Out of curiosity, what is more convenient? It is just redundant information already provided in the main window (title, author, date...) and in the right panel.
  • I see, thanks for replying.

    Well, for the reasoning of the preference:

    The current display is alright, and I see the point here - the window looks clean and neat, without showing repetitive information.

    However, I personally think the previous display is more convenient, because "PDF" doesn't show any identifying information - one raw is just fine, but when you get a block of items with the same naming for the files, it's easy to click the wrong file. When the full names of the files are displayed, I won't have to shift my eyes to the right panel or other places, to double check if I'm going for the right file.
  • edited 28 days ago
    Well, if you're going to shift your eyes anywhere, it would just be to the parent row. You don't need to click on the attachment and then look in the right-hand pane.

    More importantly, you don't actually need to expand the parent item at all to open the attachment — you can just double-click on the parent item without expanding it. And the simpler naming prevents parent items from being unnecessarily expanded in the first place when you search for the title or author in All Fields & Tags mode. Your screenshots show exactly that: I don't know if the first screenshot was for a search, but in the second screenshot, "PDF" didn't match the search and wouldn't cause the parent item to be expanded, so you just wouldn't need to look at it at all in order to open it.
  • Yes, I completely understand your point. And you just reminded me, that they don't match search is a good thing that I didn't think of.
    My preference could also just all because that I became familiar with the previous version, I will try to get used to the current version.
  • BTW, I noticed that some time ago, @dstillman said
    "In any case, as we've said repeatedly, we plan to offer an option to show the filename instead of the attachment title for people who prefer that. "

    I am wondering if such an option is planned or not, and when available.
  • Just to bump @Xiu-Lei Ren's question, I'm curious if such an option is planned for the future?
  • dstillman explicitly said that is is planned, so yes?

    Timelines for development are generally not announced by the Zenodo developers.
  • First, hurrah for the new version. Great!
    I know this isn't existential but fwiw, I agree it's better to show the filename, not generic file format info in the list. I have read the linked page and get it but, if nothing else, the correct filename signals that the (stored) file has been updated.
    Also, there are also lots of attachments in my library that persist in showing the original filename gobbledygook, not "PDF" (or anything else), even after selecting rename from parent metadata.
    Bring on the option to show filename! :)
  • @davidhowarth:
    if nothing else, the correct filename signals that the (stored) file has been updated
    But that's the point — files in Zotero have always been renamed! You really don't need to check. I promise you it works and always has. This is what I'm saying — people got into the habit of running Rename File from Parent Metadata on every single item, thinking that was necessary to rename files, but it just never was. They have always been automatically renamed.

    And if you are manually running Rename File from Parent Metadata after making manual updates to the metadata, in Zotero 7 we added a popup in the bottom right to show that the filename is being changed. (This will also become unnecessary soon, as we'll be adding continuous file renaming as metadata is changed.)
    Also, there are also lots of attachments in my library that persist in showing the original filename gobbledygook, not "PDF" (or anything else), even after selecting rename from parent metadata.
    Yes, because Rename File from Parent Metadata no longer overwrites the simpler titles unnecessarily. That was a bug that has been fixed. The linked page contains some code you can run to quickly change existing attachments with titles based on the filename to use "PDF" instead. Clean titles everywhere!

  • BTW, I noticed that some time ago, @dstillman said
    "In any case, as we've said repeatedly, we plan to offer an option to show the filename instead of the attachment title for people who prefer that. "

    I am wondering if such an option is planned or not, and when available.
    +1. Indeed, https://forums.zotero.org/discussion/comment/444392/#Comment_444392
    And also
    https://forums.zotero.org/discussion/comment/440321/#Comment_440321

    I understand @dstillman and other Zotero developers decision on management of attachment titles, but I do not understand, why, if so many users want to see the filenames in the middle pane instead, they do not offer that option, even if they believe with good reasons to it that it is a worse option.
  • I'm frustrated with the same problem, and I don't understand why 7 isn't working like the previous version. I store several PDFs under a single item and up to now have had no problem modifying the name of each attachment In fact, for attachments already in place before the update, these match the file name as it is stored in Zotero structure. But for new items added, I'm just getting "PDF." So now, some attachments show up in Zotero as matching the file name as it is actually stored, and others don't? How does that make sense?
  • I just want to add my voice to the chorus: I would prefer it work the way it used to. I don't really care about the source of the PDF, I don't experience it as clutter, and I do not care about the potential impact on search results.

    The fact that all my pre-7 PDFs show the filename in the item list makes newly added items appear broken.

    I am inclined to return to version 6 until this is a user-configurable option in 7.

  • Just to make sure its heard, I also strongly prefer to see the actual name of the paper that pops under the main entry. Just having a generic PDF name or some random string of numbers annoys the hell out of me.
    I was running a beta test version of ZOterro thats ahead of the current version and was so annoyed that I reverted to the base version to see if it was a bug in the dev version to submit a bug report.
    I dont mind if the developers prefer it that way, I would like to have the option to change it, just like it was before all these years. Thanks!
  • OK. After a brief test of renaming all my 4GB worth of papers, I kinda understand what devs were going for. I guess I'll retrain myself to the new way. I am a convert now.
Sign In or Register to comment.