Perhaps this is "as designed," but after renaming an attachment, the file itself does not change. Maybe just better to change "rename" to "edit description" since it does not actually rename the file.

Comments

iva2k’s picture

Title: rename does not rename the attachment, only the display label » "rename" does not rename the attachment, only the description / display label
Status: Active » Postponed (maintainer needs more info)

You bring up a valid point. Drupal core shows description field all the time and hence there is no "rename" button or such. So it seems to be a poor choice of name in this module since it hides the description field and puts up this link to show it.

But once you save the node, the description is actually used as the file's name in the files list display. It has some complications as it works as a rename after you save the node. But even further, if you download the file, it will be downloaded with the original file name.

It leaves this module in a hard position of trying to make a cohesive user interface out of this mess. In the light of this whole mess I can't come up with a suitable name to change "rename" to. If I change it to "edit description", then someone will come back and point out that after saving the file name seems to change, so it is a "rename" button.

The only thread of though I can grab onto is that files table should show both file name and the description prominently, so there is no confusion of which is which. Then "edit description" makes sense.

UX design is tough.

Any thoughts?