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

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

[Octave-bug-tracker] [bug #44763] Reset submenus of a uicontextmenu


From: Rik
Subject: [Octave-bug-tracker] [bug #44763] Reset submenus of a uicontextmenu
Date: Tue, 5 Feb 2019 15:00:34 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #3, bug #44763 (project octave):

This is still present on the development branch (6.0).

I suspect the problem is that calling uimenu() to add the submenu invokes
extra code that checks whether there is an existing menu, etc., and makes
changes to the menu.  Then, when you delete the submenu, it just deletes the
actual graphics object.  There probably needs to be destructor code written
for the submenu that is called automatically by delete() to freshen the parent
uimenu.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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