[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Broken konqueror (with fam)
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-02-21 1:47:02
[Download RAW message or body]

On Tuesday 19 February 2002 18:20, Josef Weidendorfer wrote:
> On Tuesday 19 February 2002 14:10, David Faure wrote:
> > On Thursday 14 February 2002 14:59, Josef Weidendorfer wrote:
> ...
> > > ... Or perhaps a semantic like "automatically watch all files in a
> > > watched directory for changes" would be better?
> >
> > For Konqueror and KFile it would indeed be better.
> > We want to automatically see that a file in the currently watched directory
> > has grown. Having to add a file watch to every file in there would probably
> > be far too much.
> But exactly feature was the reason for the bug report in this thread:
> Watch e.g. the log file grow, where the growing leads to more logging!

I know. We have to add exceptions to KDirWatch, or to remove the relevant debug output.

> The FAM damon usually uses /dev/imon. But if it's not available, it
> in fact does simply STAT polling like we do, and actually watching ALL files
> in a watched dir. Looking at debug output of fam, for KDE it stats usually
> around 700 files :-)
Eek.

> I don't think that it's really too difficult, but then I think it's best to go 
> for KDirWatch::addDir(QString path, bool watchFiles = false);
> And as this is BIC, we have to add it before KDE 3 final, outputting
> "feature not available" when requested with watchFiles=true.
Why not.

> Another usage: The SAMBA KIO can't forward file adds/deletions...
> But I think I'm dreaming...
Hmm, if it can create a dcop client it could use the KDirNotify interface...

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david, http://www.konqueror.org
KDE 3.0: Konquering the Desktops


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic