KDirWatch emitting dirty signal many times for one change

Josef Weidendorfer Josef.Weidendorfer at gmx.de
Thu Mar 25 17:01:08 GMT 2004


On Thursday 25 March 2004 16:53, Matthias Kretz wrote:
> If I remove the file before saving I don't get any notifications anymore.
> Very good.

Fine.

> But if I don't remove the file from the watcher I get 312 notifications.

With the patch, FAM should use the same merge/delay as DNOTIFY.
Hmm... I didn't check it out myself ;-)
I have to compile KDE head and look for the problem...

How long is your save() lasting?

>
> To make it compile I needed to add a definition for slotActivated if
> HAVE_DNOTIFY is undefined.

Ah, yes (First I thought I have to use slotActivated() for both DNOTIFY and 
FAM).

Josef





More information about the kde-core-devel mailing list