7.0 Issues

Peter Haworth pete at lcsql.com
Sat Mar 22 16:23:21 EDT 2014


Hi Bernd,
Which preference setting are you using?  The only one I could find is
titled "Preserve stack file format on stacks saved in legacy format" on the
Files and Memory tab.  No matter how I set that, if I save a stack in LC
from the File menu, I can't open it in versions prior to v7 ( get "file is
not a stack file" error).

This is with stacks with no closeStack handler.

Maybe I'm missing a preference setting somewhere?

Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Sat, Mar 22, 2014 at 11:58 AM, BNig <bernd.niggemann at uni-wh.de> wrote:

> BNig wrote
> > I noticed that plug-ins in 5.5 format save in 7.0 format when opened in
> > 7.0 and the plug-in is saved.
> > This happens in spite of the the preference to save in legacy format.
>
> Upon further inspections this seems due to the fact that if one issues a
> "save this stack" on "closeStack" it circumvents the preferences to save in
> legacy format.
> That does affect e.g. plug-ins that save their state to themselves, as
> lcStackBrowser does. And this will probably affect stacks that have their
> "destroyStack" property set to true AND do a save on closeStack.
>
> I don't know if this is a bug. But it surely makes the use of plug-ins that
> save themselves a one way thing if one wants to test 7.0 DP1 alongside of
> using older versions of Livecode.
> A workaround would be to set the stackFileVersion to 5.5. in the affected
> stacks, but that does not work for protected stacks.
>
> Kind regards
> Bernd
>
>
>
>
> --
> View this message in context:
> http://runtime-revolution.278305.n4.nabble.com/7-0-Issues-tp4677380p4677419.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list