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

--- Comment #12 from o.ha...@gmail.com ---
(In reply to Elvis Angelaccio from comment #11)
> Does it work if you use this instead?
> 
> <sub-class-of type="application/x-tar" />

It does not. It fails with the same log output I posted in comment #9 (minus
the custom mimetype of course). This was one of the first things I tried, but I
forgot to mention it.

I have however found a fix that is working for me. I have created custom
application/x-*-compressed-alpm-package mimetypes that inherit from both
application/x-alpm-package and application/x-*-compressed-tar and have patched
Ark to change these lines
    (mimeFromExtension == db.mimeTypeForName(QStringLiteral("...")) &&
into these lines
    (mimeFromExtension.inherits(QStringLiteral("...")) &&
in
https://github.com/KDE/ark/blob/108ade3b57f1eca792a54843e9c646eb1322a7ef/kerfuffle/mimetypes.cpp#L96.

Software/OS Versions:
Linux Version: Manjaro 20.1.2
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Ark Version: 20.08.1

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

Reply via email to