Bug 502467

Summary: Multi-part Zip archives unavailable with Libzip plugin enabled
Product: [Applications] ark Reporter: OIRNOIR <hi>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REOPENED ---    
Severity: normal CC: hi, rthomsen6
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Libzip disabled
Libzip enabled

Description OIRNOIR 2025-04-05 22:35:41 UTC
Created attachment 180039 [details]
Libzip disabled

SUMMARY
With the Libzip plugin enabled, Ark does not allow creating multipart archives. However, upon disabling this plugin, multipart archives immediately become possible to create.

STEPS TO REPRODUCE
1. Enable all plugins, including 7z and Libzip
2. Attempt to create a new multipart zip archive. Note that the menu is grayed out.
3. Disable Libzip
4. Note that the multipart menu for the zip format is reenabled.

OBSERVED RESULT
Creating multipart archives are unavailable when the Libzip plugin is enabled, but available when 7z is used (by disabling Libzip).

EXPECTED RESULT
Creating multipart archives is possible in Ark when Libzip is enabled.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.9-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 46.7 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: Notebook
Product Name: V54x_6x_TU
System Version: V540TU

ADDITIONAL INFORMATION
Comment 1 OIRNOIR 2025-04-05 22:36:07 UTC
Created attachment 180040 [details]
Libzip enabled
Comment 2 2wxsy58236r3 2025-04-28 05:08:53 UTC
libzip does not support multi-part / split-volume ZIP archives:

https://github.com/nih-at/libzip/issues/429
https://github.com/nih-at/libzip/issues/307
Comment 3 OIRNOIR 2025-04-28 05:38:58 UTC
(In reply to 2wxsy58236r3 from comment #2)
> libzip does not support multi-part / split-volume ZIP archives:
> 
> https://github.com/nih-at/libzip/issues/429
> https://github.com/nih-at/libzip/issues/307

I'm not saying libzip needs to support multi-part / split-volume ZIP archives. My issue is not with libzip; it is with how Ark implements libzip among its other plugins.

Ark should give people the option to create and open multi-part ZIP archives even when the libzip plugin is enabled, if any enabled plugin supports multi-part ZIP archives. If the user selects that they would like to create a multi-part ZIP archive, this should make Ark automatically fallback to some other plugin besides libzip. This would make functionality smoother for all Ark users who wish to use libzip for better non-multipart zip support and occasionally need to create multipart zip archives.
Comment 4 OIRNOIR 2025-04-28 05:41:05 UTC
My point was that multipart archive support gets disabled when libzip is enabled, even though plugins that support multipart archives are still enabled. Since plugins that support multipart archives are enabled, not allowing multipart archives as an option is unintended behavior that should be fixed.