Summary: | NPAPI will not send mouse up events when mouse is outside plugin area | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | New Bugs | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Anders Carlsson
2012-02-02 10:45:34 PST
Created attachment 125152 [details]
Patch
Comment on attachment 125152 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=125152&action=review r=me > Source/WebCore/ChangeLog:9 > + Export EventHandler::setCapturingMouseEvents. Typo, setCapturingMouseEventsNode. > Source/WebKit2/ChangeLog:9 > + Use EventHandler::setCapturingMouseEvents to ensure we get all the mouse events when the mouse is down. Ditto. > Source/WebKit2/WebProcess/Plugins/PluginView.cpp:637 > + if (currentEvent->type() == WebEvent::MouseDown) { > focusPluginElement(); > + frame()->eventHandler()->setCapturingMouseEventsNode(m_pluginElement.get()); > + else if (currentEvent->type() == WebEvent::MouseUp) }}}}}}}}}}}}}}}}}}}}} Committed r106572: <http://trac.webkit.org/changeset/106572> |