| Summary: | Extract Ark - Extract to wrong directory if this directory is used again | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | Frans Leerink <f.leerink> |
| Component: | general | Assignee: | Elvis Angelaccio <elvis.angelaccio> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | post+kde-bugs, rakuco |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/ark/e356bd4c110a2b838863c8b5a145afe25b5c693b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Frans Leerink
2010-03-30 13:01:07 UTC
Hello there. What do you mean by "extraction flags/asterisks"? Ark will remember your last settings for "preserve paths", "open destination folder after extraction" and "close after extraction". Hello, In step 3 I select, in the "Extract - Ark" display, the extract-to folder. In the same display there are at the right side at the top and the bottum a couple of selection fields: a Selection box "Extract into subfolder" (is allways selected) b field for the Name of the new subfolder (is allways filled with a name if point a is selected) c Option "Open destination folder after extraction" d Option "Preserve paths when extracting" (is allways selected) e Option "Extract Selected files only" (is allways selected) f Option "Extract All files (allways is reverse of point e) My question/request was related to the defaulting value of the fields e - f. I do not like the fact that field: a - "Extract into subfolder"is allways selected, while I have just selected(created) the directory to extract into, regardless of what I used in earlier case. Can I configure somewhere what defaults will be used for the a-f fields or is it possible that the system takes allways the last used setting for these fields. Regards, Frans (In reply to comment #2) > Can I configure somewhere what defaults will be used for the a-f fields or is > it > possible that the system takes allways the last used setting for these fields. Options "c" and "d" always use the last used settings. Options "e" and "f" depend on whether you have currently selected one or more files before launching the Extraction dialog: in case you have, "e" is selected; otherwise, "e" and "f" are not even shown. Option "a" is selected when you don't have a single parent folder in your archive (and "b" will be filled accordingly). > I do not like the fact that field: a - "Extract into subfolder"is allways > selected, while I have just selected(created) the directory to extract into, > regardless of what I used in earlier case. Sorry, I didn't understand this part. Hallo Raphael,
> I do not like the fact that field: a - "Extract into subfolder"is allways
> selected, while I have just selected(created) the directory to extract into,
> regardless of what I used in earlier case.
Sorry, I didn't understand this part.
Oke I try to explain.
1 I click on the zip file attachment and open it with Ark
2 The system displayed a screen with the documents from the zip file. I select document(s) and click on button "Extract"
3 A new "Ark-Extract" screen open up, on which I can select the directory to store the document or create in the selected directory a "New Folder to store the document. In both cases I do not want field: a - "Extract into subfolder" is selected automatically, since I have already selected or created the directory to store the document into (is already lowest folder in directory path). If I forget to remove the selection flag of field: a the system create a superfluous subfolder.
Regards, Frans
Hello Raphael, The Extraction flags are the v signs in the fields a,b,c and d as mentioned in my comment #2. The asterisks are actual the dots in the fields e and f as mentioned in my comment #2. Regards, Frans Hi there Frans,
One solution I can think of is showing the Extraction Dialog for the first time with the default settings ("Extraction into subfolder" checked if it's not a single-folder archive etc) as it is done today.
If you click "OK", the files will be extracted as desired, and the settings will be the same you used in the first extraction (that is, the "Extraction into subfolder" checkbox will still be checked, just like it currently behaves).
However, if you uncheck if now and click "OK", next time you open the dialog it will still be unchecked.
Note that this is valid for a single Ark instance -- if you close Ark and open it again, the default settings for the "Extraction into subfolder" dialog will be used again, since we do not know if you're opening the same file, nor do we know if you want to extract the same file to a different location.
Does that sound right for you?
Hello Raphael, That is already better but still for each new single Ark instance you have to make that choise. For my use case this will not help a lot since the behavior is varying than for the first use and subsequent uses within a single Ark instance. My use case, 4-6 times per month, is most of the time triggered by a mail with atached zip files. I want to keep my directory structure clean and with my own names/standards and therefore I allways select or create manually the folder that should hold all or part of the files contained in the zip file. So basically I never want to use the "Extraction into Subfolder" functionality and therefore want to switch it off only once and not for each single Ark intance. Regards, frans Changing the default assignee in the currently open Ark bug reports to me. Git commit e356bd4c110a2b838863c8b5a145afe25b5c693b by Elvis Angelaccio. Committed on 10/01/2016 at 10:06. Pushed by elvisangelaccio into branch 'master'. Add setting to disable the extraction to subfolder This new setting defines whether to check by default the 'extraction into subfolder' checkbox in the Extraction Dialog, when the archive has more than one top-level entry. The default value is true, which does not change the current Ark behavior. Differential Revision: D744 M +4 -0 kerfuffle/ark.kcfg M +1 -1 kerfuffle/extractiondialog.cpp M +13 -0 kerfuffle/extractionsettings.ui http://commits.kde.org/ark/e356bd4c110a2b838863c8b5a145afe25b5c693b |