winset(src, "window2", {"
is-visible=false;
"})
winset(src, "window1", {"
is-disabled=false;
"})
Expected Results:
Window2 should dissapear and Window1 should be usable and unminimized.
Actual Results:
Window2 dissapears and Window1 minimizes.
This problem occurs regardless of Window1 being set to disabled, being set to visible, or having its minimized property set to false or maximized property set to true.
Workarounds:
Have window1 minimize and maximize immediately after window2's visible property is set to false.