Version: 2.15 (using KDE 4.5.1) OS: Linux Ark and its service menu definitely lacks an option to force archive extraction into a subfolder: 1) ark --forcesubfolder parameter or similar 2) "Extract into a subfolder" service menu item I need to extract archives in that way very often (different versions of a same source code, etc.). Both "extract here" and "autodetect subfolder" will try to overwrite earlier extractions which I don't want. And forcing creation of a directory with archive's name would automatically version the sources for me. Reproducible: Didn't try
Changing the default assignee in the currently open Ark bug reports to me.
Created attachment 96276 [details] screenshot This screenshot proves, that the bug is fixed.
The bug seems to be fixed in version 15.08.0. I attach a screenshot proving it.
I agree. Let's wait a few days, and if there are no objections from the OP, we can close this report.
I have checked this with Ark 15.08.3 and Plasma 5.4.3 and it still does not work. Both service menu options for fast extraction: - 'Extract Archive Here, Autodetect Subfolder' and - 'Extract Archive Here' try to overwrite files when extracting both attached archives. Extracting first archive creates this directory tree: - mycode - - a.c - - a.h Extracting the other archive tries to overwrite it. This is OK, but there is no option to 'Extract Into a Subfolder', so that the directory tree would look like that: - mycode-v1 (named after the archive file name) - - mycode - - - a.c - - - a.h - mycode-v2 (named after the archive file name) - - mycode - - - a.c - - - a.h Without the ark's --forcesubfolder parameter it is not even possible to create the 'Extract Into a Subfolder' service menu item.
Created attachment 96469 [details] mycode-v1.tar.gz
Created attachment 96470 [details] mycode-v2.tar.gz
Created attachment 96471 [details] ark-extract-menu.png
(In reply to ultr from comment #5) > there is no option to 'Extract Into a Subfolder', Have you tried with: Right click -> Extract -> Extract archive To... ? From that dialog you can check the "Extract into subfolder" option and choose whatever name you want for this subfolder. In this case, the default name is going to be "mycode" and you just need to add "-v1" or "-v2".
> Extract archive To... [...] This requires a lot more work than simply clicking the menu item. And does not allow selecting several archives at once for extracting. Plus the 'Extract Into a Subfolder' option is safest if you don't know the structure of your archives you are about to extract. So I think it should be easily accessible from the service menu. Otherwise the user is left with this limited set of predefined quick actions none of which is really safe for the data in such cases. Whichever action is selected the user may end up having to reject many overwrite alerts, cancel all the extractions, delete the already extracted data and start over manually extracting archives one by one. Doesn't sound like a user friendly approach.
(In reply to ultr from comment #10) > > Extract archive To... [...] > > This requires a lot more work than simply clicking the menu item. > And does not allow selecting several archives at once for extracting. > > Plus the 'Extract Into a Subfolder' option is safest if you don't know the > structure of your archives you are about to extract. So I think it should be > easily accessible from the service menu. > Otherwise the user is left with this limited set of predefined quick actions > none of which is really safe for the data in such cases. Whichever action is > selected the user may end up having to reject many overwrite alerts, cancel > all the extractions, delete the already extracted data and start over > manually extracting archives one by one. Doesn't sound like a user friendly > approach. I know, it requires more clicks. The thing is, the "Extract" submenu is already kind of cluttered, since it shows three entries. Adding another one would only make it worse. Think of a novice user who has never used Ark and wants to extract an archive: "which one of these four items should I click?". How about a global option like "Always use the archive name as subfolder name"? You could simply check it in the settings dialog, once and for all. Then you will extract your archives with the existing "Extract archive here, autodetect subfolder" item.
> How about a global option like "Always use the archive name as subfolder name"? Personally I'm OK with such solution. If only it does not confuse users even more :)
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.
In this MR we decided to not add such an extra menu item: https://invent.kde.org/utilities/ark/-/issues/17