https://bugs.kde.org/show_bug.cgi?id=416092

o.ha...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |o.ha...@gmail.com

--- Comment #9 from o.ha...@gmail.com ---
(In reply to Elvis Angelaccio from comment #8)
> The manjaro-specific mimetype should inherit a supported mimetype, probably
> application/x-tar. Then ark should be able to open those files.

I have tried this with a custom mimetype defined in
~/.local/share/mime/packages/Override.xml`, but Ark still wouldn’t open my
files.

I have also created an issue on the Pamac bug tracker for this issue:
https://gitlab.manjaro.org/applications/pamac/-/issues/902

LOG
$ QT_LOGGING_RULES="ark.*.debug=true" ark <file>.pkg.tar.zst
ark.main: Trying to open QUrl("file://<file>.pkg.tar.zst")
ark.part: Attempting to open archive "<file>.pkg.tar.zst"
ark.kerfuffle: Going to create archive "<file>.pkg.tar.zst"
ark.kerfuffle: Validated filename of compressed tar "<file>.pkg.tar.zst" into
filename "<file>.pkg.tar.zst"
ark.kerfuffle: Mimetype for filename extension (
"application/x-zstd-compressed-alpm-package" ) did not match mimetype for
content ( "application/zstd" ). Using content-based mimetype.
ark.kerfuffle: Could not find a plugin to handle "<file>.pkg.tar.zst"
ark.kerfuffle: Created archive instance with error
ark.kerfuffle: Created job instance
ark.main: Entering application loop
ark.kerfuffle: Job finished, result: false , time: 4 ms

MIMETYPE
<mime-type type="application/x-zstd-compressed-alpm-package">
  <comment>ALPM Package (Zstandard-compressed)</comment>
  <generic-icon name="package-x-generic" />
  <sub-class-of type="application/x-alpm-package" />
  <sub-class-of type="application/x-zstd-compressed-tar" />
  <glob pattern="*.pkg.tar.zst" weight="55" />
</mime-type>

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to