bugGNU Octave - Bugs: bug #39149, uixxx not working


bug #39149: uixxx not working

Submitted by:  Doug Stewart <dastew>
Submitted on:  Mon Jun 3 13:55:28 2013  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: DougOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Mon Jan 20 00:32:11 2014, comment #10:

There were a few OSX specific rendering problems with the FLTK toolkit. We fixed the others, but I forgot about this one. I just tried "demo uimenu 1", and it is now working for me.

Looks ok to close to me.

Ben Abbott <bpabbott>
Project Member
Sun Jan 19 19:22:51 2014, comment #9:

Is comment #8 (menubar obscured on MacOSX) the only remaining issue on this bug report?

I get a working "demo uimenu" on both Linux and WinXP with 3.8.0.

Mike Miller <mtmiller>
Project Administrator
Sat Jul 27 13:43:11 2013, comment #8:

On MacOSX, the menubar is now visible for a figure with not axes objects (see the attached MacOSX-no-axes.png).

When an axes object is added the menubar is obscured (see MacOSX-with-axes.png)

(file #28671, file #28672)

Ben Abbott <bpabbott>
Project Member
Thu Jul 25 16:04:49 2013, comment #7:



Ben Abbott <bpabbott>
Project Member
Thu Jul 25 11:25:24 2013, comment #6:

Yes, I think the patch is OK.

Michael Goffioul <goffioul>
Project Member
Thu Jul 25 09:26:16 2013, comment #5:


Is your proposed patch in comment #3 ok to push (i.e. is it a partial solution or might in conflict with the proper solution?)?


Ben Abbott <bpabbott>
Project Member
Tue Jun 11 19:52:52 2013, comment #4:

Though I've the impression that the remaining problem is an clash between the default menus and the custom-created menus (and the way FLTK menus are implemented).

One way to guess what's going on is:

Michael Goffioul <goffioul>
Project Member
Tue Jun 11 19:46:50 2013, comment #3:

This patch partially solve the problem. Now menus appear correctly, but the uidemo still doesn't work as expected: the custom-created "File" and "Edit" menus are empty.

Michael Goffioul <goffioul>
Project Member
Tue Jun 11 19:16:08 2013, comment #2:

I "bisect"ed the problem to rev. 834f904a3dcb:

"Add support for full asynchronous graphics toolkit running in a separate thread. Add uicontrol and uipanel implementation."

It will take some time until I can write a patch for this.
Regards, Andy

Andreas Weber <andy1978>
Project Member
Tue Jun 4 19:42:40 2013, comment #1:

I can confirm that this problem also exists in default (a71a784c7611+ tip) since some months: http://octave.1599824.n4.nabble.com/demo-uimenu-in-development-branch-td4652445.html

I've tried to debug this with graphics_toolkit fltk.
In _init_fltk_.cc add_entry, fltk_label = uimenup.get_fltk_label (); returns an empty string when adding entries but they aren't added 'cause the empty label. This is the reason why uimenu->items_to_show () returns 0 and hide_menubar (); is called.

I tried to figure out why the label is empty and stepped until graphics.cc set_value_or_default. There are poperties "label" and "fltk_label" in graphics.in.h and label is called even when the graphics_toolkit is fltk. I'll try to digg further into this if I have more time.

Regards, Andy

Andreas Weber <andy1978>
Project Member
Mon Jun 3 13:55:28 2013, original submission:

Demo uimenu does not work in 3.6.4 and default.

Doug Stewart <dastew>


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

Attach File(s):

Attached Files
file #28671:  MacOSX-no-axes.png added by bpabbott (43kB - image/png)
file #28672:  MacOSX-with-axes.png added by bpabbott (41kB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by goffioul (Posted a comment)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by dastew (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):



    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Jan 20 01:48:53 2014mtmillerStatusReady For Test=>Fixed
    Sun Jan 19 19:22:51 2014mtmillerCategoryNone=>Plotting
    Sat Jul 27 13:43:11 2013bpabbottAttached File-=>Added MacOSX-no-axes.png, #28671
      Attached File-=>Added MacOSX-with-axes.png, #28672
    Thu Jul 25 16:04:49 2013bpabbottStatusNone=>Ready For Test
      Operating SystemGNU/Linux=>Any

    Back to the top

    Powered by Savane 3.1-cleanup1