bugGNU Octave - Bugs: bug #50449, Qt figure should have uimenu...


bug #50449: Qt figure should have uimenu objects as children of figure

Submitted by:  Rik <rik5>
Submitted on:  Fri 03 Mar 2017 07:10:13 PM UTC  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 03 Mar 2017 07:10:13 PM UTC, original submission:

In Matlab, the default menus (such as File, Edit) are uimenu objects which are children of the current figure. The property "HandleVisibility" is set to "off" so they are not returned by

However, they can be returned with findall or allchild.

For FLTK, this system is already implemented. When figure.m is called to create a new figure, it calls scripts/plot/util/private/__add_default_menu__.m to add uimenu objects. However, for Qt figures the menus are different and they are created directly in libgui/graphics/Figure.cc.

The simplest thing, I think, is to have _add_default_menu_.m also run for Qt and then eliminate the C++ code in Figure.cc

Rik <rik5>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1