<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Stephane</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Good news, thank you.</div>
<div class="moz-cite-prefix">Thank you to the other list members for
the other responses as well.<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Best regards,</div>
<div class="moz-cite-prefix">Claus</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">On 22-01-2022 14:24, Stéphane Mottelet
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:FB2CE7CD-2A6E-426E-B6A8-0A59220D22AA@utc.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">This is fixed for the next release:</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><a href="https://codereview.scilab.org/#/c/21803/"
moz-do-not-send="true" class="moz-txt-link-freetext">https://codereview.scilab.org/#/c/21803/</a></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">In the meantime, if you really need it you can
download the patched version of findobj.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">S.</div>
<div dir="ltr"><br>
<blockquote type="cite">Le 21 janv. 2022 à 23:54, Samuel Gougeon
<a class="moz-txt-link-rfc2396E" href="mailto:sgougeon@free.fr"><sgougeon@free.fr></a> a écrit :<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div class="moz-cite-prefix">Hello Claus,<br>
<br>
Le 21/01/2022 à 20:58, Claus Futtrup a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:7e9a0cb1-ba6b-606b-021d-3e257ead55ff@gmail.com">Hi
Scilabers <br>
<br>
Today I tried to replace xdel(winsid()) in one of my scripts
with close(winsid()) because Scilab shows a warning in the
console: <br>
<br>
Warning: Feature xdel(...) is obsolete and will be
permanently removed in Scilab 6.2 <br>
<br>
Warning: Please use close(...) instead. <br>
<br>
I am negatively surprised that the close() command takes a
long time to execute with 5-10 windows open (a few seconds
per window). The xdel() command can do it in a split second.
<br>
<br>
</blockquote>
<br>
The issue comes not from close() but from the change of<a
moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=13738#c4">
findobj() that it calls</a>, noticeably to perform
findobj("figure_id",id) in 6.1.1.<br>
It does <a moz-do-not-send="true"
href="http://bugzilla.scilab.org/16734">not impact only</a>
close() for this case, that was processed <a
moz-do-not-send="true"
href="https://codereview.scilab.org/#/c/20953/6/scilab/modules/gui/macros/findobj.sci">as
a special accelerated case</a> in the former findobj().<br>
<p>This downgrading<a moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=7117#c6">
was reported</a> 7 months before releasing 6.1.1, and
knowingly ignored, while it is perfectly fixable by
restoring the fast special case.</p>
<br>
<blockquote type="cite"
cite="mid:7e9a0cb1-ba6b-606b-021d-3e257ead55ff@gmail.com"> <br>
What is the motivation for replacing xdel with close? <br>
</blockquote>
<br>
Both do the same thing. Scilab does not need duplicates.<br>
<br>
Regards<br>
Samuel<br>
<br>
<span>_______________________________________________</span><br>
<span>users mailing list</span><br>
<span><a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a></span><br>
<span><a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>