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

--- Comment #7 from tagwer...@innerjoin.org ---
(In reply to David Faure from comment #6)
> This is the expected result, right?
I think so.

> What do you get?
I've just tried this with a couple of Fedora betas...

With Fedora 36 beta (Gnome), I get:

    $ xdg-mime query filetype test.4445.m2ts
    video/mp2t
    $ xdg-mime query filetype test.4445.ts
    video/mp2t
    $ xdg-mime query filetype test.4445
    video/mp2t

Which looks as I think it should. However with Fedora 36 KDE beta I get the
strange:

    $ kmimetypefinder test.4445.m2ts
    video/mp2t
    $ kmimetypefinder test.4445.ts
    text/vnd.qt.linguist
    $ kmimetypefinder test.4445
    audio/vnd.dts.hd

I get the same when querying with xdg-mime instead of kmimetypefinder and also
when using Neon Testing. Getting different results from two spins of one distro
is interesting. I'll rerun the tests when F36 is properly released

In each case:

    $ grep -rwl '\*.ts' ~/.local/share/mime/packages /usr/share/mime/packages
    grep: /home/test/.local/share/mime/packages: No such file or directory
    /usr/share/mime/packages/freedesktop.org.xml

The two spins of Fedora have the same freedesktop.org.xml
(shared-mime-info-2.1-3.fc35.x86_64).

I think "wierd" and it would be nice to debug messages from kmimetypefinder...

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

Reply via email to