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: Mike Miller
Subject: [Octave-bug-tracker] [bug #48186] delete(allchild(fig)) in a "deletefcn" callback raises error
Date: Fri, 10 Jun 2016 17:26:14 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Follow-up Comment #10, bug #48186 (project octave):

And what if the order of creation is reversed in old Matlab as well?

Does "allchild(F)" in the callback give the same list as "allchild(gcbf)"?
Just want to make sure it's not some special view of the figure object that
has different properties for the duration of the callback.

Assuming those are both fine, and the order we are doing things is backwards,
the change looks like reversing the order of gh_manager::free(h) and
parent.remove_child(h) in a few places in graphics.cc. Some other devs more
familiar with the graphics system should weigh in on whether this is safe or
worth doing.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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