Bug 310739 - Cannot drag-drop files of multiple file type in split view
Summary: Cannot drag-drop files of multiple file type in split view
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: split view (show other bugs)
Version: 2.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-26 23:16 UTC by Dion Moult
Modified: 2013-11-13 15:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Moult 2012-11-26 23:16:09 UTC
Dragging and dropping across a splitview of multiple files of more than one file type no longer works.

Reproducible: Always

Steps to Reproduce:
1. Split the view
2. In left pane, select more than one file which are different file types
3. Drag and drop to the right view
Actual Results:  
The cursor will have a "Cancel" icon indicating you cannot drop it and letting go the mouse button does nothing.

Expected Results:  
It should show the plus icon and when you let go, show you the menu to copy/move etc.

Works if the multiple files are the same filetype
Comment 1 Frank Reininghaus 2012-11-27 06:10:05 UTC
Thanks for the report, but I can't reproduce. Maybe it depends on the view mode/sorting options/grouping? I tried a couple of things, but did not see the bug. Please try to provide more details, and tell us what your KDE/Qt version is. A screenshot might also be helpful. Thanks.
Comment 2 Dion Moult 2012-11-27 06:26:56 UTC
Interesting, I did a little bit more study and apparently it only happens if the split view that you are dragging _from_ has preview turned on.

I have view mode icons, and sort by type, but changing either of those doesn't affect it.
Comment 3 Frank Reininghaus 2012-11-27 06:30:52 UTC
Thanks for the quick reply, but I still cannot reproduce. Maybe it depends on the particular file types?
Comment 4 Dion Moult 2012-11-27 06:42:07 UTC
I am trying with a html and jpg file. Oddly enough it also works with some other html and jpg files.

I have selected two files where it always exhibits the failure for me, and uploaded them here: http://thinkmoult.com/private/tmp/ - I have also tried redownloading them, moving to a separate directory, renaming them...no luck! Hopefully it helps you replicate the problem.
Comment 5 Geoff Cutter 2013-04-09 11:34:27 UTC
Copying a directory containing about 10,000 files and 19 subdirectories by drag and drop from an external disk.
/var/run/media/geoff/SAMSUNG/Geoff-20130408/Sort Out (D)
to
/home/geoff/
fails to copy all. Inconsistent numbers but no crashes.

The files are a mixture of types and filenames use English or Japanese.

Results: 949 files (instead of 10,000) copied, target renamed then repeating the copy got 1,055 files. I get two subdirectories copied, not 19.
I did copy all 10,000 files by selecting them, instead of the folder, and dragging and dropping them. 

Folders with smaller numbers seem okay.

2.2
Linux (x86_64) release 3.7.10-1.1-desktop
 

PROPERTIES of the source also underreports as 3,365 files 16 sub-folders, (7.7GB).

I have a fresh and current (with a few things now added) installation of openSUSE 12.3.
Comment 6 Geoff Cutter 2013-04-10 00:10:55 UTC
A PROPERTIES test on the source directory with Dolphin and Krusader give different figures. Both change when a refresh is done.
Comment 7 Geoff Cutter 2013-04-10 23:52:31 UTC
Perhaps there is some problem in my case with the communications between the PC and the 1T external hard disk so it  may be that Dolphin (and Krusader) is just reporting the errors it sees.
Comment 8 Emmanuel Pescosta 2013-09-11 19:28:03 UTC
@Dion Moult:
Can you still reproduce this problem with the newest Dolphin?

I tested it with the files you have provided and with some other files - it worked without problems.
Comment 9 Frank Reininghaus 2013-10-04 08:44:00 UTC
Please reopen this report if the problem can be reproduced with Dolphin 4.11.2 or later. Thanks for your help.

@Geoff: your problem is probably unrelated to this report. If copying folders with Dolphin and Krusader does not work correctly for you, it's probably a problem with the KIO library.
Comment 10 Dion Moult 2013-11-13 15:58:17 UTC
Seems to work fine now :) Thanks very much.