When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.
This issue is believed to be fixed in shared-mime-info 2.2 which is available in Ubuntu 22.10 and higher: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/commit/b5df32dc ** Changed in: shared-mime-info (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/2041672 Title: <match> in mime/packages/freedesktop.org.xml is matching wrong files Status in shared-mime-info package in Ubuntu: Fix Released Bug description: /usr/share/mime/packages/freedesktop.org.xml line 10466 -> value="import Qt" offset="0:3000" context: <magic priority="80"> <match type="string" value="/bin/env qml" offset="2:16"/> <match type="string" value="import Qt" offset="0:3000"> <match type="string" value="{" offset="9:3009"/> </match> <match type="string" value="import Qml" offset="0:3000"> <match type="string" value="{" offset="9:3009"/> </match> </magic> is matching python files using Pyside with imports like: from PySide2.QtCore import Qt, QSettings, QSize considering them 'Qt Markup Language files (text/x-qml)' thus wrecking havoc down the line. Maybe just remove this match entry as it seems very broad To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/2041672/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp