|
Hi James,
> Has anyone else seen something like this?
Yes, I am seeing the same thing fairly regularly. I think this is an
open issue in Object Art's bug tracker system from the beta.
> I assume that there is some race condition
Yes, I would be fairly sure that the race condition is between the new
process (new main) forked before opening the "Save Changes" MessageBox,
and the old main process.
FWIW: I have been bitten by this more than once in my own applications.
As a general rule, after showing a MessageBox, I use #postToInputQueue
to perform any subsequent actions ... especially closing views etc. For
this reason, I tend to avoid using Dolphin's standard #onCloseRequested
pattern when I need to show a MessageBox.
Steve
--
Steve Waring
|