Bug 514582

Summary: Ark "skips" folders with the certain names when dragging and dropping them into Dolphin
Product: [Applications] ark Reporter: hazelnot <hazelnot>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: rthomsen6
Priority: NOR    
Version First Reported In: 25.12.1   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Dragging the parent folder extracts everything neatly, selecting the subfolders and dragging those into Dolphin breaks the folder structure

Description hazelnot 2026-01-14 10:24:47 UTC
Created attachment 188506 [details]
Dragging the parent folder extracts everything neatly, selecting the subfolders and dragging those into Dolphin breaks the folder structure

SUMMARY
Ark seems to skip certain folders when dragging and dropping them in certain ways, possibly when a subfolder has the same name as a parent folder that didn't also get extracted? I'm not really sure how to explain it really, I'll just leave a video cause it does a much better job at it than I can in writing. 

STEPS TO REPRODUCE
See attachment

OBSERVED RESULT
Folder structure breaks

EXPECTED RESULT
Folder structure stays the same

SOFTWARE/OS VERSIONS
Linux: EndeavourOS
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
File in question: https://www.nexusmods.com/morrowind/mods/55305?tab=files (version 1.0.0 of the main file, unfortunately you need a Nexus Mods account to download it but it can probably be replicated with any other archive with a similar structure)
Comment 1 hazelnot 2026-01-14 21:39:46 UTC
I finally checked with a brand new archive with a similar structure - top folder called "test", another folder, then another one called "test" inside that one with some files inside. If I drag the top "test" folder it extracts fine, if I instead expand it and drag the intermediate folder with a different names, the files inside the second "test" folder get dropped directly in the intermediate folder, with the "test" folder being  essentially deleted.

I have no idea how Ark works, but it might be some kind of regex renaming issue or something, where it extracts everything to some temporary location and then moves the files to where I dropped them and renames them to get rid of the top folder which should be excluded... resulting in _any_ folders with that name inside the archive being "skipped"