bugGNU Octave - Bugs: bug #51847, Variable Editor: should be able to...

 
 

bug #51847: Variable Editor: should be able to show struct internals

Submitted by:  Philip Nienhuis <philipnienhuis>
Submitted on:  Fri 25 Aug 2017 01:47:05 PM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  In Progress Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 01 Feb 2018 12:38:16 AM UTC, comment #3:

Two items to add: 1) Support for 'Up' button, 2) editing of collection variables.

For the first issue, try

For the second issue, proceed as before until tab x.b is open.

Rik <rik5>
Project Administrator
Thu 01 Feb 2018 12:32:01 AM UTC, comment #2:

Adding jwe to this bug report since he just checked in an implementation of structs (http://hg.savannah.gnu.org/hgweb/octave/rev/a4ea36915e38).

Rik <rik5>
Project Administrator
Tue 29 Aug 2017 09:14:54 PM UTC, comment #1:

Confirmed. The Variable Editor should be able to do something better for the display of structs.

Rik <rik5>
Project Administrator
Fri 25 Aug 2017 01:47:05 PM UTC, original submission:

Structs and arrays of structs can be opened in the Variable editor, fine.
Double clicking on a cell containing a struct in the Variable Editor should open the struct and show its internals in a new Variable Editor tab.

Attached are a few pics of how Matlab (r2015) shows struct contents, taken from patch #8656 comment #37.
Relevant text from that comment, copied here for convenience:

gives the output of struct1.png (attached)
Then,

gives struct2.png
Double-clicking field a(1).d (~cell 1, 3) gives struct3.png

So maybe maybe displaying structs doesn't have to be that difficult and could be fairly straightforward.

Philip Nienhuis <philipnienhuis>
Project Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #41651:  struct1-1.png added by philipnienhuis (40KiB - image/png)
file #41652:  struct2-1.png added by philipnienhuis (43KiB - image/png)
file #41653:  struct3-1.png added by philipnienhuis (41KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-01 rik5 StatusConfirmed => In Progress
        SummaryVariable Editor should be able to show struct internals => Variable Editor: should be able to show struct internals
        Carbon-Copy- => Added jwe
    2017-08-29 rik5 StatusNone => Confirmed
    2017-08-25 philipnienhuis Attached File- => Added struct1-1.png, #41651
        Attached File- => Added struct2-1.png, #41652
        Attached File- => Added struct3-1.png, #41653

    Back to the top


    Powered by Savane 3.3