<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 13/09/2019 à 13:38, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">Hello Antoine,<br>
      </div>
    </blockquote>
    Hello Samuel,<br>
    <blockquote type="cite"
      cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
      <div class="moz-cite-prefix"> </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">As <a moz-do-not-send="true"
          href="http://bugzilla.scilab.org/show_bug.cgi?id=15765#c4">discussed
          with you there</a>, xload() has been restored and upgraded for
        Scilab 6.0.2.<br>
        However, its help page was updated only after the 6.0.2 release.
        Its update <a moz-do-not-send="true"
          href="https://codereview.scilab.org/20991">is pending<br>
          here</a>, and visible in <a moz-do-not-send="true"
          href="http://bugzilla.scilab.org/attachment.cgi?id=4963">PDF
          there</a>.<br>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">As it is not possible to reproduce
        the issue on win7 and on Fedora, it is clear that it depends</div>
      <div class="moz-cite-prefix">on the OS, is likely specific to
        Ubuntu, and very likely linked to HDF5 issues reported with
        Ubuntu.</div>
      <div class="moz-cite-prefix"><br>
        However, after your recent report about the same issue on
        Windows 10, the confirmation<br>
        of the issue by any user working with 6.0.2 on Windows 10 would
        be welcome.</div>
      <div class="moz-cite-prefix">The test is :</div>
      <div class="moz-cite-prefix">
        <ul>
          <li>Download the <a moz-do-not-send="true"
              href="http://bugzilla.scilab.org/attachment.cgi?id=4998">c.scg
              file</a> (<a class="moz-txt-link-freetext"
              href="http://bugzilla.scilab.org/16189"
              moz-do-not-send="true">http://bugzilla.scilab.org/16189</a>)<br>
          </li>
          <li>Run : xload("c.scg")<br>
          </li>
        </ul>
      </div>
    </blockquote>
    No, that's not the test!<br>
    Just xload("c.scg") does not crash scilab.<br>
    As stated in the bug report ( <a class="moz-txt-link-freetext"
      href="http://bugzilla.scilab.org/16189">http://bugzilla.scilab.org/16189</a>
    ) The test is the following:
    <pre>// XLOAD Segfault bug
xdel(winsid())
xload('c.scg'); // from 5.5.2
h=gcf()
xsave('c2.scg',h);
xload('c2.scg'); //bye

</pre>
    That is you  have to xload, save a copy and xload again the copy to
    crash.<br>
    I confirm this bug under another Win10 box with a colleague.<br>
    Can you try again?
    <p><br>
    </p>
    <p>Antoine<br>
    </p>
    <blockquote type="cite"
      cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
      <div class="moz-cite-prefix">
        <ul>
          <li> <br>
          </li>
        </ul>
      </div>
      <div class="moz-cite-prefix"><br>
      </div>
      <div class="moz-cite-prefix">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">So here is my question: is there a way to restore a figure from a file, including its figure size, without resorting to closing all the other figures beforehand?</pre>
        </blockquote>
      </div>
      <div class="moz-cite-prefix">With Scilab 6.0.2 on my win7 64 bits,
        load("c.scg") does it.</div>
    </blockquote>
    It's not the case under Ubuntu.<br>
    <blockquote type="cite"
      cite="mid:293efad1-7b37-6d2f-2c76-095cdfdff2ea@free.fr">
      <p>Regards<br>
        Samuel<br>
        <br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>
  </body>
</html>