From kde-core-devel Wed Aug 02 08:57:22 2000 From: David Faure Date: Wed, 02 Aug 2000 08:57:22 +0000 To: kde-core-devel Subject: Re: serious problems in kviewshell, file watching X-MARC-Message: https://marc.info/?l=kde-core-devel&m=96520673807528 On Wed, Aug 02, 2000 at 03:28:23AM -0500, David Faure wrote: > bool KViewPart::openFile() > { > // Note: KDirWatch is able to watch files, as well. > // Hope this stays that way... > watch.addDir(m_file); > watch.startScan(); > > Shouldn't that be changed to watch the _directory_ where the file is ? > KDirWatch has never been able to watch files, other than watching the dir > they're in. Hmm, I have to withdraw that after looking deeper in KDirWatch's code. It stats whatever it's told to stat, whether it's a file or directory... KDirWatch works fine in e.g. konqueror (for stating dirs, but it shouldn't make a difference finally), so I suspect the bug is not in KDirWatch... -- David FAURE david@mandrakesoft.com, faure@kde.org http://home.clara.net/faure/, http://www.konqueror.org/ KDE, Making The Future of Computing Available Today