[Webkit-unassigned] [Bug 77902] New: NPP_Print is never called on Print, but NPP_SetWindow is with surprising parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 6 14:28:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77902

           Summary: NPP_Print is never called on Print, but NPP_SetWindow
                    is with surprising parameters
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rsherry at adobe.com
                CC: rsherry at adobe.com


I am seeing no calls to NPP_Print when printing.  I am using the WebKit nightly from about a month ago, but we are also seeing this in Safari 5.1.2, both on 10.6 and 10.7.

When the user is in a document controlled by a plug-in and chooses "Print", the plugin gets the call NPP_SetWindow() with page-size window... that causes us to resize our view to be page ratio, which is surprising our users.

The Print sheet appears, then printing doesn't print anything of our content.  Then we get another NPP_SetWindow() that restores us to the Safari window size.

NPP_Print() is never called.

We are using the Cocoa Event model and the Core Animation drawing model.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list