bugGNU Octave - Bugs: bug #52798, set (h,...

 
 

bug #52798: set (h, "boolean_property") does not display default correctly

Submitted by:  Rik <rik5>
Submitted on:  Wed 03 Jan 2018 07:22:16 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned 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.

 

Wed 03 Jan 2018 07:22:16 PM UTC, original submission:

Boolean graphics properties take the value of "on" or "off". The set (graphic_handle, "property_name") is supposed to list all of the possible values the property can take along with the default value wrapped in '{}'.

For boolean properties, it always wraps the second value of "on" with "{}". Sample code with property "beingdeleted" which has a default of "off" and "clipping" which has a default of "on".

Interestingly, the documentation in the Octave manual gets this right.

Rik <rik5>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

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