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 312090 - Problems with drag-drop with large files
Problems with drag-drop with large files
Status: RESOLVED DUPLICATE of bug 97609
Product: file-roller
Classification: Applications
Component: general
2.11.x
Other Linux
: Normal critical
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2005-07-30 21:25 UTC by Luke Hutchison
Modified: 2006-03-19 18:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luke Hutchison 2005-07-30 21:25:54 UTC
If you drag a large file out of the File-Roller window, it immediately starts
unarchiving it.  The UI becomes very unresponsive to detecting the end of the
drag-drop operation, and you may end up dropping the icon in the wrong place as
a result.  Also, pressing Esc before dropping the icon doesn't seem to stop the
unarchive operation, i.e. it can't be aborted until it's completed.  Probably
the unarchival should not start happening until the icon is dropped at its
destination.

Additionally, there is a much worse bug: If you drag an icon out of the
File-Roller window, and then decide you didn't want to do that (perhaps because
the "Extracting" window has popped up and is making it hard to drop the file
where you want), if you drag the file back into the file-roller window and
release the mouse, then it actually starts *adding* the partially-decompressed
file back into the archive!  This overwrites the file in the archive with a
truncated version, so part of the file is lost.

These problems would all be solved by:
(1) only decompressing when you actually know the drag-drop target;
(2) making a drag-drop from a File-Roller window onto itself a no-op, or at
least where the source and dest folders in the archive are the same (so if you
drag from one directory onto the icon of another directory in the same archive,
it should probably add the file to that directory, but not when source and dest
dirs are identical).
Comment 1 Matthew Strait 2005-08-16 20:40:03 UTC
Probably related to all this (and several other bugs): You can't drag files from
the archive onto a folder icon in nautilus to have the files extracted to that
folder.  They just land next to the folder (in the parent directory of where you
intended).
Comment 2 Luke Hutchison 2005-08-17 01:56:23 UTC
Matthew: that might actually be a different bug.  The way to tell the difference
is if it succeeds when you drag one small file out of the archive and it fails
when you drag many files or one large file out of the archive, then it's the
same problem, otherwise it's a separate problem and probably needs a separate
bug report.
Comment 3 Paolo Bacchilega 2005-08-17 10:10:37 UTC
I applied a patch to avoid drag&drop on the same window.
Comment 4 Keith Lea 2005-10-19 21:34:26 UTC
This is a duplicate of bug 97609
Comment 5 Teppo Turtiainen 2006-03-19 18:08:35 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 97609 ***