KDirWatch issue

Albert Astals Cid aacid at kde.org
Sat Apr 22 20:50:20 BST 2017


El dissabte, 22 d’abril de 2017, a les 13:05:51 CEST, Martin Koller va 
escriure:
> Hi,
> 
> just wondering if I'm doing something wrong or there really is a bug in
> KDirWatch (I'm on openSuse Leap 42.2, KF5 5.33.0)
> 
> From the docs I understand that when I call
> 
> KDirWatch::stopDirScan(dir);
> ... create files in the dir ...
> KDirWatch::restartDirScan(dir)
> 
> it should not emit the dirty signal when I run this, right ?
> 
> Well, it does.
> I've attached a small test.
> 
> When I modify the code and use stopScan() ... create ... startScan()
> I still receive the dirty signal with the path to the file I created.
> 
> Only way it works without signal is
> removeDir(dir) ... create ... addDir(dir)
> 
> Is this how it's supposed to work ?

If you don't get any answer here try the frameworks list (yeah noone knows 
what this list is anymore).

Cheers,
  Albert





More information about the kde-core-devel mailing list