Open schorschii opened 1 year ago
The Trash bin is designed to hold deleted files and allows you restore selected items.
It's not designed for copying or moving items.
See ~/.local/share/Trash/
for details.
You cannot restore a file or directory if the relevant parent directory is missing.
I don't know if we are talking about the same thing. The parent directory (including the sub directory which should be restored) is also in the trash bin (so, it exists and is NOT missing) as I described in the first post.
If you mean this is not a supported feature, okay, but then it is still a bug since a progress bar appears but never finishes...
But it would still be nice to have this feature as some users will certainly try to do this intuitively via drag & drop.
I don't know if we are talking about the same thing. The parent directory (including the sub directory which should be restored) is also in the trash bin (so, it exists and is NOT missing) as I described in the first post.
If you mean this is not a supported feature, okay, but then it is still a bug since a progress bar appears but never finishes...
But it would still be nice to have this feature as some users will certainly try to do this intuitively via drag & drop.
You will need to file your request to upstream gvfsd as they provide the trash functions.
Issue created in the gvfsd repo: https://gitlab.gnome.org/GNOME/gvfs/-/issues/747
Dear Nemo team,
Please consider removing the functionality of moving sub-files and sub-directories of deleted directories out of the trash bin since it is not allowed in the freedesktop trash specification.
Ondrej Holy wrote in the gvfs issue:
Moving subdirectories / subfiles out of the trash dir is not allowed currently. The trash specification (https://specifications.freedesktop.org/trash-spec/trashspec-latest.html) says:
If a directory was trashed in its entirety, it is easiest to undelete it or remove it from the trash only in its entirety as well, not as separate files. The user might not have the permissions to delete some files in it even while they do have the permission to delete the directory!
Nautilus allows just the "Copy" action for subdirectories / subfiles, the "Move" (and "Cut") action is disabled. I suppose that Nemo should be fixed to do the same...
@leigh123linux @mtwebster @clefebvre
Issue It is not possible to move sub directories or files of deleted directories out of the trash bin. A progress bar appears ("Preparing moving file") but never finishes, it can't even be cancelled - the window stays open forever.![Bildschirmfoto vom 2024-07-03 11-15-12](https://github.com/linuxmint/nemo/assets/17480795/84478ec1-10df-4fab-8a88-9a6af5a420fc)
Steps to reproduce Create a directory with files in it. Move this directory to trash. Then, open the trash bin and try to move a file inside the deleted folder to the desktop or any other location.
Expected behaviour File or directory should be moved to the target location.
Other information