octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RC1 Candidate


From: Pantxo
Subject: RE: RC1 Candidate
Date: Mon, 28 Jan 2019 15:16:44 -0600 (CST)

John Donoghue-3 wrote
>> 
>> On Win 10, 64 bit using the  installer:
>> 
>>   PASS                            15502
>>   FAIL                                1
>>   XFAIL (reported bug)               26
>>   SKIP (missing feature)             52
>>   SKIP (run-time condition)           5
>> 
>> The error:
>> >>>>> processing
>> C:\Octave\OCTAVE~1.90\mingw64\share\octave\5.0.90\etc\tests\libinterp\cor
>> efc
>> n\graphics.cc-tst
>> ***** test
>>  hf = figure ("visible", "off");
>>  hax = axes ("parent", hf);
>>  unwind_protect
>>    hctx1 = uicontextmenu ("parent", hf);
>>    hctx2 = uicontextmenu ("parent", hf);
>>    set (hf, "uicontextmenu", hctx2);
>>    set (hax, "uicontextmenu", hctx2);
>>    assert (get (hf, "uicontextmenu"), hctx2);
>>    assert (get (hax, "uicontextmenu"), hctx2);
>>    assert (get (hf, "children"), [hctx2; hctx1; hax]);
>>    delete (hctx2);
>>    assert (get (hf, "uicontextmenu"), []);
>>    assert (get (hax, "uicontextmenu"), []);
>>    assert (get (hf, "children"), [hctx1; hax]);
>>    set (hf, "uicontextmenu", hctx1);
>>    assert (get (hf, "uicontextmenu"), hctx1);
>>    set (hf, "uicontextmenu", []);
>>    assert (get (hf, "uicontextmenu"), []);
>>    assert (get (hf, "children"), [hctx1; hax]);
>>  unwind_protect_cleanup
>>    close (hf);
>>  end_unwind_protect;
>> !!!!! test failed
>> ASSERT errors for:  assert (get (hf, "uicontextmenu"),[])
>> 
>>   Location  |  Observed  |  Expected  |  Reason
>>      .          O(1x1)       E(0x0)      Dimensions don't match
>> 
> 
> 
> Running the code of the test manually, I see it failing intermittently.
> 
> If I add a pause line into the test:
> 
>    delete (hctx2);
>    pause(0.1);
>    assert (get (hf, "uicontextmenu"), []);
> 
> I don't seem to get the fail any more

This is the bug at the origin of the following cset coming back

http://hg.savannah.gnu.org/hgweb/octave/rev/5535267e88ba

Unfortunately 
* the bug number in the cset is wrong, and I can't find the original report
ATM
* I really thought making the destruction of graphics objects synchronous
would destroy the last reference and clear this bug, ...t!

Pantxo



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]