[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51921] Variable editor gets confused about va
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #51921] Variable editor gets confused about variable it is operating on |
Date: |
Sat, 2 Sep 2017 15:14:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.gnu.org/bugs/?51921>
Summary: Variable editor gets confused about variable it is
operating on
Project: GNU Octave
Submitted by: sebald
Submitted on: Sat 02 Sep 2017 07:14:41 PM UTC
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Some observations about the variable editor.
1) When double clicking on a variable in Workspace window, the associated
variable in the Variable Editor is brought to the fore, but the Variable
Editor tab itself remains where it was in the stack of tabs. It would be nice
to also bring the Variable Editor tab to the front.
2) I think there may be something not quite correct about the way tables are
associated to variables. I forget the Qt model, but they have two entities,
IIRC. There is like a data component and a display/table component through
which the data is fed. Suffice it to say that it wouldn't surprise me if
somehow there is confusion about what data component is being operated on by
the table. Try something like the following:
>> x = 1
x = 1
>> y = eye(5)
y =
Diagonal Matrix
1 0 0 0 0
0 1 0 0 0
0 0 1 0 0
0 0 0 1 0
0 0 0 0 1
>> 4 * 5
ans = 20
>>
Now double click on the y variable in Workspace to bring the 5x5 table to the
screen in Variable Editor. Double click on the element of the fifth row,
first column to edit. Change the "0" to something like "34". Hit enter and
the associated box becomes green background, but the element value has turned
back to "0" (when it should read 34). Now, to make the table change effective
in Octave core space, mouse click in the Variable Editor somewhere there is
not the table. Look over in Workspace window and notice that the value of
"ans" has changed to 34.
I'm guessing that the change from 0 to 34 is causing a change in the value of
"ans" data model of the GUI...hence the green background element of y matrix
is going back to "0" right away.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51921>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51921] Variable editor gets confused about variable it is operating on,
Dan Sebald <=