See steps Reproducible: Always Steps to Reproduce: 1. Open a huge tar-based archive 2. Add some file to it 3. Close Ark Actual Results: The original archive is gone, the resulting file is only a fraction of what it was before. Expected Results: The archive should not be modified at all, since we aborted the job. CLI-based plugins don't seem to suffer this issue.
Git commit d1444e74574dd4c57455ab0dd554da105ac37498 by Elvis Angelaccio. Committed on 23/10/2016 at 09:26. Pushed by elvisangelaccio into branch 'Applications/16.08'. libarchive: fix data loss when aborting AddJobs and Deletejobs Currently there is data loss when we abort an AddJob or DeleteJob with the libarchive plugin. This happens because we always call `commit()` on the QSaveFile. With this patch we call `commit()` only when we are not aborting (killing) the job. FIXED-IN: 16.08.3 Differential Revision: D3129 M +12 -5 plugins/libarchive/readwritelibarchiveplugin.cpp http://commits.kde.org/ark/d1444e74574dd4c57455ab0dd554da105ac37498