octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48186] delete(allchild(fig)) in a "deletefcn"


From: Rik
Subject: [Octave-bug-tracker] [bug #48186] delete(allchild(fig)) in a "deletefcn" callback raises error
Date: Sun, 23 Feb 2020 14:27:03 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #48186 (project octave):

                Severity:             5 - Blocker => 4 - Important          

    _______________________________________________________

Follow-up Comment #15:

This isn't desirable, but I don't think it is a Blocker for the 6.1 release. 
This is not a common code pattern.  Still, we should see if we could quickly
fix this.

More important than a bogus error message, is the fact that this can result in
Octave hanging in such a state that only a kill signal from outside the
program can stop it.

Placing this code in tst_delete_cb.m and running several times results in a
hang.


F = figure('Units','normalized');
h2 = uipanel(F,'Position',[0.55 0 0.45 1]);
h1 = uipanel(F,'Position',[0 0 0.45 1],
'DeleteFcn','delete(allchild(gcbf))');
close (F);




(file #48487)
    _______________________________________________________

Additional Item Attachment:

File name: tst_delete_cb.m                Size:0 KB
    <https://savannah.gnu.org/file/tst_delete_cb.m?file_id=48487>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?48186>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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