Bug 32836
Summary: | PluginView is missing loseFocus functionality | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alexander Mohr <amohr> |
Component: | Plug-ins | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | mihnea, rhudea |
Priority: | P3 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | All |
Alexander Mohr
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Raul Hudea
This bug can be closed and marked as duplicate for https://bugs.webkit.org/show_bug.cgi?id=37961. (which was already fixed)
Alexander Mohr
*** This bug has been marked as a duplicate of bug 37961 ***