Displaying dialog from activate-callback
Hi, This is on Mac. I have an interface with an activation-callback that under certain conditions should show a warning dialog. I just noticed that if I activate the interface by clicking on it, the dialog shows up. But if I use the keyboard to circulate through the application windows, the dialog is never displayed! Instead, I get the following message in the terminal: 2020-04-26 12:13:57.811 lispworks-7-1-0-amd64-darwin[87035:7324967] -[NSApplication runModalForWindow:] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.) The modal dialog has been suppressed to avoid deadlock. ( 0 AppKit 0x00007fff33b3a947 -[NSApplication runModalForWindow:] + 187 1 ??? 0x000000400004feba 0x0 + 274878234298 ) The same thing happens when showing the interface using capi:show-interface and capi:raise-interface. For me the most confusing part of this is that the behaviour is different when activation is done with the mouse. Any ideas or suggestions? Thanks Erik _______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-hug@lispworks.com http://www.lispworks.com/support/lisp-hug.html