Version: (using KDE KDE 4.0.0)
Installed from: Ubuntu Packages
In kpdf, I could open a PDF and get it automatically reloaded when the underlying file was changed. This was very useful when writing LaTeX documents, as you could simply compile them and the changes would automatically be loaded in kpdf.
This feature sadly does not seem to exist in okular.
Works here; did you activate the "Relaod document on file change" option (active by default)?
Yes I did activate it, not sure why it did not work before.
And in further testing, it sometimes worked, but sometimes I would get a
dialog box saying that the file could not be opened (probably because LaTeX
was writing to it), clicking on Ok would then reload the file nonetheless
(probably because writing was done). Maybe there should be a short delay,
then another attempt at opening the file and only then, after a second
failure, a dialog box shown (I have never seen this behavior in kpdf,
Well, the behavious is the very same as in KPDF, nothing changed.
Both KPDF and Okular wait 750ms after a file change event of the current file; if a new change happen during that time, the countdown is restarted, and so on.
Nah, it's a regression, okular shows you an ugly message box saying the document could not be loaded when it tries to load it in the middle, kpdf did not do that.
SVN commit 761490 by aacid:
Don't show an ugly popup saying the document could not be loaded when we come from a file changed reload
M +13 -6 part.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=761490