After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531750 - File deletion before writing it to disc on moving it to cd-burner
File deletion before writing it to disc on moving it to cd-burner
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] GIO
2.22.x
Other Linux
: Normal major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 546399 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-06 14:25 UTC by Alexander Behringer
Modified: 2008-12-16 18:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
nautilus-cd-burner-move-workaround.patch (1.56 KB, patch)
2008-05-09 16:38 UTC, Tomas Bzatek
none Details | Review

Description Alexander Behringer 2008-05-06 14:25:12 UTC
If you cut out a file using STRG+X and insert it to nautilus-cd-burner it will be deleted immediatelly (DATA LOSS!!!). 
This behaviour is comprehensible, because nautilus-cd-burner says "yeah, I got that file" so the source will be deleted - the normal process on moving a file. 

But it MUST NOT be possible to move a file to nautilus-cd-burner (resp. burn:///).
Comment 1 Tomas Bzatek 2008-05-09 16:38:45 UTC
Created attachment 110652 [details] [review]
nautilus-cd-burner-move-workaround.patch

This patch masks all move operations to burn:// as copy ones. Files will stay on their original locations. This is the same behavior as with old nautilus before GIO port.

Just an idea - would be nice to have full move support in the burn backend. Files would have to be moved in a temporary location and deleted after successful burning.
Comment 2 Christian Neumair 2008-05-13 12:55:16 UTC
Thanks for your work, I committed a different variant to trunk and to GNOME 2.22:

http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14159
http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14160

The proposed patch had the disadvantage of not falling back to GDK_ACTION_COPY if any of the source files is non-local (rather than all). I just removed that non-locality check because burn:/// does not support those file operations anyway.

Closing.
Comment 3 Fabio Bonelli 2008-12-16 18:26:08 UTC
*** Bug 546399 has been marked as a duplicate of this bug. ***