[Webkit-unassigned] [Bug 76583] New: After NPP_HandleEvent returns true (I handled it), WebKit then processes the command-key anyway

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 15:49:28 PST 2012


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

           Summary: After NPP_HandleEvent returns true (I handled it),
                    WebKit then processes the command-key anyway
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        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


NPP_HandleEvent() is documented as returning 'true' if the plug-in handles the event.  Presumably this means the browser will then do nothing else with it.

For Command-P and Command-Q (and, I believe, any other command that has a menu equivalent) this is not true.  Our plug-in returns 'true' for that key-down (and in fact every event we are given), but Safari then goes ahead and puts up its own Print sheet or Quits.

It should trust that the plug-in handled it, whatever it did.

-- 
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