[Webkit-unassigned] [Bug 76583] 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
Tue Mar 27 15:00:32 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=76583
--- Comment #1 from Rudi Sherry <rsherry at adobe.com> 2012-03-27 15:00:33 PST ---
I found where the issue is: in NetscapePlugin::platformHandleKeyboardEvent() it ignores the return value of NPP_HandleEvent(), with this comment:
// Most plug-ins simply return true for all keyboard events, even those that aren't handled.
// This leads to bugs such as <rdar://problem/8740926>. We work around this by returning false
// if the keyboard event has the command modifier pressed.
// However, for command-A (the shortcurt for 'Select All' we will always return true, since we don't
// want the entire page to be selected if the focus is in a plug-in text field (see <rdar://problem/9309903>).
--
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