Weird behavior for modal stacks and answer dialogs

Mark Waddingham mark at
Mon Sep 9 11:44:05 EDT 2019

On 2019-09-09 16:16, Giovanni via use-livecode wrote:
> Hi everybody,
> thanks for feedback.
> I think that the ones suggested cannot be considered as a solutions
> nor a workarounds.
> If I am working on an application with thousands (literally) of
> answer/ask dialogs and modal called windows I cannot review all my
> code to find a way to do something that the engine is called to do on
> its own, don’t you think?
> Anyway the “lock messages” can be used with answer/ask dialog but not
> with modal windows that are intended to be used by the user.
> Moreover as the modal stack behavior is correct on Windows and seems
> to be correct on latest MacOS versions I found really strange to
> garbage my code to workaround an issue that, in my opinion, can be
> classified as a bug.

This sounds like <> - 
bug appears to be triggered when certain other apps are running but we 
yet to be able to find out *why* these other apps have an effect on LC 

> During my investigation I found an interesting thing: starting
> QuickTime to produce a screencast the app starts working properly even
> without closing/restarting it. Closing QuickTime immediately
> reintroduce the problem. This sounds like QuickTime uses a system
> library that LC should use but doesn’t. Can someone give an hint about
> this?!

That is intriguing - the fact that QT makes LC's modal windows work 
again is potentially quite a useful discovery. Do the machines which 
the bug have any 'always running' software (e.g. like Spotify as 
in the above bug).

Warmest Regards,


Mark Waddingham ~ mark at ~
LiveCode: Everyone can create apps

More information about the use-livecode mailing list