bugGNU Octave - Bugs: bug #44573, "auto" option of figure...

 
 

bug #44573: "auto" option of figure property "toolbar" not implemented

Submitted by:  Rik <rik5>
Submitted on:  Wed 18 Mar 2015 05:49:59 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 02 Jun 2015 04:33:02 PM UTC, comment #5:

Retagging release from 4.0.0-rc1 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Mon 23 Mar 2015 08:14:08 AM UTC, comment #4:

Thanks Rik, I pushed this revised cset:

http://hg.savannah.gnu.org/hgweb/octave/rev/5e6e0563388b

It fixes the issue in comment #3 so I am closing the bug report. FTR I also noticed that the toolbar is deliberately removed when the canvas has any uicontrol object. This seems odd to me but I'll leave it for another bug report (or not, I'll test it in Matlab).

Pantxo Diribarne <pantxo>
Project Member
Mon 23 Mar 2015 02:45:10 AM UTC, comment #3:

I would say that this is simple enough that we could commit it aheard of 4.0.0 final.

However, I found one oddity. The following leaves the toolbar displayed, when it should be hidden.

Rik <rik5>
Project Administrator
Sun 22 Mar 2015 10:56:11 AM UTC, comment #2:

Hi,

I attached a very simple patch. Should I push it now in 4.0rc1 branch or wait until we have a stable/default branch?

(file #33418)

Pantxo Diribarne <pantxo>
Project Member
Thu 19 Mar 2015 04:12:40 PM UTC, comment #1:

I can confirm this behavior in Octave, and ML 2013a does what its documentation says:

  • "toolbar" = "none": no toolbar independently of "menubar" property
  • "toolbar" = "figure": toolbar displayed independently of "menubar" property
  • "toolbar" = "auto": toolbar displayed if "menubar" displayed (== "figure")
Pantxo Diribarne <pantxo>
Project Member
Wed 18 Mar 2015 05:49:59 PM UTC, original submission:

According to the documentation, when the figure property "toolbar" is set to "auto" then the display of the toolbar is controlled by the value of the "menubar" property ("figure" [on] or "none" [off]).

However, the menubar property seems to ignore "auto" and treat it the same as "figure".

Sample code:

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33418:  fix_autotoolbar.patch added by pantxo (888B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2015 04:33:02 PM UTCjweRelease4.0.0-rc1=>4.0.0
    Mon 23 Mar 2015 08:14:08 AM UTCpantxoStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Mon 23 Mar 2015 02:45:10 AM UTCrik5StatusNone=>In Progress
    Sun 22 Mar 2015 10:56:11 AM UTCpantxoAttached File-=>Added fix_autotoolbar.patch, #33418

    Back to the top


    Powered by Savane 3.1-cleanup1