[Kst] [Bug 248104] DirFile on NFS change detections
peter.milne at d-tacq.com
Sat Aug 28 19:52:21 CEST 2010
On Sat, Aug 28, 2010 at 4:21 PM, Peter Kümmel <syntheticpp at gmx.net> wrote:
> --- Comment #8 from Peter Kümmel <syntheticpp gmx net> 2010-08-28 17:21:11 ---
> SVN commit 1169175 by kuemmel:
> Always poll on Linux with the help of QFileSystemWatcher for UpdateCheckType
> could be fixed when we know if the file is local or not.
> But maybe we remove the code because of all the Qt bugs, hacks and
> unimplemented Qt features.
> M +2 -5 datasources/dirfilesource/dirfilesource.cpp
> M +24 -3 libkst/datasource.cpp
> M +3 -3 libkst/datasource.h
> WebSVN link: http://websvn.kde.org/?view=rev&revision=1169175
I built this version, but sorry, I don't see a live update (live
The plot _does_ refresh on pressing the >> or >| buttons, I don't
recall seeing that before.
Update on pressing these buttons is smoother, faster than a full
reload, so it is an improvement.
Forcing polling on all FS whether it's needed (remote) or not (local)
may be unpopular,
is it possible to use stat() to determine file type.
eg on my system:
localfile, remote file:
$ stat --file-system -c %t,%T ~/.bashrc ~/acq132_055/README.txt
So you could select to poll on all fuseblk files (maybe they don't all
suffer from this problem, but it means that the main case eg ext
doesn't have to.
Peter Milne www.d-tacq.com
More information about the Kst