Re: [Scilab-users] callback delay

2020-10-21 Thread Stefan Du Rietz
On 2020-10-18 16:12, Stéphane Mottelet wrote: Hello, Did you try to play with the callback_property ? I think that making the callback interruptible or non interruptible may change things. S. Hello Stéphane, thanks for the proposition, which never concurred to me! But, since there is no

Re: [Scilab-users] callback delay

2020-10-19 Thread Stefan Du Rietz
On 2020-10-19 13:11, Stefan Du Rietz wrote: On 2020-10-18 19:34, Antoine Monmayrant wrote: On 18/10/2020 10:43, Stefan Du Rietz wrote: Hello Antoine, thank you very much for your replies, especially your hint about Java. The problem is that my GUI is rather complex with several levels

Re: [Scilab-users] callback delay

2020-10-19 Thread Stefan Du Rietz
On 2020-10-18 19:34, Antoine Monmayrant wrote: On 18/10/2020 10:43, Stefan Du Rietz wrote: Hello Antoine, thank you very much for your replies, especially your hint about Java. The problem is that my GUI is rather complex with several levels and the delay is not always happening. However,

Re: [Scilab-users] callback delay

2020-10-18 Thread Antoine Monmayrant
On 18/10/2020 10:43, Stefan Du Rietz wrote: Hello Antoine, thank you very much for your replies, especially your hint about Java. The problem is that my GUI is rather complex with several levels and the delay is not always happening. However, when it does, it is extremely annoying!  It

Re: [Scilab-users] callback delay

2020-10-18 Thread Stéphane Mottelet
Hello, Did you try to play with the callback_property ? I think that making the callback interruptible or non interruptible may change things. S. > Le 18 oct. 2020 à 10:44, Stefan Du Rietz a écrit : > > Hello Antoine, > > thank you very much for your replies, especially your hint about

Re: [Scilab-users] callback delay

2020-10-18 Thread Stefan Du Rietz
Hello Antoine, thank you very much for your replies, especially your hint about Java. The problem is that my GUI is rather complex with several levels and the delay is not always happening. However, when it does, it is extremely annoying! It never happened in Scilab 6.0.2. I will try to

Re: [Scilab-users] callback delay

2020-10-18 Thread Antoine Monmayrant
Even If you cannot measure the issue, if you have a minimum working example that triggers this bug, it would be helpful to share it with us so we can try to reproduce the issue and maybe link it to some version of java or your os. By the way, did you try to take another computer and do a

Re: [Scilab-users] callback delay

2020-10-18 Thread Antoine Monmayrant
On 17/10/2020 21:00, Stefan Du Rietz wrote: Hello Stephane and Antoine, I tried to explain why I cannot. After I have pressed the button with the callback, I can see that it takes a long time until the toc() message from the start of myfunction arrives. I don't know how to get the time from

Re: [Scilab-users] callback delay

2020-10-17 Thread Stefan Du Rietz
Hello Stephane and Antoine, I tried to explain why I cannot. After I have pressed the button with the callback, I can see that it takes a long time until the toc() message from the start of myfunction arrives. I don't know how to get the time from my button-press. Any idea? Stefan On

Re: [Scilab-users] callback delay

2020-10-17 Thread Stéphane Mottelet
Hello Stefan, Do you have a complete example using e.g. an uicontrol or else ? S. > Le 17 oct. 2020 à 16:49, Stefan Du Rietz a écrit : > > Hello, > > in the latest version Scilab 6.1.0, I have noticed that sometimes there is a > long delay before the execution of a callback, If I try to

[Scilab-users] callback delay

2020-10-17 Thread Stefan Du Rietz
Hello, in the latest version Scilab 6.1.0, I have noticed that sometimes there is a long delay before the execution of a callback, If I try to measure it, e.g. by using tic() "callback","tic();myfunction()" and then, in the beginning of myfunction(), having disp(toc()) the time is