baskerville / plato

Document reader
Other
1.25k stars 103 forks source link

For some reason Plato doesn't follow internal links of some PDFs #296

Closed Masacroso closed 1 year ago

Masacroso commented 1 year ago

I noticed this behavior in at least the last two versions of Plato used in Kobo Forma (last two versions counted from today), I press a link of a PDF and it does nothing instead of going to the corresponding page of the book.

The PDF is here, if someone want to test it.

Masacroso commented 1 year ago

Sorry sir, but the bug persists. I build Plato from source code 30 min ago, put the builded version on my Kobo Forma (deleting the old one) and the same behavior persists.

baskerville commented 1 year ago

Sorry sir, but the bug persists.

I don't think so. If you had successfully replaced the plato binary, then it would have crashed during startup, because the MuPDF third-party dependency was updated since 0.9.36.

EDIT: It would also just fail during the build phase because of the MuPDF version mismatch.

Masacroso commented 1 year ago

Sorry sir, but the bug persists.

I don't think so. If you had successfully replaced the plato binary, then it would have crashed during startup, because the MuPDF third-party dependency was updated since 0.9.36.

EDIT: It would also just fail during the build phase because of the MuPDF version mismatch.

I just build everything with ./build.sh and after I did ./dist.sh as shown in the build guide in manjaro. I did all steps correctly with no errors, giving a zip named plato0.9.36 (or something like that, I dont remember exactly the name of the zip file). I uncompressed this zip in a plato folder, and substitute (deleted the old one and put this) the plato folder in kobo forma with this one. It runs perfectly, with no crash at all but the bug persists.

Maybe I must just substitute the plato binary in the old installation?