bugGNU Octave - Bugs: bug #58196, uitoggletool not listed in...

 
 

bug #58196: uitoggletool not listed in struct2hdl

Submitter:  Guillaume <gyom>
Submitted:  Fri 17 Apr 2020 02:29:20 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 19 Apr 2020 12:36:30 AM UTC, comment #1: 

Thanks for noticing this.  I checked in your patch here https://hg.savannah.gnu.org/hgweb/octave/rev/cb0194e0cb0e.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Fri 17 Apr 2020 02:29:20 PM UTC, original submission:  

uitoggletool is missing in the list of objects that struct2hdl implements:


diff -r a56ee7986ea4 scripts/plot/util/struct2hdl.m
--- a/scripts/plot/util/struct2hdl.m    Thu Apr 16 12:51:31 2020 -0700
+++ b/scripts/plot/util/struct2hdl.m    Fri Apr 17 15:21:00 2020 +0100
@@ -180,7 +180,8 @@
     [h, s, p] = createhg (s, p, par, hilev);
   elseif (any (strcmp (s.type, {"uimenu", "uicontextmenu",...
                                 "uicontrol", "uipanel", "uibuttongroup",...
-                                "uitoolbar", "uipushtool", "uitable"})))
+                                "uitoolbar", "uipushtool", "uitoggletool"...
+                                "uitable"})))
     if (isfield (s.properties, "extent"))
       s.properties = rmfield (s.properties, "extent");
     endif


Guillaume <gyom>

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by gyom (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-19 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code