uicontrol callbacks executed asynchronously, when launched from scipad
Reported by Enrico SEGRE
-- Bug description --
uicontrol callbacks executed asynchronously, when launched from scipad
-- Scilab error message --
-- How to reproduce the bug --
Enter the following in scipad and launch: it never stops, pushing the button
lines(0)
figure(1)
guistop=%f;
uicontrol(1,"style","pushbutton","string","Stop","position",[150,5,100,25],...
"callback","guistop=%t","horizontalalignment","center","background",[1,0.1,0.1]);
while ~guistop
disp(guistop)
xpause(1e5)
end
disp("Stopped at last!")
It stops only if interrupted with Ctrl-c, and resume()d.
OTOH, the script works as expected (stops at the first push of the button) when
launched with exec.
Possibly related to bug 1958. Or to sync/seq priorities in processing the
ScilabEval queue.