[Bug 196212] New: kmimetypefinder guess incorrect type despite file extension

Paul L. D. Roberts raulpoberts at gmail.com
Fri Jun 12 16:59:20 BST 2009


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

           Summary: kmimetypefinder guess incorrect type despite file
                    extension
           Product: kde
           Version: 4.2.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: raulpoberts at gmail.com


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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list