Summary: | autodetect or suggest archive type | ||
---|---|---|---|
Product: | [Applications] ark | Reporter: | Helge Hielscher <hhielscher> |
Component: | general | Assignee: | Ragnar Thomsen <rthomsen6> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | cauldert, rakuco, rthomsen6, simonandric5 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandrake RPMs | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/ark/d3d3e5928b56db8446bac42ea334d940a3b7b37b | Version Fixed In: | 15.08.1 |
Sentry Crash Report: |
Description
Helge Hielscher
2005-03-09 12:30:14 UTC
*** This bug has been confirmed by popular vote. *** With r847739 kde4 ark looks at file content to figure out mime type. This partly fulfills this wishlist item. *** Bug 132550 has been marked as a duplicate of this bug. *** Changing the default assignee for currently open Ark bug reports to me. Git commit d3d3e5928b56db8446bac42ea334d940a3b7b37b by Ragnar Thomsen. Committed on 10/09/2015 at 06:39. Pushed by rthomsen into branch 'Applications/15.08'. Improve detection of mimetype when opening archive Previously, the filename extension had higher priority than file content when determining mimetype. When opening an archive that had a wrong extension (as in bug 265971), this resulted in Ark failing to open it. With this commit the mimetype is determined from file content. Additionally, a warning is shown in console output when mimetype from extension and content do not match. For tar.gz, tar.bz2 and tar.xz archives, the mimetype from filename extension is still used. This is due to these archives being detected as singlefile gz, bz2 and xz archives when using content, and Ark would then use the singlefileplugin instead of the libarchive plugin. Related: bug 265971 FIXED-IN: 15.08.1 REVIEW: 124442 M +24 -6 kerfuffle/archive_kerfuffle.cpp http://commits.kde.org/ark/d3d3e5928b56db8446bac42ea334d940a3b7b37b |