Closed
Bug 930023
Opened 11 years ago
Closed 9 years ago
pdf.js ignores zoom= option in hash when there is no page=
Categories
(Firefox :: PDF Viewer, defect, P4)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jennifer.mankin, Unassigned)
References
Details
(Whiteboard: [bugday-20131028][pdfjs-c-feature][pdfjs-d-good-beginner-bug][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3864)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130910160258 Steps to reproduce: Point browser to a PDF file and add "#zoom=[n]" to the end of the url... Actual results: PDF loads in pdf.js with "Automatic Zoom" Expected results: According to http://www.askapache.com/javascript/pdf-js.html#Options_after_the-s0, this is supposed to work.
Comment 1•11 years ago
|
||
Confirmed with 2013-10-28-03-02-05-mozilla-central-firefox-27.0a1.en-US.linux-x86_64 (#page=<n> works, at least when added after the PDF loads).
Component: Untriaged → PDF Viewer
OS: Windows 7 → All
Whiteboard: [bugday-20131028]
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•11 years ago
|
||
It's ignored when "page=" is not specified, e.g. http://www.education.gov.yk.ca/pdf/pdf-test.pdf#page=1&zoom=180 works
Comment 3•11 years ago
|
||
(In reply to Yury Delendik (:yury) from comment #2) > It's ignored when "page=" is not specified, e.g. > http://www.education.gov.yk.ca/pdf/pdf-test.pdf#page=1&zoom=180 works Confirmed (only when the params are added/changed after the PDF loads). In the list in https://github.com/mozilla/pdf.js/wiki/Viewer-options, "zoom" is a sub-item of "page".
Summary: pdf.js ignores zoom option in hash → pdf.js ignores zoom= option in hash when there is no page=; http://www.askapache.com/javascript/pdf-js.html#Options_after_the-s0 doesn't mention that
Updated•11 years ago
|
Priority: -- → P4
Whiteboard: [bugday-20131028] → [bugday-20131028][pdfjs-c-feature][pdfjs-d-good-beginner-bug]
Updated•11 years ago
|
Whiteboard: [bugday-20131028][pdfjs-c-feature][pdfjs-d-good-beginner-bug] → [bugday-20131028][pdfjs-c-feature][pdfjs-d-good-beginner-bug][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/3864
Updated•11 years ago
|
Summary: pdf.js ignores zoom= option in hash when there is no page=; http://www.askapache.com/javascript/pdf-js.html#Options_after_the-s0 doesn't mention that → pdf.js ignores zoom= option in hash when there is no page=
Comment 4•11 years ago
|
||
pdfjs always goes to page 1 with no zoom when called from the command line despite any parameters. $ firefox file:///mnt/usb/cf/index.html%3Fartifact_id=1215#page=11&zoom=150,56,762 is just like $ firefox file:///mnt/usb/cf/index.html%3Fartifact_id=1215
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•