Issue with self closing popDialog

I frequently use the builtin TDTox popDialog, and have noticed that in recent 2022 builds, I have to call it many times to get it to open properly without closing itself. I believe there is something in there about it closing itself automatically inwhen the dialog loses focus, and would speculate there’s some kind of cooking issue where it gets and then loses focus quickly.

This is easily reproducable when trying to run the script in the attached .toe, maybe @Ivan or someone that works with these widgets can take a look?
popDialogBug.toe (3.7 KB)

Confirmed. Will be fixed in next release.

As a temporary fix you can either script the following change on startup or use your own popDialog with the change in it:

popDialog/panelexec1: change the On to Off parameter to be constant On instead of expression.

1 Like

Also one more note… don’t use op.TDTox.op(‘popDialog’) use op.TDResources.PopDialog

The one in TDTox is the clone master and shouldn’t be accessed!

1 Like

good to know, I’ve updated my scripts