Script dialogs that use LoadPosition() cannot be resized to original size

Some change introduced in v13.0.56 makes a script dialog unable to reduce its size to the minimum (set in the script editor when creating the dialog) after loading its size and position with dlg.LoadPosition(). As far as I remember, this did not happen with v13.0.55 or lower. Unfortunately I can't verify the latter, as previous beta versions installers are not longer avalaible and I don't have a copy either.

I don't think anything changed in .56 that would have affected that.

You can download the old beta versions using URLs like: https://www.gpsoft.com.au/DScripts/download.asp?new=13.0.55

Thanks @Jon. I've installed .0.55 and I can confirm that version .0.56 is where the issue started.

For reference, this is the original size of the dialog I am testing.


If I increase its size, and close it, the next time I open it, it will show the last used size. But with DO 13.0.55 I can resize it back to its original size.

However, this happens with .0.56:

Can you give me the script to try it with?

Sure. Actually it's already published in this forum.

https://resource.dopus.com/uploads/short-url/3MJhon3Fu57rgShQHqoHEKXvDsz.opusscript

Thanks - confirmed, fixed in next beta.

1 Like

Fixed in v13.0.57. Thanks!

1 Like