| Summary: | Ark is unable to determine the archive type for .tar files created with --format=v7 | ||
|---|---|---|---|
| Product: | [Applications] ark | Reporter: | Mario Aichinger <aichingm> |
| Component: | general | Assignee: | Raphael Kubo da Costa <rakuco> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | elvis.angelaccio |
| Priority: | NOR | ||
| Version First Reported In: | 15.08.3 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/ark/3906648d1edcd56edee092ecd992d1366dadc31d | Version Fixed/Implemented In: | 15.12.0 |
| Sentry Crash Report: | |||
|
Description
Mario Aichinger
2015-11-26 17:34:54 UTC
Thanks for reporting. It looks like an issue with QMimeDatabase. I'll investigate whether it's an upstream bug. Confirming. I just reported a bug against shared-mime-info: https://bugs.freedesktop.org/show_bug.cgi?id=93148 However, the issue above is about detection-by-content. Detection by extension works, so we could and should exploit it in Ark. Git commit 3906648d1edcd56edee092ecd992d1366dadc31d by Elvis Angelaccio. Committed on 08/12/2015 at 21:03. Pushed by elvisangelaccio into branch 'Applications/15.12'. Fix opening of archives whose mimetype cannot be detected-by-content shared-mime-info 1.5 (and thus QMimeDatabase) cannot detect-by-content tar archives created with the --format=v7 flag. Instead of adding another exception (like we did for ISO files), let's just use the mimetype detected from the extension if the one from content could not be determined. FIXED-IN: 15.12.0 M +3 -2 kerfuffle/archive_kerfuffle.cpp http://commits.kde.org/ark/3906648d1edcd56edee092ecd992d1366dadc31d |