Bug 496986 - Erratic behavior when extracting zip files in Ark
Summary: Erratic behavior when extracting zip files in Ark
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 24.08.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-03 14:22 UTC by Michal Ziabkowski
Modified: 2025-02-05 08:31 UTC (History)
1 user (show)

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


Attachments
A zip file which causes the bug (11.02 KB, application/zip)
2024-12-03 14:22 UTC, Michal Ziabkowski
Details
Screenshot of the dialog appearing when extracting the zip file to an empty folder (60.70 KB, image/png)
2024-12-03 14:23 UTC, Michal Ziabkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Ziabkowski 2024-12-03 14:22:19 UTC
Created attachment 176317 [details]
A zip file which causes the bug

SUMMARY

When extracting some zip files, I get an unexpected "File already exists" dialog, even though the target did not exist prior, and thus could not contain a file by the same name.

I have some observations:
1) This only seems to happen with my locale of Polish (pl_PL.UTF-8). When I run Ark with the locale changed to "C", the bug disappears.
2) Ark seems to be creating a folder with the same name as one a regular file, which seems to be triggering the "File already exists" dialogue in the first place. See: attached screenshot in Polish, which clearly shows a folder icon. I have also verified that when the dialogue appears, there is in fact a folder.
3) This only seems to happen for zip files. I haven't been able to reproduce the bug with other archive formats, in any case.
4) Presumably, the zip file needs to have a folder inside for the bug to trigger. Attaching a zip file which does exhibit the bug.
5) The bug happens when extracting using the Ark GUI and also the right click Extract Here action.

STEPS TO REPRODUCE
1. Set locale to Polish
2. Try to extract a zip file to a completely empty folder

OBSERVED RESULT

"File already exists" dialog appears, when it shouldn't.

EXPECTED RESULT

The file is extracted normally, with no dialog being displayed.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.17
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.3
Kernel Version: 6.6.61-gentoo (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2
Comment 1 Michal Ziabkowski 2024-12-03 14:23:16 UTC
Created attachment 176319 [details]
Screenshot of the dialog appearing when extracting the zip file to an empty folder
Comment 2 Michal Ziabkowski 2025-02-05 08:31:54 UTC
Can't reproduce anymore with Ark 24.12.1 on on Plasma 6.2.5, KDE Frameworks 6.10 and Qt 6.8.1.