openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ofSystemTextBoxDialog on macOs - freeze software execution

Open dimitre opened this issue 2 years ago • 1 comments

If it is a video player then the video is frozen until the window is closed. it is the same with ofSystemAlertDialog Any way of keeping the main thread in main window running while it happens? Thanks

dimitre avatar Jan 20 '22 17:01 dimitre

Hi @dimitre yes this is the case I think on all platforms. Because the call returns the result of your input, the app freezes until the input is returned or cancelled.

The better way to do it would be to have a callback function ( or maybe Lambda? ) you could pass in to then get the result of the dialog.

ofTheo avatar Jan 20 '22 20:01 ofTheo