Bug 410563 - unselected folder unpacked as well
Summary: unselected folder unpacked as well
Status: RESOLVED WORKSFORME
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 18.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-04 08:58 UTC by Axel Braun
Modified: 2019-08-04 10:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2019-08-04 08:58:12 UTC
In a zip archive, I have three folder:
root folder
|- folder 1
|- folder 2

I mark folder 1 and 2 and select 'unpack' -> only selected files and 'keep path on unpack'

Result:
all folders as above are unpacked

expected result:
folder 1 and 2 with its content are unpacked

Is this a bug or is my expectation wrong?
Comment 1 2wxsy58236r3 2019-08-04 10:58:55 UTC
I think this is correct behavior.

Consider the following archive.

My-Folder
|- lorem.txt
|- ipsum.txt

Let's say you extract (and have only selected) "lorem.txt" to /tmp.

If you have checked "keep path on unpack", then Ark keeps the folder structure, 
so you will get /tmp/My-Folder/lorem.txt.

If you have not checked "keep path on unpack", then Ark does not keep the folder structure, and you will get /tmp/lorem.txt.