Closed Bug 1001080 Opened 10 years ago Closed 10 years ago

Pdf.js does't honer OpenAction

Categories

(Firefox :: PDF Viewer, defect, P3)

28 Branch
x86_64
Windows 7
defect

Tracking

()

VERIFIED FIXED
Firefox 32

People

(Reporter: support, Unassigned)

References

Details

(Whiteboard: [pdfjs-c-feature] https://github.com/mozilla/pdf.js/pull/4833)

Attachments

(1 file)

Attached file openaction.pdf
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

Steps to reproduce:

Open PDF file which set OpenAction as PRINT


Actual results:

Printing dialog is not displayed


Expected results:

Printing dialog should be displayed. This works on Chrome and Adobe Acrobat reader.
Component: Untriaged → PDF Viewer
At the moment OpenAction is not supported. The PDF contains:

OpenAction (dict) [id: 34, gen: 0]
    S = /Named
    Type = /Action
    N = /Print

Easy feature to implement.
Priority: -- → P3
Whiteboard: [pdfjs-c-feature][pdfjs-d-good-beginner-bug]
Marking as New.
Yury, I believe that [good first bug] whiteboard tag is used for beginners, though I don't know if it's relevant.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [pdfjs-c-feature][pdfjs-d-good-beginner-bug] → [pdfjs-c-feature][good first bug]
Yes, [good first bug] is meant to make it easy for new contributors to find small fixes to get started on. This looks a bit heavy for that, since it's implementing a new feature. I'm setting it to [good next bug]. Thank you for flagging it!
Whiteboard: [pdfjs-c-feature][good first bug] → [pdfjs-c-feature][good next bug]
Whiteboard: [pdfjs-c-feature][good next bug] → [pdfjs-c-feature] https://github.com/mozilla/pdf.js/pull/4833
I've implemented basic functionality of openAction.
Here's the pull request: https://github.com/mozilla/pdf.js/pull/4887
(In reply to Sumit from comment #5)
> I've implemented basic functionality of openAction.
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1017133
Resolution: --- → FIXED
Target Milestone: --- → Firefox 32
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0

The Print dialog is opened after the pdf file is loaded using Firefox 32 beta 4 (20140804164216).
Status: RESOLVED → VERIFIED
Keywords: verifyme
QA Contact: petruta.rasa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: