GNOME Bugzilla – Bug 41852
Items should be restored to original name when moved out of trash
Last modified: 2008-08-16 10:07:48 UTC
Items in the trash are renamed if there is a name conflict (due to multiple files with the same name being deleted). If you drag them back out, however, the original name should be restored, otherwise, dragging an item into the trash and back out could change the name. Also, perhaps items should always show up with the original name in the trash, regardless of renaming. ------- Additional Comments From darin@bentspoon.com 2000-08-01 18:45:34 ---- This goes beyond what trash implementations on others systems do, and is deferrable, especially since it only affects cases where you move an item back out of the trash, which is relatively rare. ------- Additional Comments From eli@eazel.com 2000-10-16 19:43:21 ---- Batch-assigning QA ownership of remaining bugs to eli@eazel.com ------- Additional Comments From eli@eazel.com 2001-03-26 11:20:32 ---- SPAAAAAAAAAM! (Jon Allen has taken these components; QA Assigning bugs to him.) ------- Additional Comments From snickell@stanford.edu 2001-07-23 00:38:36 ---- Taking bugs previously assigned to Pavel, assigning them to myself. Will parse them out at my leisure , but many are GnomeVFS bugs we should look at for 2.0 ------- Additional Comments From mjs@noisehavoc.org 2001-07-23 01:17:10 ---- Move to unassigned. I'll probably want to take a crack at some of these myself, and Seth says he is unlikely to. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 20:34 -------
This behaviour still exists in 2.1.2
This would need to be implemented if undelete is to be added (bug 41850)
Good catch. I think this can be fixed by spefiying the G_FILE_ATTRIBUTE_STANDARD_COPY_NAME of trash:///. Reassigning to gvfs / trash backend.
Created attachment 115016 [details] [review] Proposed patch Proposed patch. Sets the copy name ot the display name in case it is valid UTF-8.
Have you tested this ?
Nevermind, I just tested it, and it works.
Done, closing.