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

PDF open parameter is ignored with non-default Scroll/Spread modes #15695

Closed
ousia opened this issue Nov 14, 2022 · 1 comment · Fixed by #15720
Closed

PDF open parameter is ignored with non-default Scroll/Spread modes #15695

ousia opened this issue Nov 14, 2022 · 1 comment · Fixed by #15720
Assignees
Labels

Comments

@ousia
Copy link

ousia commented Nov 14, 2022

Attach (recommended) or Link to PDF file here:

https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=21

Link is required since the issue is how the URI is handled.

Configuration:

  • Web browser and its version: Firefox 106.0.4.
  • Operating system and its version: Fedora 35.
  • PDF.js version: the one included with Firefox.
  • Is a browser extension: yes.

Steps to reproduce the problem:

  1. https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=21 doesn’t open page 21, but the first one.
  2. https://opensource.adobe.com/dc-acrobat-sdk-docs/standards/pdfstandards/pdf/PDF32000_2008.pdf#page=35 does display page 35.

What is the expected behavior? (add screenshot)

Open page 21 with https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf#page=21.

What went wrong? (add screenshot)

It just opens first page from document (as if the link read https://www.pragma-ade.com/general/manuals/xml-mkiv.pdf and no #page=21 parameter was being used).

@Snuffleupagus Snuffleupagus changed the title PDF open paramenter is ignored with given document PDF open paramenter is ignored with non-default Scroll/Spread modes Nov 14, 2022
@Snuffleupagus Snuffleupagus self-assigned this Nov 14, 2022
@Snuffleupagus Snuffleupagus changed the title PDF open paramenter is ignored with non-default Scroll/Spread modes PDF open parameter is ignored with non-default Scroll/Spread modes Nov 14, 2022
@ousia
Copy link
Author

ousia commented Nov 27, 2022

Many thanks for the fix, @Snuffleupagus & @timvandermeij.

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