Version: 1.7.0 (using KDE 3.5.10) OS: Linux Installed from: Compiled From Sources PROBLEM: An updating ascii data file is re-read with every update STEPS TO REPRODUCE: Add suitable debug statements to the ascii datasource code so that you are advised of the samples that are being read from Kst Create an ascii data file with a single vector that adds a new item every second in time Start Kst and create a plot with this vector in, where the vector is in read-to-end mode RESULTS: On every update the vector is re-read in its entirety EXPECTED RESULTS: Only the newly added samples are read
This problem was originally encountered by a user creating a custom datasource, but they then realised it was a more general problem.
It appears that this bug has been around for a long time, and was probably introduced in revision 365687, where there was no consideration made for reading only the first sample of each new frame.
SVN commit 977386 by arwalker: BUG:195163 ensure we request to read only the necessary samples of an updated datasource file M +10 -4 kstrvector.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=977386