[Lazarus] Modal Window Crashes on Mac OS X 10.15 Beta (Catalina)

Dmitry Boyarintsev skalogryz.lists at gmail.com
Tue Jun 11 01:56:15 CEST 2019


On Mon, Jun 10, 2019 at 6:18 PM David Jenkins via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> In now.  Mantis 35702
>

While the research seems to be quite thorough, the following statement:
"Error is caused because Cocoa currently doesn't run through base level
NSApplication.run and thus appropriate ._isrunning flag is not set "

contradicts Apple's documentation (
https://developer.apple.com/documentation/appkit/nsapplication?language=objc
)

"...Methods to Override
...
Override run if you want the app to manage the main event loop differently
than it does by default. (This a critical and complex task, however, that
you should only attempt with good reason.)"

If the first statement is true, then run cannot and should not be overriden
at all.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190610/8b9fb9c3/attachment.html>


More information about the lazarus mailing list