the defaultFolder in standalones: Changed in 8

Ali Lloyd ali.lloyd at livecode.com
Tue Jul 12 18:20:30 EDT 2016


Speaking as the person who most likely caused the change, I'm pretty sure
that wasn't intentional. Definitely worth filing a bug report.

On Tue, Jul 12, 2016 at 11:02 PM Devin Asay <devin_asay at byu.edu> wrote:

> I just noticed this change today as I was moving a project to LC 8.
>
> On Mac OS X, in v. 7 and earlier when you saved a stack as a standalone,
> the defaultFolder would be set to the folder containing the .app bundle;
> e.g., /Users/me/myproject.
>
> In v. 8 when you save a stack as a standalone the defaultFolder is set to
> the app bundle itself; e.g., /Users/me/myproject/mystack.app.
>
> I have often used the pre-8 behavior to allow my standalone to easily
> access files in the enclosing folder. V. 8 breaks that functionality.
>
> So is this a bug or a feature? I usually read the release notes pretty
> closely, but don’t remember reading about this change? It can potentially
> break lots of projects like it did mine. (Although I can pretty easily come
> up with a workaround.)
>
> The main question is, was this an intentional change or a regression bug?
>
> Devin
>
>
> Devin Asay
> Office of Digital Humanities
> Brigham Young University
>
> _______________________________________________
> 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