bugGNU Octave - Bugs: bug #53175, Variable Editor: modifying element...


bug #53175: Variable Editor: modifying element of cell array doesn't update cell array

Submitted by:  Dan Sebald <sebald>
Submitted on:  Sat 17 Feb 2018 04:07:51 AM UTC  
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
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.


Mon 19 Feb 2018 06:12:59 AM UTC, comment #2:

Apparently, the "[10x1 double]" changes its value if I press enter in the command line (i.e, without issuing any command) after adding a row/column. This is most probably due to calling of update_description () when the variable editor is in picture. Still confused as to how it invokes update_description () when I press enter idly.

Sahil Yadav <batterylow>
Sat 17 Feb 2018 05:21:29 AM UTC, comment #1:

Here's a more direct illustration of the issue. Type

Open the column 1 width enough to see "[1x10 double]". Now double click the 1,1 cell of x and the x{1,1} table will open. In the x{1,1} table select "Transpose" and the contents of the 1,1 cell in x will become "[10x1 double]", which is correct. However, in the x{1,1} table expand the number of columns or rows by typing a zero in a blank cell and the "[10x1 double]" in the x table will not change.

Dan Sebald <sebald>
Sat 17 Feb 2018 04:07:51 AM UTC, original submission:

Try the following steps:

Now, in the V.E., double-click on the 2,3 cell that indicates "[2x2 double]" and the window a{2,3} appears. Now go back to the command window and type

(Leave off the semicolon so the contents is printed.) Look back at the V.E. Both the "a" and "a{2,3}" will have been updated properly; they both indicate "10". Now, go to the "a{2,3}" window and change the value of the 1,1 cell from 10 to 500. Look over in the "a" tab window and the cell at 2,3 still indicates "10". Go to the command line and look at "a":

which indicates "500". So the command is properly making its way back to the core, but the V.E. "a" tab window isn't being updated (which probably isn't noticeable when all it displays is "[2x2 double]").

Maybe it is as simply as calling "update ()", which is already done with a few editing operations, but not all.

Dan Sebald <sebald>


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

Attach File(s):

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 batterylow (Posted a comment)
  • -unavailable- added by sebald (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