Deleted files cannot be restored from Trash

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
orbspider
Posts: 135
Joined: Tue May 22, 2012 5:42 pm
Location: uk
Contact:

Deleted files cannot be restored from Trash

Post by orbspider » Sat Apr 13, 2013 9:44 pm

I discovered that after deleting a file with XnviewMP i can't restore it from trash.

i get an error message with Thunar:
  • Could not restore "xxxxxxxx.JPG"
    Failed to determine the original path for "xxxxxxxx.JPG".
I get no action at all with Pcmanfm

And with Xfe:
  • Restore information not available for ....
v0.51
Debian Wheezy 64bit, LXDE

pim
Posts: 27
Joined: Sun Nov 06, 2011 12:11 pm

Re: Deleted files cannot be restored from Trash

Post by pim » Sun Apr 14, 2013 3:41 pm

I can confirm this. Same in Gnome 3. Don't know what about you but in my case the file is renamed by the XnView MP when deleted (Example: DSC05171.JPG --> DSC05171_130413-101116.JPG) so system cannot determine former location. For the time beeing it can be restored manually in terminal:

Code: Select all

cp trash:///file.JPG /some_path/file.JPG
Version 0.92 x64 (Sep 29 2018) - un*x

orbspider
Posts: 135
Joined: Tue May 22, 2012 5:42 pm
Location: uk
Contact:

Re: Deleted files cannot be restored from Trash

Post by orbspider » Sun Apr 14, 2013 9:22 pm

Ah that is true. the file is renamed.

I see numbers like _130414-184528 infixed before .JPG i.e the date of deletion.

True also, it is possible to copy files out of Trash and paste back into their original folder.

Post Reply