Version: (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages kmimetypefinder guesses the wrong file type for *.m files with '%' as the first character: ~$ echo "%" > test.m ~$ kmimetypefinder test.m text/x-tex (accuracy 10) ~$ xdg-mime query filetype test.m text/x-objcsrc As far as I know text/x-tex files do not have a .m extension so it seems like the "correct" behavior in this case would be to select a mime type which agrees with both the file content and the file extension.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? Thank you for helping us make KDE software even better for everyone!
(In reply to Andrew Crouthamel from comment #2) > Dear Bug Submitter, > > This is a reminder that this bug has been stagnant for a long time. Could > you help us out and re-test if the bug is valid in the latest version? > > Thank you for helping us make KDE software even better for everyone! If it adds any information, I used to have the same problem, but I just tested the issue on Debian stable (stretch) and it seems to be gone (ie, it is currently working as expected). Version: KDE Plasma 5.8.6 - KDE Frameworks 5.28.0 - Qt 4.9 OS: Linux Installed from: Debian main repository kmimetypefinder currently seems to be guessing the right file type for *.m files with '%' as the first character (at least under my current configuration): ~$ echo "%" > test.m ~$ kmimetypefinder test.m text/x-matlab (accuracy 100) ~$ xdg-mime query filetype test.m text/x-matlab
Thanks for the update; changing status.