Bug 454400

Summary: Ark extracts selected sub-folder including many parent directories which is wrong by default
Product: [Applications] ark Reporter: Petr N. <bugs.kde.org.shine600>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: aacid, rthomsen6, tomtomtomreportingin
Priority: NOR    
Version First Reported In: 20.12.2   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=460886
See Also: https://bugs.kde.org/show_bug.cgi?id=460886
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Petr N. 2022-05-25 17:12:25 UTC
SUMMARY

I select "sub-folder" to extract, right click and select /my/destination/path/ destination and result is
/my/destination/path/archive/sub1/sub2/sub3/folder
instead of:
/my/destination/path/sub-folder

I think that this should not happen by default. 
When i do it via Extract button instead, then the extraction has options:
Extraction into subfolder
Preserve paths when extracting

i have tried both, but it always end up creating /my/destination/path/archive/sub1/sub2/sub3/sub-folder

Solution: 1) by default extract folder alone instead of creating multiple levels of parent folders, 2) user have to check the checkbox to preserve full path if he want to.

Issue is explained also here: https://forum.kde.org/viewtopic.php?f=22&t=174145

This is only annoying/non practical thing i have found in Ark so far.

Similar: https://bugs.kde.org/show_bug.cgi?id=208384

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version:  5.78.0
Qt Version: 5.15.2