Summary: | Temporary file is not deleted when I cancel a compression to .arj formats started via Dolphin context menu | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Patrick Silva <bugseforuns> |
Component: | plugins | Assignee: | Ragnar Thomsen <rthomsen6> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | elvis.angelaccio, frederick888, meven29, rapiteanu.catalin |
Priority: | NOR | ||
Version: | 23.08.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Patrick Silva
2018-01-21 18:59:19 UTC
This issue is still reproducing using Ark 18.12.2. I can confirm this using Ark 19.12.2. A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/95 https://invent.kde.org/utilities/ark/-/merge_requests/95 will fix most plugins. Other patch for the libzip plugin: https://invent.kde.org/utilities/ark/-/merge_requests/94 The plugin I could identify that would not work is clipzip (the java case here). For the plugin clizip we could use --temp-path but which temp path to use ? I would guess a hidden unique dir in the destination dir. Git commit e1c19e2222d1ce364d7ec5b4b275ffb3aab0d234 by Méven Car. Committed on 05/02/2022 at 08:41. Pushed by meven into branch 'release/21.12'. CreateJob: Clean up temp file after cancellation Works for most cli plugins except zip. M +14 -1 kerfuffle/jobs.cpp https://invent.kde.org/utilities/ark/commit/e1c19e2222d1ce364d7ec5b4b275ffb3aab0d234 Git commit 6ffd4344f7913eb3d9b3978f4b91a38f9d2db1df by Méven Car. Committed on 07/02/2022 at 10:59. Pushed by meven into branch 'release/21.12'. libzip: Implement proper cancelation, using libzip 1.6 M +5 -0 CMakeLists.txt A +6 -0 config.h.in M +19 -4 plugins/libzipplugin/libzipplugin.cpp M +1 -0 plugins/libzipplugin/libzipplugin.h https://invent.kde.org/utilities/ark/commit/6ffd4344f7913eb3d9b3978f4b91a38f9d2db1df cannot reproduce with 7zip format, java format is not available on my Ark 22.04.1. Was support for java format removed? Operating System: Arch Linux KDE Plasma Version: 5.24.90 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.4 Graphics Platform: Wayland (In reply to Patrick Silva from comment #7) > cannot reproduce with 7zip format, java format is not available on my Ark > 22.04.1. Was support for java format removed? > > Operating System: Arch Linux > KDE Plasma Version: 5.24.90 > KDE Frameworks Version: 5.94.0 > Qt Version: 5.15.4 > Graphics Platform: Wayland You need `unzip` and `zip` installed on your machine and the ark `clizipplugin` plugin installed to have support for java archives. Unfortunately for this plugin cleaning leftover files is a bit more complicated. Can confirm that java format is available on my system after installing zip package. unzip was already installed. Thank you Méven. :) (In reply to Patrick Silva from comment #9) > Can confirm that java format is available on my system after installing zip > package. unzip was already installed. > Thank you Méven. :) The thing is the c++ zipplugin could be used for any zip based archive, it is just a metadata issue. Can also reproduce with .arj format. Cannot reproduce with .jar format anymore. Cannot test .arj because currently the compression to this format is broken. |