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 47944 - Pasted files do not appear near mouse pointer
Pasted files do not appear near mouse pointer
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.11.x
Other All
: Normal normal
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 142879 317496 446261 601993 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-03-30 17:09 UTC by eli
Modified: 2012-08-13 22:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Proposed libnautilus-private/ patch (14.54 KB, patch)
2005-08-21 14:48 UTC, Christian Neumair
committed Details | Review
Proposed src/ glue (11.58 KB, patch)
2005-08-21 14:50 UTC, Christian Neumair
committed Details | Review

Description eli 2001-09-10 01:19:50 UTC
When you paste file(s) through a context menu, Nautilus doesn't place the
icon(s) next to the pasting point.

In contrast, Windows Explorer allows users to move files' icons through Cut and
Paste.

* REPRODUCIBLE: Always

* STEPS TO REPRODUCE:

1. Right-click on a file or folder icon on your desktop, and select "Cut File".

2. Right-click elsewhere on your desktop (or in a manually sorted folder), and
select "Paste Files"

* ACTUAL RESULTS: 

 
a) If you paste a file in the same directory that you copied it, absolutely no
feedback occurs that Paste operation occurred. Had you done this on Windows
Explorer, the icon would have been moved across the desktop, and placed at the
location where you clicked Paste.

b) If you paste in a different directory, the icon is placed (I think) in the
bottom-most available position in the folder, rather than at the location where
you clicked Paste. 

If we're adopting this Windows behavior to make Nautilus friendlier for people
coming from that mindset, I'd suggest adopting it in full, rather than
introducing various slight deviations that may confuse users.



------- Additional Comments From snickell@stanford.edu 2001-07-23 00:33:03 ----

Taking bugs previously assigned to Pavel, assigning them to myself. Will parse
them out at my leisure , but many are GnomeVFS bugs we should look at for 2.0



------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-09-09 21:19 -------
Comment 1 John Fleck 2002-01-05 04:21:05 UTC
Changing to "old" target milestone for all bugs laying around with no milestone set.
Comment 2 John Fleck 2002-11-18 04:10:22 UTC
Still there in 2.1.2 - given the lack of discussion I'm moving off to
"future"
Comment 3 Sebastien Bacher 2005-05-22 12:05:55 UTC
*** Bug 142879 has been marked as a duplicate of this bug. ***
Comment 4 Christian Neumair 2005-08-21 08:12:52 UTC
Most of the time this isn't relevant at all, because we use auto-layout which
automatically sorts the entries.

When using manual layout (used on the desktop at least), it would be nice to
have this "spatial pasting", though. I think I still have code for this.
The main issue is that the icon position iterator uses the source URI as a hint
where the position is stored in the icon position array, which is NULL for
newly-created folders. I've hacked the iterator to be able to take target URIs
into account as well, but the issue is that this doesn't work for name
conflicts, since the newly-created folder will be assigned a new name. We could
either change the URI in the position iterator, or remove the uri references
from the iterator struct, using only an index which is increaes for each
transferred file.
Comment 5 Christian Neumair 2005-08-21 14:48:36 UTC
Created attachment 51060 [details] [review]
Proposed libnautilus-private/ patch
Comment 6 Christian Neumair 2005-08-21 14:50:34 UTC
Created attachment 51061 [details] [review]
Proposed src/ glue

These two patches fix the issue at least for the creation of files/folders.
I've also submitted them to the nautilus mailing list [1] for review.

[1] http://mail.gnome.org/archives/nautilus-list/2005-August/msg00192.html
Comment 7 Alexander Larsson 2005-08-29 08:46:36 UTC
This bug is many years old, so it doesn't block the release.
We'll get back to this bug after the release.
Comment 8 Christian Neumair 2005-09-29 10:59:00 UTC
*** Bug 317496 has been marked as a duplicate of this bug. ***
Comment 9 Alexander Larsson 2005-11-14 14:57:10 UTC
I commited mannys patches, but we still don't get the position right on paste.
Comment 10 Kristoffer Lundén 2006-02-18 13:41:10 UTC
Came here from Launchpad 22730 (https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/22730) via Gnome Bug 317496. I suppose they are marked duplicate as it has to do with position, but what I'm interested in is not pasting into positions but rather newly created documents and folders as those bugs are about.

I often create new documents to take a note or similar and then I have to type the name and activate the file blindly or minimize apps that are blocking. In the beginning this resulted in quite a few empty files too, as I thought nothing happened.

Just wondering what the status of this is?
Comment 11 Susana 2007-08-08 01:24:08 UTC
*** Bug 446261 has been marked as a duplicate of this bug. ***
Comment 12 Baptiste Mille-Mathias 2009-11-24 20:15:11 UTC
*** Bug 601993 has been marked as a duplicate of this bug. ***
Comment 13 William Jon McCann 2012-08-13 22:40:45 UTC
This implies doing manual positioning in all folders. I don't think we want this. What we do already is ensure that the newly pasted file is scrolled into view.