Bug 32836 - PluginView is missing loseFocus functionality
Summary: PluginView is missing loseFocus functionality
Status: RESOLVED DUPLICATE of bug 37961
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P3 Normal
Assignee: Nobody
Depends on:
Reported: 2009-12-21 12:50 PST by Alexander Mohr
Modified: 2011-03-09 10:35 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mohr 2009-12-21 12:50:26 PST
In AIR we've created a carbon plug-in view.  From Widget::setFocus we dispatch the getFocusEvent.   This is called from Document::setFocusedNode.

Windowless plug-ins rely on the PluginView to determine if they have gained, and lost focus.

The issue is that the PluginView currently receives no notifications that it has lost focus.

I suggest the following fix:

1) Add boolean parameter to Widget::setFocus
2) update Document::setFocusedNode to call Widget::setFocus with the appropriate boolean values.
Comment 1 Raul Hudea 2011-03-09 01:39:25 PST
This bug can be closed and marked as duplicate for https://bugs.webkit.org/show_bug.cgi?id=37961. (which was already fixed)
Comment 2 Alexander Mohr 2011-03-09 10:35:12 PST

*** This bug has been marked as a duplicate of bug 37961 ***