KDirWatch emitting dirty signal many times for one change

Matthias Kretz kretz at kde.org
Tue Mar 23 15:54:50 GMT 2004


On Tuesday 23 March 2004 16:25, Anders Lund wrote:
> On Tuesday 23 March 2004 12:39, Matthias Kretz wrote:
> > I now have a workaround for KView that disables the slotFileDirty for
> > 100ms with a singleShot timer. But this is butt ugly so if there's any
> > way we could fix this the right way (TM) I'd be very happy. :-)
>
> In Kate, we simply removes the file from the dirwatcher during save.

I tried that. But since I have to readd the file again after saving I still 
get all the notifications.
When do you readd the file? Right after saving or do you use a timer?

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                          <><
http://Vir.homeip.net/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040323/b295fa3d/attachment.sig>


More information about the kde-core-devel mailing list