Bug 312693 - Cannot add multiple files to archive by drag and drop (2.19 regression)
Summary: Cannot add multiple files to archive by drag and drop (2.19 regression)
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.19
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Raphael Kubo da Costa
URL:
Keywords:
: 317309 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-05 16:40 UTC by Stephen Mollett
Modified: 2013-06-27 12:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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