On Tue, 2004-07-13 at 11:29, John Cliff wrote:
Bulia got me looking into ai import
yesterday, and led me to realise that the import/export stuff seems pretty broke here on win. the import/open dialogs dont show anything but svg and bitmap formats, and the save as lists 3 formats which dont seem to work (svgz, ai, and epsi) The real problem is the latter as they still appear in the file type selector, and give all the right indications of having worked, but dont actually create any files. So you can think you've saved something when you havent. Saving to one of them then closing the doc causes my inkscape to crash.
Well, I'm guessing what happens is that the checks for files for those extensions fail. Stuff like perl in the path probably doesn't work out in windows for many systems. What happens then is that the extensions go into a 'dead' mode where they still exist, but the implementation has been removed and set to the default implementation. That is probably what is being used at the point where you save with those - but it shouldn't cause Inkscape to crash. I'm concerned about that.
Also, what really needs to happen is that the win32 file dialogs need to be improved to handle the 'dead' mode of extensions. This is done currently in the Unix fileselector, so it should just be a matter of using very similar code. If someone is using windows, making the filedialog files look as similar as possible would be cool.
--Ted