Skip to content
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

History not functional in presentation mode #7082

Closed
Rob--W opened this issue Mar 12, 2016 · 2 comments
Closed

History not functional in presentation mode #7082

Rob--W opened this issue Mar 12, 2016 · 2 comments
Labels

Comments

@Rob--W
Copy link
Member

Rob--W commented Mar 12, 2016

PDF.js version: latest (c6d2b7f)
Tested with: Firefox 44, Chrome 49.
Example: https://www.antennahouse.com/XSLsample/pdf/sample-link_1.pdf

Steps to reproduce:

  1. Open the above PDF.
  2. Enter presentation mode.
  3. Click on the link below "Example of a link to internal destination" on the first page. Now the second page will be displayed.
  4. Try to go back in history using Alt + Arrow left (or a mouse button if supported).

Expected result:
PDF.js should show the first page again.

Actual result:
PDF.js stays at page 2. If I repeat step 4 again, then I get to the page before the PDF viewer opened (=PDF.js does not store or detect the page position before navigating via an internal link).

@Rob--W Rob--W added the viewer label Mar 12, 2016
@Snuffleupagus
Copy link
Collaborator

This should be fixed by PR #6272, I just need to find a way (and the time) to split those patches into more testable/reviewable chunks (as asked for in #6272 (comment)).

Edit: Note that this worked initially, but at some point it broke due to other changes.

@Snuffleupagus
Copy link
Collaborator

Closing as fixed by PR #8775.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants