Bug 32836

Summary: PluginView is missing loseFocus functionality
Product: WebKit Reporter: Alexander Mohr <amohr>
Component: Plug-insAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: mihnea, rhudea
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   

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