-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagemode bookmarks won't work with embed pdfjs in Firefox #9180
Comments
Please provide access to the complete example online, as requested in both https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md and https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md.
This sounds like an issue with your custom implementation of PDF.js, but from a distance it's impossible to tell what might be wrong. Edit:
The only way that could potentially happen is if you use different versions of the |
I can't provide access to an online example, so i extracted the pdfviewer part of this project and put it online and with the inverse of murphy's law everything goes right :( It's the same pdfjs files, same pdf, just some part differs like include of css or js script Don't understand what's going on. In my project pdf is loaded at page 0 and i need to scroll to force refresh of the view, the bookmarks pane can be opened manually but won't open automatically as #pagemode will. I found a way to fix it in my project, use of 127.0.01 instead of localhost for accessing it o_O Thanks a lot |
Is there added Bookmark? |
Configuration:
Steps to reproduce the problem:
What is the expected behavior?
The pdf will be rendered with bookmarks panel open
What went wrong?
The bookmarks pane wasn't open
Also note the rendering of the pdf is blank until an external event came as scroll pdf or resize browser window
Everything is fine in same site with chromium panel and rendering
I noticed in js console :
Error: Unknown action from worker: GetPageMode
pdf.worker.js:1298:5
messageHandlerComObjOnMessage@http://localhost/OpenTPE/OpenTPE/views/js/pdfjs/build/pdf.worker.js:2651:7
pdf.worker.js:1299:5
Error: Unknown action from worker: GetPageMode
The text was updated successfully, but these errors were encountered: