I'm working with LaTeX-documents and I'm using zathura to view the generated pdf. But when I recompile the .tex file zathura doesn't reload the modified pdf.
Latest version of zathura is 0.3.6, current port is 0.3.4. Unfortunately, I'm not able to perform my maintainer role currently, and as such cannot test an update of the port. You can see whether this problem is fixed by updating the port description to 0.3.6 and recompile it.
The version 0.2.6 doesn't work too :( I think the problem maybe isn't zathura-specific because graphics/apvlv doesn't reload automatically (the 'autoreload' is set to 1 - https://github.com/naihe2010/apvlv/blob/master/apvlvrc.example).
Stumbled upon this one, too. Compiled LaTeX from within NeoVim (using vimtex to open previewer), and zathura doesn't recognise changes to the pdf file due to recompiling. But when I swap it out from under its arse by removing the file, then recompiling it, it works. So you can't just update the file in place, you have to rm it first, then create a new one for zathura to see changes. If this isn't unique to zathura, might it be an issue in the OS/filesystem? In that case: running 10.3-p6 with ZFS.
Link to upstream issue. https://bugs.pwmt.org/project/zathura/issue/639
This might actually be an issue in glib. Zathura uses this to detect changes in files. fuse-sshfs also depends on glib, and I see a very similar problem there: sshfs fails to recognise a change in a remote file, so from the sshfs-client the file seems unchanged. Glib seems a common factor here.
We have version 0.3.8. Is this still relevant?
(In reply to w.schwarzenfeld from comment #6) Yes.
(In reply to Zsolt Udvari from comment #7) Have you tried the latest version 0.4.0 to see if it will do this? I don't use this port, so unsure how to use it to reproduce this error
(In reply to Nathan from comment #8) I'm using quarterly repository so I can't try it now. Steps to reproduce: 1. Install TeXLive. 2. Create a simple (La)TeX-file (for example https://en.wikibooks.org/wiki/LaTeX/Basics#The_LaTeX_syntax) and run pdf(la)tex on it to generate a pdf file. 3. Open the generated pdf file in zathura. 4. Change the (La)TeX-file (created in step 2) and recompile it. The pdf file is changed but zathura doesn't reload it.
Ok, will attempt to see if I can reproduce this bug ASAP with latest version
(In reply to Nathan from comment #8) Using zathura 0.4.0, I just compiled a TeX-file, opened it in zathura, then changed it. After recompiling the pdf, zathura did not pick it up automatically, I had to hit "r".
(In reply to freebsd from comment #11) Exactly :)
^Triage: assign to a @FreeBSD.org address. To maintainer: this PR looks old. Is it still relevant?
It is indeed old, but has been a problem for 2 years at least, so it may still be relevant. At least it impacted 0.4.0, and we are now at 0.4.6, and I don't see an explicit reference to solving this problem in the changelog since then. The upstream bug URL is broken though, and the bug does not seem to be listed in the new bugtracker of the project (https://git.pwmt.org/pwmt/zathura). If someone can reproduce the bug, it would probably be better to notify the zathura team about it.
Yes, it's still exist.
It seems works now. I close this ticket.