desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #135944
[Bug 1495943] [NEW] gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
Public bug reported:
[System]
Ubuntu MATE 15.10, fully updated.
[Steps to reproduce]
1. Create an empty file: touch ~/test
2. Move it to trash: gvfs-trash ~/test
3. Launch some file manager, browse Trash folder and try to restore the file. I've tested it with the following file managers: Caja, Nemo, Nautilus and Thunar.
[Expected result]
The file should be restored to its original location.
[What happens instead]
The file manager complains that it can't determine the original location
of the file, and so doesn't restore it.
[Details]
When moving file to Trash, gvfs-trash does not add trash::orig-path and
trash::deletion-date attributes to it. Without that the file manager
can't determine the original location of the file, and hence can't
restore it.
You can check the file attributes by printing the moved file's info:
gvfs-info trash:///test
[Regression description]
Restoring the files has been working fine in Ubuntu 14.04 and 15.04.
This bug appeared only in 15.10, so it's a regression.
You can see the gvfs-info output from 15.04 and 15.10 in the attachments
below.
** Affects: gvfs (Ubuntu)
Importance: Undecided
Status: New
** Tags: trash wily
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1495943
Title:
gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
Status in gvfs package in Ubuntu:
New
Bug description:
[System]
Ubuntu MATE 15.10, fully updated.
[Steps to reproduce]
1. Create an empty file: touch ~/test
2. Move it to trash: gvfs-trash ~/test
3. Launch some file manager, browse Trash folder and try to restore the file. I've tested it with the following file managers: Caja, Nemo, Nautilus and Thunar.
[Expected result]
The file should be restored to its original location.
[What happens instead]
The file manager complains that it can't determine the original
location of the file, and so doesn't restore it.
[Details]
When moving file to Trash, gvfs-trash does not add trash::orig-path
and trash::deletion-date attributes to it. Without that the file
manager can't determine the original location of the file, and hence
can't restore it.
You can check the file attributes by printing the moved file's info:
gvfs-info trash:///test
[Regression description]
Restoring the files has been working fine in Ubuntu 14.04 and 15.04.
This bug appeared only in 15.10, so it's a regression.
You can see the gvfs-info output from 15.04 and 15.10 in the
attachments below.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1495943/+subscriptions
Follow ups
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-10-21
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Bug Watch Updater, 2015-10-21
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-10-19
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-10-17
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: flocculant, 2015-10-16
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-10-16
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-10-16
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Sebastien Bacher, 2015-10-16
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-10-15
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Bug Watch Updater, 2015-10-14
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Bug Watch Updater, 2015-10-06
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-10-06
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-10-06
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Ubuntu QA Website, 2015-10-05
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-10-05
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-10-05
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Bug Watch Updater, 2015-09-30
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Bug Watch Updater, 2015-09-28
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Sebastien Bacher, 2015-09-28
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Iain Lane, 2015-09-28
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Sebastien Bacher, 2015-09-28
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Ubuntu QA Website, 2015-09-27
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Alberto Salvia Novella, 2015-09-18
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-09-17
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Launchpad Bug Tracker, 2015-09-15
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-09-15
-
[Bug 1495943] Re: gvfs-trash doesn't add "trash::" attrs to file which is moved to Trash
From: Monsta, 2015-09-15