Bug 282884 - There are no options to manage how file extensions are handled in Archive names
Summary: There are no options to manage how file extensions are handled in Archive names
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 2.16
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 04:47 UTC by Roger Pixley
Modified: 2016-03-22 13:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 16.04.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Pixley 2011-09-27 04:47:23 UTC
Version:           2.16 (using KDE 4.7.0) 
OS:                Linux

When using the servicemenu to create archives directly selecting an archive type such as ZIP or Tar automatically includes the file extension in the name of the archive For Example whyami.dll.zip. There is no option to turn off the inclusion of the original file's extension which can be an irritant or detrimental in certain cases. 

Reproducible: Always

Steps to Reproduce:
1) Right click a file with a dot extension name in Dolphin or Konqueror.
2) Select compress to -> (Archive file of your choice) 
3) Select the created archive and press F2
4) Rename the archive

Actual Results:  
Slight annoyance at having to do this everytime you are mailing a file or presenting something to someone that makes the naming look funny

Expected Results:  
A archive that has from your preference a reasonable name with a side effect of a smile from a happy workflow

Ark does not have much in the way of settings for the GUI interface at this point but even something in the arkrc that allows extensions to be ignored in the archive filename would be welcome
Comment 1 Little Girl 2011-09-27 05:51:10 UTC
Ark version: 2.14
KDE vresion 4.4.5
Operating system: Kubuntu Lucid Lynx

I can confirm that when using the Ark GUI to zip a file with an extension in its name, the resulting file name has a double extension, and I agree that even an arkrc setting to control this behavior would be welcome.

Reproducible: Always

Steps to reproduce:
1) Right-click a file with an extension in its name in Dolphin or Konqueror.
2) Select Compress
3) Select As ZIP Archive
4) Examine the name of the resulting file.

Desired result:
An archive that uses the base name of the original file followed by the zip extension (example: file.zip).

Actual Result:
An archive that uses the base name and extension of the original file followed by the zip extension (example: file.txt.zip).
Comment 2 Raphael Kubo da Costa 2011-09-27 13:57:37 UTC
Confirming, thanks for the report.
Comment 3 Elvis Angelaccio 2016-03-22 13:57:25 UTC
Git commit e206a274a418a10c45af56706da8d7a3b60d4277 by Elvis Angelaccio, on behalf of Chantara Tith.
Committed on 22/03/2016 at 13:54.
Pushed by elvisangelaccio into branch 'Applications/16.04'.

Don't create archives with double extension
FIXED-IN: 16.04.0

Differential Revision: D1187

M  +15   -4    kerfuffle/addtoarchive.cpp

http://commits.kde.org/ark/e206a274a418a10c45af56706da8d7a3b60d4277