GNOME Bugzilla – Bug 577155
Wrong file name after restoring from trash
Last modified: 2013-01-09 13:18:15 UTC
Reported on Launchpad: http://bugs.launchpad.net/bugs/350172 To reproduce: * Create two directories - "dir1" and "dir2"; * In each directory, create a file the same name (ex. "foo.bar") The directory structure should look like dir1/foo.bar dir2/foo.bar * Move both files to the trash Now the trash contains two files with the same name. * Restore each file from the trash using "Edit->Restore" Result: The name of one of the files is "foo.2.bar", so it looks like dir1/foo.bar dir2/foo.2.bar
This can be reproduced with 1.12.1 on Ubuntu 12.04.
I tested this with gvfs 1.14.2 (on current Ubuntu), and this works fine now. gvfs now also has a test case (test_deletion_with_same_path) which covers this.