Ark issueshttps://invent.kde.org/utilities/ark/-/issues2024-03-27T12:44:38Zhttps://invent.kde.org/utilities/ark/-/issues/17Make the extraction path subfolder not ambiguous2024-03-27T12:44:38ZAndrew SharkMake the extraction path subfolder not ambiguousCurrently we have such menu items when right clicking the archive:
* `Extract here`
* `Extract here and delete archive`
* `Extract to...`
![current_extract_service_options](/uploads/de0beb45bef812332a9ec03c15c97e62/current_extract_serv...Currently we have such menu items when right clicking the archive:
* `Extract here`
* `Extract here and delete archive`
* `Extract to...`
![current_extract_service_options](/uploads/de0beb45bef812332a9ec03c15c97e62/current_extract_service_options.png)
Currently, the naming of menu items is ambiguous. When user sees "Extract here", he actually assumes it will be extracted here (at where archive is stored). But with fe2cccec the logic is changed. It will extract to subfolder if an archive contains more than one element.
I have created an MR to document this (!231), but actually, that may not help much, because it will still confuse users.
I propose the following menu:
* `Extract here` - Will always extract to the folder where archive is located, no matter how many elements are in archive.
* `Extract to subfolder` - Will always extract to the subfolder named as archive without extension
* `Extract here and delete archive` - Will always extract here, no matter how many elements are in archive
* `Extract to...` - no changes needed here
It this ok? If yes, I will provide the MR.https://invent.kde.org/utilities/ark/-/issues/4deleteLater calls only once in libzip / libarchive plugins destructor2023-10-31T13:33:32ZAlexey IvanovdeleteLater calls only once in libzip / libarchive plugins destructorhttps://invent.kde.org/utilities/ark/-/blob/master/plugins/libzipplugin/libzipplugin.cpp#L66
This executes only once, for example open like 3k files zip archive with libzipplugin or libarchiveplugin and try reopening it again multiple t...https://invent.kde.org/utilities/ark/-/blob/master/plugins/libzipplugin/libzipplugin.cpp#L66
This executes only once, for example open like 3k files zip archive with libzipplugin or libarchiveplugin and try reopening it again multiple times via menu "Archive -> Open recent". Probably something wrong with KJob or jobs.cpp file.https://invent.kde.org/utilities/ark/-/issues/15bzip format support2023-10-14T17:37:09ZRegular Userbzip format supportIn the recent release of [shared-mime-info](https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/NEWS), changes in the BZip-compressed file format have been taken into account.
* Add application/x-bzip3
* Add application/x...In the recent release of [shared-mime-info](https://gitlab.freedesktop.org/xdg/shared-mime-info/-/blob/master/NEWS), changes in the BZip-compressed file format have been taken into account.
* Add application/x-bzip3
* Add application/x-bzip for bzip2's deprecated predecessor bzip
* Rename application/x-bzip to application/x-bzip2
This means that files in bzip format can no longer be opened in Ark. Additionally the options "Open wit Ark" and "Extract" are missing in the context menu of Dolphin for this file type. My polite request to you is that you fix the bzip format support in Ark.https://invent.kde.org/utilities/ark/-/issues/14Follow-up from "port to Hamburger Menu"2022-10-13T21:47:50ZAndrey ButirskyFollow-up from "port to Hamburger Menu"The following discussion from !124 should be addressed:
- [ ] @felixernst started a [discussion](https://invent.kde.org/utilities/ark/-/merge_requests/124#note_527630): (+1 comment)
> Don't know why I had this idea only now:
>...The following discussion from !124 should be addressed:
- [ ] @felixernst started a [discussion](https://invent.kde.org/utilities/ark/-/merge_requests/124#note_527630): (+1 comment)
> Don't know why I had this idea only now:
>
> We should only hide the menu bar here if the toolbar contains the hamburger menu action I believe. Upgrading users who have modified their toolbar will not have the hamburger menu on their toolbar so AFAIK we are removing the menu bar for them here without giving them a hamburger menu as a substitute. This might be a somewhat big issue for novice computer users.
>
> Let me know if you think I understood your code correctly. If I did, one of us should create an MR to fix this.Andrey ButirskyAndrey Butirskyhttps://invent.kde.org/utilities/ark/-/issues/12Proposal: switch to the cherry-pick backwards workflow2022-06-13T20:06:09ZAndrey ButirskyProposal: switch to the cherry-pick backwards workflowSimilar proposal was accepted for https://invent.kde.org/graphics/gwenview/-/issues/19 and https://invent.kde.org/system/dolphin/-/issues/29, should it be accepted here as well?Similar proposal was accepted for https://invent.kde.org/graphics/gwenview/-/issues/19 and https://invent.kde.org/system/dolphin/-/issues/29, should it be accepted here as well?https://invent.kde.org/utilities/ark/-/issues/11kerfuffle_cliunarchiver plugins fails for .rar compression2022-05-23T14:39:55ZYavo Mladenovkerfuffle_cliunarchiver plugins fails for .rar compressionAs far as my knowledge of Ark goes, rar support was never available out of the box. Installing the `unrar` package for any distro I've used, fixed this. It has been brought to my attention that this package works only for decompression, ...As far as my knowledge of Ark goes, rar support was never available out of the box. Installing the `unrar` package for any distro I've used, fixed this. It has been brought to my attention that this package works only for decompression, as the name suggests, so I attempted some tests.
I tried using Ark through the CLI/konsole, creating an archive with:
`ark --add-to test.rar update_errors`
Using OpenSUSE Tumbleweed KDE, Ark debug output was:
```
ark.main: Setting filename to "test.rar"
ark.main: Adding url QUrl("file:///home/amnesia/update_erorrs")
ark.kerfuffle: Starting job
ark.main: Entering application loop
ark.kerfuffle: Going to create archive "/home/amnesia/test.rar"
ark.kerfuffle: Checking plugin "kerfuffle_cliunarchiver"
ark.kerfuffle: Created read-only interface for "/home/amnesia/test.rar"
ark.kerfuffle: Created read-write interface for "/home/amnesia/test.rar"
ark.cliunarchiver: Loaded cli_unarchiver plugin
ark.kerfuffle: Successfully loaded plugin "kerfuffle_cliunarchiver"
ark.kerfuffle: Created archive instance
ark.kerfuffle: Created job instance
ark.kerfuffle: Going to add files QVector(Entry(QVariant(QString, "/home/amnesia/update_erorrs")) ) with options (encryption hint: false, compression level: -1, volume size: 0)
ark.kerfuffle: Created job instance
ark.kerfuffle: Going to add 1 entries, counted in 0 ms
ark.kerfuffle: Adding 1 file(s) to destination: ""
ark.kerfuffle: Error emitted: 100 - "<html>Failed to locate program ‘<tt></tt>’ on disk.</html>"
ark.kerfuffle: Job finished, result: false , time: 0 ms
ark.kerfuffle: job finished
A KUiServerV2JobTracker instance contains 1 stalled jobs
```
Tested versions 21.12.2 and 22.04.1 with the latter adding that last `KUiServerV2JobTracker` line to the output.https://invent.kde.org/utilities/ark/-/issues/10zpaq support2022-03-06T17:32:59Zgoldenboy313 goldenboy313zpaq supportAdd support for zpaq archives, currently the only gui that supports it is peazip. It would be really nice if you would support it too.Add support for zpaq archives, currently the only gui that supports it is peazip. It would be really nice if you would support it too.https://invent.kde.org/utilities/ark/-/issues/9FR: Support to pass -T# for zstd compression, to enable multi-threading2021-08-28T02:04:03Zpoly 000FR: Support to pass -T# for zstd compression, to enable multi-threadinghttps://invent.kde.org/utilities/ark/-/issues/8Context menu options opens dir after extract2021-08-24T14:14:28ZShay AGContext menu options opens dir after extractHi,
This is a new behavior since version 21.08.0.
I'm unable to find a way to configure this in Ark settings.
Can you revert the change? or add a config option?
ThanksHi,
This is a new behavior since version 21.08.0.
I'm unable to find a way to configure this in Ark settings.
Can you revert the change? or add a config option?
Thankshttps://invent.kde.org/utilities/ark/-/issues/7[BUG] Incorrect decryption of file names in encrypted archives2021-03-15T19:05:37ZSergei Rezchikov[BUG] Incorrect decryption of file names in encrypted archivesHello!
I found a very unpleasant bug in the program. When I trying to open an encrypted archive (password-encrypted), Ark incorrectly decrypts file names for viewing.
When decompressing this error also stays, even if I enter the passwo...Hello!
I found a very unpleasant bug in the program. When I trying to open an encrypted archive (password-encrypted), Ark incorrectly decrypts file names for viewing.
When decompressing this error also stays, even if I enter the password.
My OS: Manjaro KDE.
Ark v20.12.2
![photo_2021-03-15_23-58-20](/uploads/9c15f9ba37d609b4930277d858438cf5/photo_2021-03-15_23-58-20.jpg)https://invent.kde.org/utilities/ark/-/issues/3libzipplugin insane amount of memory for extracting2021-01-05T21:06:12ZAlexey Ivanovlibzipplugin insane amount of memory for extractingEspecially for extracting.
Steps to reproduce:
1. Download https://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-src-5.15.0.zip
2. Start Ark and disable all plugins but libzipplugin.
3. Run your favorite cpu/memo...Especially for extracting.
Steps to reproduce:
1. Download https://download.qt.io/official_releases/qt/5.15/5.15.0/single/qt-everywhere-src-5.15.0.zip
2. Start Ark and disable all plugins but libzipplugin.
3. Run your favorite cpu/memory usage monitor: htop, ksysguard, anything.
4. Open qt-everywhere-src-5.15.0.zip in Ark.
5. Extract and enjoy your system running OOM.
For 79mb qtbase-everywhere-src-5.15.0.zip archive it uses 500+ mb!
For qt-everywhere-src-5.15.0.zip it should be like 8-10gb+, haven't tested myself.
Also libzipplugin probably the slowest compared to any others.
A quickfix for extracting:
```
diff --git a/plugins/libzipplugin/libzipplugin.cpp b/plugins/libzipplugin/libzipplugin.cpp
index 0a8d153e..7c25addf 100644
--- a/plugins/libzipplugin/libzipplugin.cpp
+++ b/plugins/libzipplugin/libzipplugin.cpp
@@ -754,7 +754,7 @@ bool LibzipPlugin::extractEntry(zip_t *archive, const QString &entry, const QStr
default: // TODO: non-UNIX.
break;
}
-
+ zip_fclose(zipFile);
file.close();
}
```
Haven't tested compression or any others functions.https://invent.kde.org/utilities/ark/-/issues/6Compression method not supported (zip, need PK compat. v6.3)2020-11-11T01:09:33ZXavier Corredor LlanoCompression method not supported (zip, need PK compat. v6.3)Hey folk,
I cannot decompress a zip file (only by terminal), Ark says:
> There was an error while extracting ‘GFDLCM3_scaled.zip’:
> Failed to open 'GFDL_CM3_scaled/g_clim_res.tfw': Compression method not supported
in terminal (failed...Hey folk,
I cannot decompress a zip file (only by terminal), Ark says:
> There was an error while extracting ‘GFDLCM3_scaled.zip’:
> Failed to open 'GFDL_CM3_scaled/g_clim_res.tfw': Compression method not supported
in terminal (failed):
```
$ unzip GFDLCM3_scaled.zip
Archive: GFDLCM3_scaled.zip
skipping: GFDL_CM3_scaled/g_clim_res.tfw need PK compat. v6.3 (can do v4.6)
skipping: GFDL_CM3_scaled/g_clim_res.tif need PK compat. v6.3 (can do v4.6)
....
```
in terminal (works):
```
$ 7z x GFDLCM3_scaled.zip
```
File for testing:
https://s3-us-west-2.amazonaws.com/www.cacpd.org/Littlefieldetal2017/GFDLCM3_scaled.zip
Using Archlinux with Ark v20.08.3