[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: PSPP Testing
From: |
John Darrington |
Subject: |
Re: Fwd: PSPP Testing |
Date: |
Tue, 7 Feb 2012 09:22:48 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Feb 06, 2012 at 09:46:40PM -0800, Ben Pfaff wrote:
Jeremy Lavergne <address@hidden> writes:
> It sounds like the open dialog is the only place were bugs have arisen:
what
> information can I get you to help in that area?
[...]
> ??? Problem with filtering on "Open.." window. Not
> identifying ".sav" or ".sps" files, though it finds them
> fine when you request "All Files"
(I've seen a similar report from a Windows user, too.)
John, it looks like before commit 34bfbdd99ac80a8 (Filter file
choosers by mimetype instead of file name), which was first
released in 0.7.8, we selected files for the Open dialog on the
basis of extension. Following that commit, though, we select
files only on the basis of mime type. Would it be wise to allow
either kind of criterion for filtering files?
There are a lot of programs (especially games) which save files with a .sav
extension. See http://filext.com/file-extension/SAV
SPSS comes quite low in that list. Would you really want to deal with
bug reports that pspp gives funny error messages when trying to open
a "http://filext.com/file-extension/SAV" ?
The commit doesn't mention a rationale for the change, and I
don't remember either.
The rationale is that the characters of a filename which follow
the "." (if any) are not a reliable indicator of the contents of the file.
Operating systems which conform to the freedesktop standards examine the
contents of the file, in order to determine the mimetype. Others have
heuristic methods which produce varying results.
Harry had problems with his windows build, because he hadn't configured
the mime association. But he fixed that.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature