Closed Bug 1419611 Opened 7 years ago Closed 3 years ago

64-bit Firefox on Windows - XPS Document Writer and Adobe PDF writer don't work for Flash printing

Categories

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

57 Branch
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: ktakkim, Assigned: handyman)

Details

Attachments

(1 file)

39.49 KB, application/zip
Details
Attached file PrintTest.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36

Steps to reproduce:

1. Unzip the the attached project.
2. With Flash Player installed and enabled, load bin-debug/PrintTest.html in Firefox
3. Click anywhere on the stage (the block of text)
4. Select "Microsoft XPS Document Writer" or "Adobe PDF" from print dialog.




Actual results:

Microsoft XPS Document Writer - no "File Save Dialog" pops up
Adobe PDF - A "File Save Dialog" pops up but it never gets focus.  So not able to put a file name nor to click "OK" or "Cancel" button.



Expected results:

For both printers, a "File Save Dialog" pops up.  Able to input a file name and to click buttons.  An output file is generated as printing result.
On Flash Player's point of view, StartDoc() Win32 API doesn't seem to work.
When it calls the API, it expects a "File Save Dialog" pops up and a output file name is given by user and it is ready for being written as printing result.

But actual results are:
Adobe PDF driver - hang in StartDoc() (that's because "Save" dialog doesn't get a focus, so users have no way to input)
XPS writer - StartDoc() returns SP_ERROR, GetLastError() is ERROR_INVALID_HANDLE(6)

I assume the API is brokered in 64bit FF.
Needs Mozilla's help to understand what is happening on FF.
Component: Untriaged → Plug-ins
Product: Firefox → Core
David, can you diagnose here? I think you've been working on a lot of this code.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(davidp99)
Priority: -- → P2
Assignee: nobody → davidp99
Flags: needinfo?(davidp99)
Priority: P2 → P3

Adobe Flash is no longer supported.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: