[Lazarus] {Spam?} Re: Modal windows on Cocoa

zeljko zeljko at holobit.net
Sun Nov 13 20:22:10 CET 2016


On 13.11.2016 19:52, Michael Van Canneyt via Lazarus wrote:
>
> Hi,
>
> I am not sure whether this is a bug of the cocoa widgetset, or whether this
> is a general limitation of the Mac.
>
> Imagine a main form, which shows a modal form. The modal form shows a
> message dialog (ShowMessage or MessageDlg, it makes no difference).
>
> This works perfectly on Linux and Windows.
>
> If you do this on a Mac, then the program hangs: there is no way to press
> the OK button in the message dialog.
>
> Is this a limitation of the Mac ? I have never seen a Mac program do
> this kind of thing, so I could imagine
> that this is a limitation, but admittedly my experience on the Mac is
> not as big as on PC...

I'm still using Qt-4.8.6 (QtCarbon 32bit) for production under mac and 
it does not have single problem with such windows, also tested with 
Qt-5.6.2 (QtCocoa 64bit) and there it works correct too, so doesn't look 
like limitation :)

zeljko



More information about the Lazarus mailing list