Bug 338414

Summary: "Add to archive" option when dragging and dropping onto an archive file.
Product: [Applications] dolphin Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: arjunak234, emmanuelpescosta099, faure, simonandric5
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: All   
Latest Commit: Version Fixed In:

Description Arjun AK 2014-08-20 18:34:51 UTC
Dolphin should have a "Add to archive" option when dragging and dropping onto an archive file, so that we can easily add files to archives without having to open ark.
Comment 1 Frank Reininghaus 2014-08-20 19:40:27 UTC
Thanks for the idea! I agree that this could come in very handy in some situations.

The code that is responsible for the menu that appears after dropping files is in the function KonqOperations::doDropFileCopy() in lib/konq/konq_operations.cpp in the kde-baseapps respository.

You might want to discuss the implementation with David. I'll CC him, but maybe mailing him and CC'ing the kfm-devel list is a better option?
Comment 2 Emmanuel Pescosta 2014-08-20 19:55:24 UTC
I think adding write to zip support in the zip kioslave does the job (there are already some feature requests related to kio write support for zip archives). The same could also be done for tar, ...

KArchive also has some nifty methods for that ;)
http://api.kde.org/frameworks-api/frameworks5-apidocs/karchive/html/classKArchive.html#ab5a2f90d4003664127e744d078162c34
http://api.kde.org/frameworks-api/frameworks5-apidocs/karchive/html/classKArchive.html#a1e3b4d361c4b57fe8cb956a9b49a85e4

Enabling drag and drop for archives in Dolphin should be fairly easy when we have rw-kioslaves for archives.

(I'll have a look at it in about 2 weeks if David agrees and Arjun doesn't come up with a patch in the meantime ;)
Comment 3 Arjun AK 2014-08-21 06:31:06 UTC
(In reply to Emmanuel Pescosta from comment #2)
> I think adding write to zip support in the zip kioslave does the job (there
> are already some feature requests related to kio write support for zip
> archives). The same could also be done for tar, ...
> 
> KArchive also has some nifty methods for that ;)
> http://api.kde.org/frameworks-api/frameworks5-apidocs/karchive/html/
> classKArchive.html#ab5a2f90d4003664127e744d078162c34
> http://api.kde.org/frameworks-api/frameworks5-apidocs/karchive/html/
> classKArchive.html#a1e3b4d361c4b57fe8cb956a9b49a85e4
> 
> Enabling drag and drop for archives in Dolphin should be fairly easy when we
> have rw-kioslaves for archives.
> 
> (I'll have a look at it in about 2 weeks if David agrees and Arjun doesn't
> come up with a patch in the meantime ;)

Why not use Ark?
Comment 5 Justin Zobel 2021-03-09 02:18:48 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.