[Webkit-unassigned] [Bug 14985] New: Flash movies require double clicks when WebView is embedded in a Carbon application.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 16 10:32:20 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14985
Summary: Flash movies require double clicks when WebView is
embedded in a Carbon application.
Product: WebKit
Version: 522+ (nightly)
Platform: Macintosh
URL: http://lists.apple.com/archives/webkitsdk-
dev/2007/May/msg00009.html
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit API
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: cperkins at medialab.com
In a mixed Carbon/Cocoa Mac OS X application, mouse click events are not
properly received by Flash. Mouse over / Roll over / Drag works fine. The first
click in the Flash window works fine. After the first click inside Flash, a
single mouse click is not picked up by Flash. A double-click will register in
Flash as a single click.
See here for a full description of the problem as well as how to re-create it:
http://lists.apple.com/archives/webkitsdk-dev/2007/May/msg00009.html
There are two workarounds:
1 - don't embed the .swf in an .html file, instead pass the .swf directly to
the webview.
2. override the makeFirstResponder method of the NSView and manually pass the
focus to your nsview/webview and then pass the event to it.
Workaround #1 works for older WebKits, but not later ones. For instance, if a
user installs Safari 3 Beta, then the double click problem returns even if
using workaround #1.
Workaround #2 requires a lot of Cocoa bridging (remember, we are working in
Carbon). If you are using HIWebViewCreate() in your Carbon code you won't be
able to use Workaround #2.
I suspect that Workaround #2 could be used to actually fix the bug in WebView.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list