KDirWatch emitting dirty signal many times for one change

David Faure faure at kde.org
Tue Mar 23 16:36:30 GMT 2004

On Tuesday 23 March 2004 14:11, Matthias Kretz wrote:
> On Tuesday 23 March 2004 12:59, David Faure wrote:
> > > Couldn't KDirWatch compress the notifications into one signal?
> >
> > I thought it already did?
> Look at the test program I attached to my first email. I get 271 notifications
> with it.

I know, I was simply referring to an earlier discussion about this problem.
But I found the answer: the delaying is done in KDirLister, not in KDirWatch
(see KDirListerCache::slotFileDirtyDelayed). Not sure why.
I would seem like a good idea to do the delaying in KDirWatch...

David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

More information about the kde-core-devel mailing list