pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .sav files not shown in pspp file dialogs?


From: Friedrich Beckmann
Subject: Re: .sav files not shown in pspp file dialogs?
Date: Sun, 7 Jan 2018 12:47:17 +0100

Hi Harry,

i checked with version 1.0.1-1 on MacOS and both the .sav and the .zsav files
are shown in the file selection dialog when I filter for data and syntax files.
Very strange that you can see the zsav files but not the .sav ones. 
What does your registry contain?

Fritz

Am 06.01.2018 um 20:22 schrieb Harry Thijssen <address@hidden>:

Hi Friedrich,

I guess it is somehow related. I can indeed see the .sav file when I select "all files". But to my surprise I can see .zsav file when only syntax and data is selected.

As far as I understand I have to define the mime type in the MSWindows registry. However I have done this for .sav and NOT for .zsav. To make things more complicated even if I remove the .sav mime type definition from the registry this doesn't make any difference.

The bug https://bugzilla.gnome.org/show_bug.cgi?id=788936 seems to be in version 2.54 However I use glib2  2.52. Maybe it was in earlier versions too, but in the mingw libraries of openSUSE 2.52 is the latest version. So upgrading now would be a major task.

My first gues is that mime types are not handled properly anymore in my current toolset.

I will try adding a filter line for .sav in http://git.savannah.gnu.org/cgit/pspp.git/tree/src/ui/gui/psppire-window.c#n643 after line 660 and see what happens.

BTW it seems .ods importing is also not working correctly. I haven't looked at this yet.

Have fun





2018-01-06 16:27 GMT+01:00 Friedrich Beckmann <address@hidden>:
Hi Harry,

the bug that the file filtering did not work in the quartz build did not work
on MacOS is related to changes in glib where type identifiers are now
os specific and not X11 alike.

https://savannah.gnu.org/bugs/?52323

The reason that .sav files were not shown is due to file filtering based
on mime types. See:

http://git.savannah.gnu.org/cgit/pspp.git/tree/src/ui/gui/psppire-window.c#n643

Therefore there must be a relation between the mime type „application/x-spss-sav“ and
the .sav files. On MacOS I did this in the application bundle Info.plist file but I have no idea
how this relation is defined on Windows. But maybe everything already works on
Windows automagically...

Fritz




reply via email to

[Prev in Thread] Current Thread [Next in Thread]