How to lose your work in a couple of clicks (dirty flag)

Jim MacConnell jmac at consensustech.com
Tue Jan 24 13:48:02 EST 2017


Yep......

Yours,
A slow learner

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Talluto via use-livecode
Sent: Tuesday, January 24, 2017 10:00 AM
To: How to use LiveCode
Cc: Mark Talluto
Subject: Re: How to lose your work in a couple of clicks (dirty flag)


> On Jan 24, 2017, at 9:50 AM, Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I have been poking around in the IDE stacks and found this. I think it's a bug but wanted to run it up the ol' flag pole with the list first before I submit a bug report.
> 
> Recipe:
> 1) Open a stack.
> 2) Make a small change.
> 3) Build a standalone.
> 4) When presented with the "Save/Cancel/Don’t save" dialog, click on the "Don't save" option.
> 5) Exit the IDE and you will not get the options to save your stack because the "Don’t save" option clears the "Dirty" flag.
> 6) Re-open the stack in the IDE and observe that your change(s) are not there.
> 
> Expected result: User should be present with the option to save the stack when exiting the IDE.
> Observed result: The user is not asked to save the stack when exiting the IDE.
> 
> When the "Cancel" option is selected the "dirty flag is not cleared as I would expect but "Don't save" clears it. I think this is wrong. Even if you don't choose to save at that moment The IDE should leave the stack marked as "dirty". I could see someone inadvertently losing a lot of work.

I agree that this could bite someone. I have never run into it myself because I always save before building the standalone. But, it could be argued that someone would want to save after building the standalone, forget to do so, quit the IDE and not be offered the save dialog again, and lose some work.


Best regards,

Mark Talluto
livecloud.io
canelasoftware.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