bugGNU Octave - Bugs: bug #53307, Wrong order required for clearing...

 
 

bug #53307: Wrong order required for clearing default MenuBar.

Submitter:  None
Submitted:  Fri 09 Mar 2018 04:33:18 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  AlanRobertClark Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.1
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Mar 2018 04:15:11 PM UTC, comment #5: 

Confirmed fixed in 4.2.2 Debian Stretch Backports.

Both for Cut-n-Paste and as an m-file, with GUI and --no-gui.

Many Thanks to all concerned!
Alan.

AlanRobertClark <alanrobertclark>
Tue 13 Mar 2018 08:55:42 AM UTC, comment #4: 

Fantastic. Thank you so much. All the best!

AlanRobertClark <alanrobertclark>
Tue 13 Mar 2018 08:50:09 AM UTC, comment #3: 

Okay, this is showing up a race condition between the GUI thread and the main Octave computational thread.  We know about the issue and have been working to devise the best solution for a while now.

Rik <rik5>
Group administrator
Tue 13 Mar 2018 07:57:37 AM UTC, comment #2: 

Ah!, Didn't think of that.

Consistently works with cut/paste.

Consistently DOES NOT from m-file (Blank)

Baffled. My solution this far is to partially construct the menu's, set MenuBar to None, and continue building the menu structure (several levels).

AlanRobertClark <alanrobertclark>
Mon 12 Mar 2018 10:24:45 PM UTC, comment #1: 

Are you executing the script from an m-file or using cut/paste?

Rik <rik5>
Group administrator
Fri 09 Mar 2018 04:33:18 AM UTC, original submission:  

May be similar to 51901, but this is about order. menudemo.m:


% Demonstrates menu creation bug Stretch Backports (4.2.1)
% Old way, used to work:
CFh = figure;
set(CFh, 'MenuBar', 'None'); % Remove pre-built
uimenu(CFh, 'Label', 'Hello'); % Add own. Ends up BLANK.

CF2h = figure;
uimenu(CF2h, 'Label', 'Again'); % Add first, lots of menu's
set(CF2h, 'MenuBar', 'None'); % Removes pre-built, leaving ours.


Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alanrobertclark (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-26 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2018-03-13 rik5 StatusNeed Info Confirmed
    2018-03-12 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code