[Scilab-Dev] untrackable recent gdf() changes?

Samuel Gougeon sgougeon at free.fr
Fri Jul 20 13:58:32 CEST 2018


Dear devs,

On the period [2018-02-15 (6.0.1 release), 2018-06-21 (my 6.0-branch 
session)], something was changed since at the session startup, 
*gdf().figure_name* returns

  * *"Figure n°%d"*  with 6.0.1 official
  * *"Graphic window number %d" * with 6.0-branch of 2018-06-21

This impacts and was detecting while running the test

*test_run graphics clf show_error*

that now fails due to this change.*
*

The only code file where *"Graphic window number %d"* is set is
   scilab/modules/graphics/src/c/InitObjects.c (1 hit)
     Line 116:     setGraphicObjectProperty(iFiguremdlUID, __GO_NAME__, 
_("Graphic window number %d"), jni_string, 1);

and http://gitweb.scilab.org/?p=scilab.git;a=history;f=... tells that 
its latest change was on *2016-05*

The only code file where *"Figure %d"* is set is
C:\Users\Samuel\Desktop\DOSSIERS\Scilab\scripts\dev\_netbeans\Scilab\scilab\modules\graphics\sci_gateway\cpp\sci_xset.cpp 
(1 hit)
     Line 357:             setGraphicObjectProperty(iFigureUID, 
__GO_NAME__, _("Figure n°%d"), jni_string, 1);

and http://gitweb.scilab.org/?p=scilab.git;a=history;f=... tells that 
its latest change was on *2017-02*

So, the cause of the issue looks not direct.
Any idea about the underlaying change causing the trouble?

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20180720/ecdc0698/attachment.htm>


More information about the dev mailing list