GNOME Bugzilla – Bug 78778
User created MIME types don't work [as well as other MIME type problems]
Last modified: 2006-12-26 18:26:02 UTC
Nautilus keeps complaning it has "no installed viewer" for the file types I have created a MIME for. Very simple to reproduce and happens all the time: - Creating a MIME type for image/x-yuv I call 000. - Adding extension "yuv". - Adding application "myviewer". Note that something wrong already happens at this point. After I create and select the default application, the default action in the MIME list stays to "default". The default action is updated only after I select the "use viewer" button and come back to "open with application". - I click ok and close the control center to make sure the change was effective. - I open a new Nautilus window, I browse to a yuv file, double click on it. Nautilus complains about that file type without opening it. Version returned by rpm -qi is : 1.4.0.1.
Jody: could you please make sure this works in 2.0? Thanks.
I can replicate this. The type is not recognized even when restarting nautilus. While doing it a few bugs came up. I'll use this as a place holder for all the other brokenness. 1) selecting an app to use for a new mime-type generated a filesel warning (should be easy) 2) 'Apply' from the main file-type dialog after adding the new type generated hash warnings that the hash == NULL
1 & 2 are fixed. The new type works now, but we need to get nautilus to refresh its idea of what mime types are associated with things. It does not get updated that the file now has the new type. I'll keep poking at this, but will refile it as a nautilus bug.