[2021.Stable] opFindDAT-Callbacks + messageBox = Loop

Another curios one. Placing a ui.messageBox() call into the onOPFound callback of an opFindDAT will result in endless loop. I suppose the async-nature of messageBox() destroys the loop of the callback or something.
How to recreate: Create an opFindDAT and place the following line:


ui.messageBox( "This is a trap", "You will not be able to close this.")

Hey @alphamoonbase

Thanks for the report.

You meant 2021 I guess ?

I wasn’t able to reproduce… Initially.

The endless loop shows up when you add a new OP only it seems.

I will log an issue for a developer to look into it.

Best,
Michel

1 Like