KDirWatch emitting dirty signal many times for one change
Waldo Bastian
bastian at kde.org
Tue Apr 13 11:56:33 BST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue April 13 2004 12:43, Sébastien Laoût wrote:
> On top of that I would want to rename file inside my app.
> So I could just rename the file and keep the KDirWatch detect this and
> reassociate file to the appropriate item.
>
> But this must be a reliable process.
> Users couldn't support data lost...
There is no reliable way to get this information. When the user renames the
file in konqueror or with KDesktop you will get the signals that David
mentioned, but when the user renames the files on the command line the only
information that KDirWatcher gets is that one file disappeared and that
another one appeared at roughly the same time.
KDirLister might have enough information to be able to reconstruct that this
was actually a renaming of a file, but at the moment I don't think it does.
Cheers,
Waldo
- --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
^ bastian at kde.org | Is your software SUSE LINUX READY? | bastian at suse.com
^<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAe8dhN4pvrENfboIRAjgkAJ48MqhyOyHy1wW9G93YTtzIjDFyvwCfcvEN
yX8XLpTIRuqet7CdosLKxcA=
=imhQ
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list