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

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

[Octave-bug-tracker] [bug #53513] Deleting an uicontextmenu object does


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53513] Deleting an uicontextmenu object does not update uicontexmenu properties immediately
Date: Sun, 25 Oct 2020 15:41:37 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0

Follow-up Comment #31, bug #53513 (project octave):

Sorry, I have completely misinterpreted your previous post :-). Yes, if one is
a duplicate of the other lets close one et check we don't loose info.

The first attached patch seems to work for me. It moves the logic for clearing
the uicontextmenu properties of dependent objects from the uicontextmenu
destructor to gh_manager::free (don't know if this is the best place). 

After the previous change, we no more need the destructor to be called
synchronously, and I think we no more need to have synchronous finalize
operation in the GUI (no other GUI object had a non default destructor). 
So I also attached another patch in which I made ObjectProxy::finalize
asynchronous again, which clears bug #58678 (and I can't reproduce its brother
bug #48186 anymore).




(file #50096, file #50097)
    _______________________________________________________

Additional Item Attachment:

File name: bug53513.patch                 Size:4 KB
    <https://file.savannah.gnu.org/file/bug53513.patch?file_id=50096>

File name: bug58678.patch                 Size:2 KB
    <https://file.savannah.gnu.org/file/bug58678.patch?file_id=50097>



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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