[Kst] [Bug 142622] scalar's tag names in equations don't follow tag name changes in parent vectors

Eli Fidler eli at staikos.net
Tue Mar 13 00:26:38 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=142622         




------- Additional Comments From eli staikos net  2007-03-13 00:26 -------
Did we decide what the desired behaviour is in this case? Do we really want the derived scalar to automatically change?

I'm not sure exactly how you're reproducing this bug, but if you (for instance) create a vector V and make an equation [V/Mean], then you change the vector name to V2, the equation will no longer work. If you re-parse the equation it will come out as the empty string, since it can't find it's vectors.

In the case of a label, it will come out as whatever you typed originally, but will not show a value.

I think it's probably tricky to make the equations/labels auto-adjust. I suppose we could check the provider of the scalar when re-parsing and use the new name if found, but that would require restructuring the KstEquation. We'd have to add methods to the label and equation parsers to update the object names without re-parsing from the original text.

Is this something we really want for 1.4?


More information about the Kst mailing list