Version: 0.5.5 (using KDE KDE 3.5.5) Installed from: Fedora RPMs OS: Linux I'm using KPDF 0.5.5 on KDE 3.5.5-0.2.fc5 Fedora Core Release 2.6.18-1.2257.fc5. Watching a pdf file created by LaTeXPDF usually works fine, but occasionally it stops functioning. I haven't figured out what triggers this, but I have found a way to recover functionality. Namely, I open the file in KGhostview and tick on "watch file" (which is not the default in KGhostview). Once KGhostview watches the file once successfully, I then open the file in KPDF, which now starts to correctly watch the file again.
What triggers the problem in the watch file function seems to be any error that the LaTeXPDF encounters in the compilation.
Does that situation delete the pdf file?
Ioannis, is there any news about this problem? What about Albert's question?
Same problem here, using LilyPond and GhostScript. Lilypond deletes the PDF file first, and then outputs a new one (the inode number changes). KPDF most times stops watching a file when it is deleted and recreated a very short while after. It would be very nice if KPDF just keeps wachting a file, even when it is deleted and recreated again.
In the source of both KPDF and Okular I see that it listens to the KDirWatch signal dirty(), but not deleted() or created(). Should this be fixed in KDirWatch or KPDF/Okular? (The problem is stat KPDF/Okular stop watching a file when it is deleted and recreated shortly thereafter)
The issue has been implemented on Okular and will be released with KDE 4.1. It won't be fixed on KPDF.