Bug 335542

Summary: Compress multiple files compresses one file
Product: [Applications] ark Reporter: Moviuro <moviuro+kde>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: CONFIRMED ---    
Severity: normal CC: elvis.angelaccio, frank78ac
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Moviuro 2014-05-29 16:26:43 UTC
The compress menu in Dophin is nice and complete, but doesn't do its job.

Reproducible: Always

Steps to Reproduce:
1. Open dolphin in detail view;
2. Open different folders to see their content (expand tree) to see files dir1/file1 and dir2/file2;
3. Select them both (green '+' sign);
4. Right-click > Compress > choose any;
Actual Results:  
Open the newly created archive: it contains only file1.

Expected Results:  
Open the newly created archive: it contains all the selected files.

Happens also with 'Compress to' although the compte list of files appear before accepting!
Comment 1 Frank Reininghaus 2014-05-29 16:56:01 UTC
Thanks for the report. Please note that most of what you see in the context menu is not provided by Dolphin itself. To my knowledge, the "Compress" menu is provided by Ark, so I'll reasign.
Comment 2 Elvis Angelaccio 2015-10-22 18:36:13 UTC
Actually the behaviour depends on the plugin. Using p7zip works as expected (i.e. an archive with only file1 and file2), while libarchive and info-zip create a weird hierarchy of files.
Comment 3 Elvis Angelaccio 2016-04-11 09:58:53 UTC
(In reply to Elvis Angelaccio from comment #2)
> Actually the behaviour depends on the plugin. Using p7zip works as expected
> (i.e. an archive with only file1 and file2), while libarchive and info-zip
> create a weird hierarchy of files.

For this reason, better to move this in the Plugins component.