bugGNU Octave - Bugs: bug #63088, uifigure displays possible setting...

 
 

bug #63088: uifigure displays possible setting properties when created without arguments

Submitter:  John Donoghue <lostbard>
Submitted:  Wed 21 Sep 2022 01:51:39 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 22 Sep 2022 09:38:20 PM UTC, comment #2: 

I modified your patch slightly to use isempty() and checked it in here http://hg.savannah.gnu.org/hgweb/octave/rev/e3016248ca5d.

Marking bug as fixed and closing report.

Rik <rik5>
Group administrator
Wed 21 Sep 2022 01:56:33 PM UTC, comment #1: 

patch attached

(file #53738)

John Donoghue <lostbard>
Group Member
Wed 21 Sep 2022 01:51:39 PM UTC, original submission:  

In dev octave 8

Example:


> f = uifigure()

        alphamap:
        beingdeleted:  [ {off} | on ]
        busyaction:  [ cancel | {queue} ]
        buttondownfcn:
        clipping:  [ off | {on} ]
        closerequestfcn:
        color:
        colormap:
        contextmenu:
        createfcn:
        currentaxes:
        deletefcn:
        dockcontrols:  [ off | {on} ]
        filename:
        graphicssmoothing:  [ off | {on} ]
        handlevisibility:  [ callback | off | {on} ]
        hittest:  [ off | {on} ]
        innerposition:
        integerhandle:  [ off | {on} ]
        interruptible:  [ off | {on} ]
        inverthardcopy:  [ off | {on} ]
        keypressfcn:
        keyreleasefcn:
        menubar:  [ {figure} | none ]
        name:
        nextplot:  [ {add} | new | replace | replacechildren ]
        numbertitle:  [ off | {on} ]
        outerposition:
        paperorientation:  [ landscape | {portrait} ]
        paperposition:
        paperpositionmode:  [ {auto} | manual ]
        papersize:
        papertype:  [ <custom> | a | a0 | a1 | a2 | a3 | a4 | a5 | arch-a | arch-b | arch-c | arch-d | arch-e | b | b0 | b1 | b2 | b3 | b4 | b5 | c | d | e | tabloid | uslegal | {usletter} ]
        paperunits:  [ centimeters | {inches} | normalized | points ]
        parent:
        pointer:  [ {arrow} | botl | botr | bottom | circle | cross | crosshair | custom | fleur | hand | ibeam | left | right | top | topl | topr | watch ]
        pointershapecdata:
        pointershapehotspot:
        position:
        renderer:  [ {opengl} | painters ]
        renderermode:  [ {auto} | manual ]
        resize:  [ off | {on} ]
        resizefcn:
        selected:  [ {off} | on ]
        selectionhighlight:  [ off | {on} ]
        selectiontype:  [ alt | extend | {normal} | open ]
        sizechangedfcn:
        tag:
        toolbar:  [ {auto} | figure | none ]
        units:  [ centimeters | characters | inches | normalized | {pixels} | points ]
        userdata:
        visible:  [ off | {on} ]
        windowbuttondownfcn:
        windowbuttonmotionfcn:
        windowbuttonupfcn:
        windowkeypressfcn:
        windowkeyreleasefcn:
        windowscrollwheelfcn:
        windowstate:  [ fullscreen | maximized | minimized | {normal} ]
        windowstyle:  [ docked | modal | {normal} ]


The issue appears to be coming from the set(h, varargin{:}) call as there are no argins in this case so does the return of all properties.

John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53738:  bug63088.patch added by lostbard (697B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by lostbard (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-22 rik5 Item GroupNone Other
        StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
        Summaryuifigure displays possiblle setting properties when created without arguments uifigure displays possible setting properties when created without arguments
    2022-09-21 lostbard Attached File- Added bug63088.patch, #53738
        StatusNone Patch Submitted

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code