[Kst] [Bug 158130] Matrix can not be updated automatically after changing its source Data range

Andrew Walker arwalker at sumusltd.com
Thu Feb 21 17:39:06 CET 2008

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

------- Additional Comments From arwalker sumusltd com  2008-02-21 17:39 -------
A vector in a similar situation updates only because the ASCII data source calls KstDataSource::updateNumFramesScalar. As this value is marked as dirty as a result, the next update loop will update its provider (i.e. the vector). 

For the matrix case this call sends the already existing value to KstDataSource::updateNumFramesScalar, so the value is not marked as dirty and so the matrix is not updated on the next update loop.

NOTE: calling setDirty on the scalar is insufficient as this does not achieve the same result as the code in KstScalar::setValue, where the new value is not equal to the old value.

More information about the Kst mailing list