[Kst] kst 2.0 : No auto update?

Barth Netterfield barth.netterfield at gmail.com
Mon Aug 16 00:15:21 CEST 2010


This is strange.  We've been doing real time dirfiles all summer under Linux
with no troubles.

Do you have the vectors in 'count from end'?

C. Barth Netterfield
University of Toronto
416-845-0946

On Aug 15, 2010 4:56 PM, "Peter Kümmel" <syntheticpp at gmx.net> wrote:
> Am Sonntag, den 15.08.2010, 15:44 +0100 schrieb Peter Milne:
>> Data source is a DirFile that gradually grows in time.
>>
>>
>> Plotting this with kst 1.8 (FC), the plot updates at a respectable rate.
>>
>> Plotting with kst 2.0 results in a static plot, FC or MS-Win, it's
>> necessary to press the RELOAD button to get a new update.
>>
>> Is this a feature that hasn't been activated yet in kst 2.0?.
>>
>> The parameter Settings|General|Update-ms looks promising, but doesn't
>> seem to have an effect.
>>
>> What should drive this update - is it a timer in KST or perhaps a event
>> (like inotify) from the OS?.
>>
>
> Looks like a bug.
>
> There is a QFileSystemWatcher which should trigger an update,
> DirFileSource::init() in dirfilesource.cpp:
>
> _watcher = new QFileSystemWatcher();
> if (_fieldList.count() > 1) {
> QString filePath = _dirfile->ReferenceFilename();
> _watcher->addPath(filePath);
> }
> connect(_watcher, SIGNAL(fileChanged ( const QString & )), this,
SLOT(checkUpdate()));
> connect(_watcher, SIGNAL(directoryChanged ( const QString & )), this,
SLOT(checkUpdate()));
>
> Maybe Barth knows immediately what's going wrong.
>
> Peter
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kst/attachments/20100815/c33960ec/attachment.htm 


More information about the Kst mailing list