Configuration:
Steps to reproduce the problem:
I expect the zoom level to stay the same after clicking on the bookmark; the only effect of clicking it is to jump to a certain page. Instead, what happens is that I get to the requested page but the zoom level reverts to Page Fit.
That's expected behavior -- PDF bookmarks indeed override zoom to fit the page. Acrobat Reader behaves the same way. Closing as invalid.
The "links" (or destinations, as they are called in PDF files), can and in this case do specify the zoom level that should be used when they are clicked.
Compare with e.g. Adobe Reader, where the behaviour is the same as in PDF.js. Please refer to the PDF specification for additional information, e.g. here and here.
Closing as invalid, since this works as intended.
Can鈥檛 we have an about:config preference to override this behavior?
Sorry for bumping a 3 year old issue, but for posterity's sake, this:
Can鈥檛 we have an about:config preference to override this behavior?
now exists. Simply enable pdfjs.ignoreDestinationZoom
in about:config
.
Most helpful comment
Can鈥檛 we have an about:config preference to override this behavior?