Bug 312693

Summary: Cannot add multiple files to archive by drag and drop (2.19 regression)
Product: [Applications] ark Reporter: Stephen Mollett <sgm98guard-kdebugs>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED FIXED    
Severity: normal CC: fe-pavel
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.5

Description Stephen Mollett 2013-01-05 16:40:00 UTC
When attempting to add multiple files to an open archive by dragging them into the archive list pane, the "not permitted" cursor is displayed and dropping the files does nothing. (Another, different, issue affects drag and drop of a single file/directory into Ark to add it to an archive - see bug 308282.)

This is a regression from Ark 2.18 to 2.19.

Reproducible: Always

Steps to Reproduce:
1. Open an archive in Ark
2. Select multiple files and/or folders in Dolphin
3. Attempt to add the files to the archive by dragging and dropping them onto the Ark list view pane
Actual Results:  
The cursor changes to the "not permitted" symbol when it enters the Ark window and the files are not added to the archive when they are dropped.

Expected Results:  
Expected behaviour, observed in version 2.18 and earlier, is that the files are added to the archive.
Comment 1 Raphael Kubo da Costa 2013-06-27 12:02:01 UTC
*** Bug 317309 has been marked as a duplicate of this bug. ***
Comment 2 Raphael Kubo da Costa 2013-06-27 12:10:22 UTC
Git commit d180ec0a6d8cb9b21e71cc65d40de9ab77464020 by Raphael Kubo da Costa.
Committed on 27/06/2013 at 12:08.
Pushed by rkcosta into branch 'KDE/4.10'.

Add back a few MIME types to ArchiveModel::mimeTypes().

Fix a regression introduced in commit c79d8db2: some of the MIME types which
got removed were not bogus at all. While they are not used for _dropping_,
they are used for _dragging_.

This should make dragging single or multiple files/folders from, say,
Dolphin to Ark work again.
Related: bug 308282
FIXED-IN: 4.10.5

M  +6    -0    part/archivemodel.cpp

http://commits.kde.org/ark/d180ec0a6d8cb9b21e71cc65d40de9ab77464020