Summary: | Ark should be able to edit files inside archives | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Marc Collin <marc.collin> |
Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | anssi.hannula, hceylan, mte90net, rakuco, stu109382 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ark/f1cf10f25af245823f81b8ff457a04c7593dede7 | Version Fixed In: | 15.12.0 |
Sentry Crash Report: |
Description
Marc Collin
2009-09-23 22:37:30 UTC
What file format are you specifically talking about? There already is support for editing tarballs, zips, rars and 7zs. i open a jar file, i click on manifest file, ark open it... but i can't edit it... that could be nice if i can edit it and ark save it Ah, you mean edit the contents of a file inside the archive and update the archive with it? ya directly I'd appreciate just having the capability to open a file in read-only mode. Currently one has to use the preview window, which is not suitable for reading large text files, for example. Editing would be a plus, of course. Changing the default assignee in the currently open Ark bug reports to me. any news? Git commit f1cf10f25af245823f81b8ff457a04c7593dede7 by Ragnar Thomsen. Committed on 08/10/2015 at 16:23. Pushed by rthomsen into branch 'master'. Add an "Open File" action The action opens an archive entry with the associated application. This was previously only possible through the "Open With" action, but this required several clicks. The "Open With" action is renamed to "Open File With" for consistency. Currently, the Preview action is still the default, i.e. when the user clicks an archive entry the Preview action is called. QSignalMapper is used to connect the signals from the Open File, Open File With and Preview actions to the same slot. As for Preview, the file is extracted to a QTemporaryDir and then opened. The temporarily extracted file is monitored for changes using QFileSystemWatcher and on change a KMessageBox is opened to query the user if the archive should be updated with the modified file. If the user accepts slotAddFiles() is called. The previously unimplemented path argument of slotAddFiles() is used to allow for updating a file in a subdirectory within the archive. Related: bug 201162 FIXED-IN: 15.12.0 REVIEW: 125339 GUI: M +9 -5 part/ark_part.rc M +165 -65 part/part.cpp M +15 -11 part/part.h http://commits.kde.org/ark/f1cf10f25af245823f81b8ff457a04c7593dede7 *** Bug 354266 has been marked as a duplicate of this bug. *** |