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

 
 

bug #39149: uixxx not working

Submitted by:  Doug Stewart <dastew>
Submitted on:  Mon 03 Jun 2013 01:55:28 PM UTC  
 
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 20 Jan 2014 12:32:11 AM UTC, 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 19 Jan 2014 07:22:51 PM UTC, 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 Member
Sat 27 Jul 2013 01:43:11 PM UTC, 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 25 Jul 2013 04:04:49 PM UTC, comment #7:

Done

http://hg.savannah.gnu.org/hgweb/octave/rev/7a67ab7c4771

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

Yes, I think the patch is OK.

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

Michael,

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

Ben Abbott <bpabbott>
Project Member
Tue 11 Jun 2013 07:52:52 PM UTC, 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 11 Jun 2013 07:46:50 PM UTC, 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 11 Jun 2013 07:16:08 PM UTC, comment #2:

I "bisect"ed the problem to rev. 834f904a3dcb:
http://hg.savannah.gnu.org/hgweb/octave/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 04 Jun 2013 07:42:40 PM UTC, 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 03 Jun 2013 01:55:28 PM UTC, 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):
   
   
Comment:
   

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 20 Jan 2014 01:48:53 AM UTCmtmillerStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 19 Jan 2014 07:22:51 PM UTCmtmillerCategoryNone=>Plotting
    Sat 27 Jul 2013 01:43:11 PM UTCbpabbottAttached File-=>Added MacOSX-no-axes.png, #28671
      Attached File-=>Added MacOSX-with-axes.png, #28672
    Thu 25 Jul 2013 04:04:49 PM UTCbpabbottStatusNone=>Ready For Test
      Release3.6.4=>dev
      Operating SystemGNU/Linux=>Any

    Back to the top


    Powered by Savane 3.1-cleanup