Could you please stop that reassigning game? You are right, it's either
on shared-mime-info or the qt integration, now the result of the
testcase provided is correct on GNOME (see comment 5), it's also correct
on a cloud instance (e.g no desktop integration) so it's only buggy on
KDE, you should
testing with xdgmime [1] (reference implementation of the spec [2] and
also used tests on shared-mine-type):
> ../xdgmime/src/print-mime-data .
test.py:
name: text/x-python
data: application/xhtml+xml
file: application/xhtml+xml
> ../xdgmime/src/test-mime test.py
File
@Kai, so you use a 'command is provided by a perl utility' as a reason
to reasing to shared-mime-info, what's the logic? also xdg-mime works
fine under GNOME or when using gio that uses shared-mime-info...
** Package changed: shared-mime-info (Ubuntu) => kde-cli-tools (Ubuntu)
--
You received
> dpkg -S /usr/bin/mimetype
libfile-mimeinfo-perl: /usr/bin/mimetype
> /usr/bin/mimetype --magic-only foo.py
foo.py: application/xhtml+xml
** Package changed: kde-cli-tools (Ubuntu) => shared-mime-info (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Desktop
it's not a shared-mime-info issue, on a GNOME session the result is
right
$ xdg-mime query filetype index.py
text/x-python
** Package changed: shared-mime-info (Ubuntu) => kde-cli-tools (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is
** Package changed: kde-cli-tools (Ubuntu) => shared-mime-info (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to shared-mime-info in Ubuntu.
https://bugs.launchpad.net/bugs/1857824
Title:
kmimetypefinder5 misidentifies