Closed Bug 1365814 Opened 7 years ago Closed 3 years ago

[JSPlugin] Can not generate PDF file while using "Microsoft Print to PDF" driver in Win10

Categories

(Core Graveyard :: Plug-ins, defect, P3)

All
Windows
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: fatseng, Unassigned)

Details

JSPlugin can not generate PDF file while using "Microsoft Print to PDF" driver in Win10.
Assignee: nobody → lochang
After looking into the bug, it seems that the showprintdialog won't pass the correct paperWidth and paperHeight when we try to "print to PDF" which results in generating a PDF with empty content.
Currently, I can only think of setting a Default value to paperWidth and paperHeight. Since these values are got from OS directly.
Per check, paperWidth and paperHeight are zero while using "Microsoft Print to PDF" driver. If receiving unreasonable value, we should have a default size.
Assignee: lochang → nobody
OS: Unspecified → Windows
Priority: -- → P2
Hardware: Unspecified → All
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Resolving as wont fix, plugin support deprecated in Firefox 85.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.