[Kst] [Bug 115670] Some datasources call constructors/destructors [nb_vectors] times upon reload
George Staikos
staikos at kde.org
Fri Nov 4 17:50:32 CET 2005
------- 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=115670
------- Additional Comments From staikos kde org 2005-11-04 17:50 -------
On Friday 04 November 2005 06:55, Nicolas Brisset wrote:
> - take a datasource that does not implement reset() and outputs some trace
> when entering the contructor/destructor - create 4 plots with 1 curve in
> each (5 vectors total)
> - hit reload: the datasource is built/destroyed 5 times
> - add two vectors
> - hit reload: the datasource is built/destroyed 7 times
>
> As it may take a significant amount of time to initialize a datasource,
> this behavior is very wrong and should be fixed !
Sorry, but this begs the question: why not use reset()? Reset was designed
to fix just this case.
More information about the Kst
mailing list