https://bugs.kde.org/show_bug.cgi?id=425154
--- Comment #10 from Adam Fontenot <adam.m.fontenot+...@gmail.com> --- (In reply to D. Debnath from comment #9) > (In reply to Adam Fontenot from comment #7) > > > can you report your Plasma desktop version? Given David's > > fix, this shouldn't be happening unless you have an old version. > > Operating System: Arch Linux > KDE Plasma Version: 5.22.4 > KDE Frameworks Version: 5.85.0 > Qt Version: 5.15.2 > Kernel Version: 5.13.13-arch1-1 (64-bit) Thanks. I can replicate here on similar versions. @David: can you have a look at this? I see the issue with a simple JSON file. An application assigned *directly* to application/json appears at the highest priority, then Okular (which I assigned to open application/octet-stream). application/json inherits application/javascript, which inherits application/ecmascript, which inherits application/x-executable and text/plain. I think what is happening is that the mimetype search is going depth-first instead of breadth-first. So the search order (abbreviated) is a/json, a/javascript, a/ecmascript, a/x-executable, a/octet-stream, t/plain, a/octet-stream. Since there's multiple inheritance, we bottom out *twice* in the search, and crucially we hit octet-stream and pick up its associations *before* we hit text/plain, which is likely to contain the actually reasonable inherited associations. -- You are receiving this mail because: You are watching all bug changes.