[moneydance] Oh, there it is...

Tom Metro tmetro+moneydance at gmail.com
Fri Apr 18 14:23:06 EDT 2008


Stan wrote:
> ...behind the Yes/No dialog box, I could see my account register.
> The only way for that to be so would be for me to have entered my
> password, which I had not done recently, so MD must have still been
> running from my earlier session.

I think this is a bug in the logic that handles multiple instances. At a 
high level an application that wants only one instance running should do 
the following when starting up:

-send an inter-process message to other instances and wait for a reply;
-if it gets a reply, exit;
-otherwise, start up normally.

And then the already running instance is supposed to:

-listen for the inter-process message;
-if received, restore (de-iconify) the application window, if necessary, 
and gain focus;
-send a reply.

In the case of Moneydance, it seems one of the two instances is 
attempting to load the data file - incorrectly executing some of the 
normal startup logic. This shouldn't happen.

I'd suggest filing a bug.

Better to fix the underlying problem, than modify the buttons on the 
dialog as a bandaid.

  -Tom


More information about the moneydance-info mailing list