[okular] [Bug 316890] Intelligent automatic reload

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Sep 14 16:04:15 BST 2020


https://bugs.kde.org/show_bug.cgi?id=316890

flindeberg at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flindeberg at gmail.com

--- Comment #13 from flindeberg at gmail.com ---
It looks like this is still around. 

I looked into KDirWatch and it seems it only has support for file changes (i.e.
the "dirty" signal), so it is impossible to know when the file is closed for
writing (lua/xe/pdflatex all seem to write multiple chunks and close the file
now and then as well). 

Wouldn't it work if okular shows a warning when the pdf-file changes, and waits
with updating the graphical layout until it has successfully loaded the new
pdf-file? I mean a warning along the lines of in big red letters "The current
file is corrupt, showing the last known good state from %time". This behavior
should only be the default for "greedy"-mode as well I think, since those of us
who would benefit from it are probably all using greedy anyhow and it could, as
previously stated, cause some confusion that the pdf shown is not the exact
version on the disk at that moment. 

I'm currently working around this with a last `cp file.pdf file-view.pdf` in my
makefiles, so a fix to this issue is, at least for me, a matter of convenience.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list