Bug 338414 - "Add to archive" option when dragging and dropping onto an archive file.
Summary: "Add to archive" option when dragging and dropping onto an archive file.
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 18:34 UTC by Arjun AK
Modified: 2021-03-09 02:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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