WebView embedded in a WebKit Plugin View doesn't apply mouse moved events
Originator: | liyanage | ||
Number: | rdar://6652223 | Date Originated: | 2009-03-06 |
Status: | Open | Resolved: | |
Product: | Mac OS X | Product Version: | 10.5.6 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: A WebView displayed by a WebPluginView that is itself displayed in a WebView does not process any interactive page elements that are driven by mouse-moved events. This means that CSS :hover rules are never executed, and no JavaScript onmouseover events are ever fired. All the static stuff works: CSS styling is applied correctly, and JavaScript onclick handlers execute as expected. Interestingly, the onmouseovers also execute as soon as I click in the corresponding element. It's just the mouse-moved stuff that does not work, it looks like the webview never gets any mouseMoved: events. Steps to Reproduce: check out the test project from http://github.com/liyanage/webplugin-with-webview-tester build and run with these commands: xcodebuild -target Tester open build/Release/Tester.app (note that this will install the test .webplugin into your ~/Library/Internet Plugins) The test app opens with a web view showing an HTML page with some interactive elements. The page also has an <object> tag that loads a file with the special extension that triggers the web plugin. The plugin itself consists of a WebView and this WebView is again filled with a HTML page that has the same interactive elements as the page hosting the <object>. Expected Results: I expect the interactive elements in both the "outer" and the "inner" HTML pages to work the same. Actual Results: The inner web view doesn't process anything that is mouse-moved event-related. Regression: Always occurs. Notes: See additional information in this mailing list thread: http://lists.apple.com/archives/Webkitsdk-dev/2009/Mar/msg00016.html
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
Anything
Anyone find a solution to this?
Solution?
Did you find a solution to this bug? I'm getting the same problem.