From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020618
Description of problem:
When adding a custom mime-type for an ASCII file-type, the file is
*always* mis-identified as text/plain.
In my case, I'm trying to set up correct mime-handling for xmGrace
project files. These are ascii-text files. I can add a new mime-type
for this (i.e. application/x-xmgrace, I couldn't find a pre-defined
one on the web) and give it a file-extension '.agr'. After doing this,
all *.agr files are still identified as text/plain and opened with
gedit. (I also tried using text/x-xmgrace but didn't make any difference)
Also tried editing /usr/share/mime-info/gnome.mime, gnome-vfs.mime and
/usr/share/mime/mime/magic but nothing seems to help.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Save a text file with some custom file-extension
2. Add a custom mime-type for that file-extension
3. Attempt to assign a custom mime-handler for that file extension
Actual Results: File is *always* identified as 'text/plain', whatever
the user does
Expected Results: The file should now have been identified as the new
custom mime-type and handled appropriately
Fedora Core 2 is now maintained by the Fedora Legacy project for
security updates only. If this problem is a security issue, please
reopen and reassign to the Fedora Legacy product. If it is not a
security issue and hasn't been resolved in the current FC3 updates or
in the FC4 test release, reopen and change the version to match.
This bug is being closed because it has been in the NEEDINFO state for a long
time now. Feel free to reopen the bug report if the problem still happens for
you and you can provide any information that was requested.