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 61269 - drag of mounted directory on desktop does copy instead of reposition
drag of mounted directory on desktop does copy instead of reposition
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.11.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 99347 100471 109055 141065 145112 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-09-27 06:38 UTC by adv
Modified: 2007-11-06 13:21 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Proposed patch against HEAD (1.24 KB, patch)
2005-07-20 11:00 UTC, Christian Neumair
committed Details | Review

Description adv 2001-09-27 06:38:58 UTC
Symptom:
Nautilus treats drag and drop of NFS directories on the desktop as "copy"
instead of as a layout change.

How to reproduce:Configure Nautilus to use your home directory as your desktop.
Mount an NFS volume in your home directory.
Attempt to change the position of the directory on your desktop.

Nautilus will create a copy of the directory at the position you dragged to
and leave the original in it's original position.
Comment 1 Mark Finlay 2002-11-24 15:35:09 UTC
This applies not only to nfs but also to local partitions
Comment 2 Mark Finlay 2002-11-24 15:36:44 UTC
*** Bug 99347 has been marked as a duplicate of this bug. ***
Comment 3 Mark Finlay 2002-11-24 15:43:32 UTC
Bug 95302 is almost a duplicate of this as well,
if what he says on that bug is true then this bug
should be critical and be fixed as soon as possible.

The issue is that nautilus copys when dragging
from one file system to another, and moves when dragging within one
file system.

If i am dragging a directory within a mount onto the desktop then
it should be moved. But the directory that the nfs mount
or partition is mounted into, is in fact a directory on the
local partition. 

Nautilus needs to make the distinction between a folder within a mount
and the folder a mount is mounted into.
Comment 4 Mark Finlay 2002-11-24 15:45:06 UTC
Sorry, should be:

If i am dragging a directory within a mount onto the desktop THEN
it should be copied. But the directory that the nfs mount
or partition is mounted into, is in fact a directory on the
local partition, so when it it draged it should be moved.
Comment 5 Mark Finlay 2002-11-24 15:48:01 UTC
hmm, just relised that what i said above is wrong. Nautilus' behavior
at present is as close to correct as it can get. I think that there
just needs to be a distinction made between moving a folder from one
place to another, and just moving an icon around the desktop or a
nautilus window.
Comment 6 Mark Finlay 2003-01-28 21:14:18 UTC
It'd be really great to get this fixed. Causes lots of trouble, is
fully reproducable and can't be that hard to fix.
Comment 7 Mark Finlay 2003-06-08 15:24:56 UTC
*** Bug 100471 has been marked as a duplicate of this bug. ***
Comment 8 Matthew Gatto 2004-02-19 23:03:04 UTC
*** Bug 109055 has been marked as a duplicate of this bug. ***
Comment 9 Matthew Gatto 2004-02-19 23:08:18 UTC
Removing Target Milestone since were past 2.4. Bumping Version -> 2.3.
From the comments here and the report in the above duplicate this
appears to be valid for any type of mount, not just NFS. Can anyone
reproduce in recent versions of nautilus? And if so, with what mount
types?
Comment 10 Matthew Gatto 2004-02-19 23:19:04 UTC
duplicate bug 100471 above had it occuring with reiserfs too so it was
likely more than just an NFS problem, and sublime on irc in #bugs said
it works for him on 2.4 with a vfat directory, so I'm assuming this is
fixed. Someone please reopen if they can reproduce it in recent
versions (2.4 or 2.5)
Comment 11 Martin Wehner 2004-04-01 22:05:23 UTC
I just reproduced this one in 2.6.0 with an vfat partition.
Reopening, updating version & summary.
Comment 12 Sebastien Bacher 2004-04-25 13:59:45 UTC
*** Bug 141065 has been marked as a duplicate of this bug. ***
Comment 13 Kjartan Maraas 2005-01-04 01:35:38 UTC
Has anyone seen this since 2.8.x?
Comment 14 Martin Wehner 2005-02-12 08:38:00 UTC
*** Bug 145112 has been marked as a duplicate of this bug. ***
Comment 15 Kevin Breit 2005-07-16 05:59:15 UTC
Kjartan Maraas, I have reproduced this bug just tonight.  I am using Nautilus
2.10.0 on Ubuntu Horay.  I have a mounted NFS dir on my ~/ and when I drag it,
it tries to copy.  This bug still exists.
Comment 16 Christian Neumair 2005-07-20 11:00:48 UTC
Created attachment 49450 [details] [review]
Proposed patch against HEAD

I've also submitted this patch to nautilus-list [1] for review.

[1] http://mail.gnome.org/archives/nautilus-list/2005-July/msg00254.html
Comment 17 Kim Holviala 2007-11-06 13:16:46 UTC
Bug still present in current Debian Testing Nautilus, version 2.18.3-3. Unlike others I only have my ~/Desktop on NFS because I don't want to share my $HOME with all the distributions/versions I run concurrently with xen domU's (Centos, Debian, Ubuntu etc). But I do want to share the current stuff I work on that's located under ~/Desktop.

kimmy@debian:~$ dpkg -l nautilus | grep ii
ii  nautilus                          2.18.3-3                         file manager and graphical shell for GNOME

kimmy@debian:~$ ls -lad Desktop
lrwxrwxrwx 1 root root 34 2007-10-31 15:00 Desktop -> /net/xenserver/home/kimmy/Desktop/

And /net is NFS-automounted from my xen dom0. Any time I try to move a file or folder on my Desktop it creates a new copy. Moving icons is impossible.
Comment 18 Kim Holviala 2007-11-06 13:21:00 UTC
Logged into Ubuntu Gutsy, the bug still there with Nautilus version 1:2.20.0-0ubuntu7. I get a (copy) when I move an icon on my NFS-automounted ~/Desktop, and (another copy) after that....