Open ghbrown opened 1 week ago
Please provide a log (with -l debug
) with a4ef953 from the develop branch or newer.
Working on this now. How do I find the correct path for a plugin? I'm currently running the newly compiled version like
<absolute path>/build/zathura -p /usr/lib/zathura main.pdf
I'm using this plugin path since it's what my installed zathura returns from zathura --version
, but it doesn't seem to be working:
warning: Found no plugins. Please install at least one plugin.
info: Opening plain database via sqlite backend.
warning: sqlite database already exists. Set your database backend to sqlite. See zathura
rc(5) for details.
error: Could not determine file type.
Right, the path is correct, but the plugin ABI changed. You'll need to rebuild the plugins against the zathura version from develop
(best to also use the develop version of the plugins).
When you say "against the zathura version from the develop branch", what do you mean?
I've build zathura-pdf-poppler
according to its build instructions, and I'm now passing this path (which houses libpdf-poppler.so
), but I'm getting the same error.
I think perhaps the answer to both is that I haven't ninja install
ed the develop version of zathura (just to keep my machine as clean as possible). Is this what is needed before building zathura-pdf-poppler
?
Indeed that was what I needed to do. Attached is the log.
I opened the PDF, scrolled down a bit, rebuilt via latexmk
(which generates a new pdf). The bug was present, so it went back to the beginning.
debug.log
Thanks. Could you also check the entry of the fileinfo
table in ~/.local/share/zathura/bookmarks.sqlite
for that file (with sqlitebrowser
, for example)? What does it contain for page
, position_x
and position_y
?
Sure, here that is.
page: 0
offset: 0
position_x: 0.5
position_y: 0.0125277...
Like many other users, I use Zathura as my PDF viewer for LaTeX writing, so Zathura has the PDF open when I rebuild the PDF.
Since my latest update via
pacman
Zathura no longer holds the proper position in the file when the PDF is rebuilt.However, if I open a file, navigate to position X, close Zathura, then reopen the file it opens to X no problem. Seems there's something special about the rebuild of an open file that's causing issues for position.
System info: