Bug 308282

Summary: drag and drop a file into the ark to add file
Product: [Applications] ark Reporter: TOM Harrison <l12436.tw>
Component: generalAssignee: Raphael Kubo da Costa <rakuco>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.19   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.5
Sentry Crash Report:

Description TOM Harrison 2012-10-12 09:40:54 UTC
your drag and drop function is not fix yet.
i could not add the file through the drag and drop.
it always recognize to archive file and try to open it.
i hop you can fix it as soon as possible.

Reproducible: Always

Steps to Reproduce:
1.open a archive file through ark
2.drag a file through dolphin and drop on the ark
3.you will see it will always recognize to archive file


Expected Results:  
it original action is add the file or directory to the archive that open by ark.
and it normal at kde version 4.8.5 ark
Comment 1 TOM Harrison 2012-10-12 09:44:26 UTC
and for now, i just could use overwrite file to turn back to ark 2.1.8.
this version is normal.
Comment 2 TOM Harrison 2013-05-07 08:27:16 UTC
is there any fix about this?
drag and drop on the ark UI still can not store the file.
it still recognize to open the file that you drag.
Comment 3 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 312693
FIXED-IN: 4.10.5

M  +6    -0    part/archivemodel.cpp

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