octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55668] Variable Editor cannot delete certain


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #55668] Variable Editor cannot delete certain rows and columns in struct classes
Date: Fri, 8 Feb 2019 16:17:30 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48

Follow-up Comment #6, bug #55668 (project octave):

Some more experimenting:

tst = repmat (struct ("a", 1, "b", rand(3)), 3, 1)
openvar tst

Then, right-click column header "b", select "Delete column" => error popup
"failed to execute expression 'tst(:, 2:2) = []'". the struct isn't affected.

But if you right-click column header "a", select "Delete column" => all struct
contents are wiped, leaving a 3x0 struct behind.

(A cosmetic one) 
Again create the struct.
Delete rows one by one. After deleting the last but one row, the row header
turn into numbers and the orientation is transposed. After any action, the row
headers turn into the expected fieldnames. So maybe there's some callback
missing that repaints the row headers.

AFAIK the Variable Editor is still experimental, IOW, not a showstopper for
the 5.1 release? Lately I haven't seen the variable editor crash Octave; the
original example in bug #53858 works OK, at least on Windows.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55668>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]