Bug 68435

Summary: WKViews are always inactive when used in NSPopover
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: WebKit2Assignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, jeffm, sullivan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
Proposed Change sullivan: review+, timothy: commit-queue-

Description Timothy Hatcher 2011-09-20 06:21:22 PDT
Suggested by Darin's comment in bug 68402, I think WKView suffers from a similar issue. I need to make a sample app to verify, but based on code inspection I think WKViews will always be inactive in NSPopovers.
Comment 1 Timothy Hatcher 2011-09-20 06:22:56 PDT
Created attachment 107995 [details]
Proposed Change

I think this is all WKView needs. I still need to test this.
Comment 2 John Sullivan 2011-09-20 07:22:44 PDT
Comment on attachment 107995 [details]
Proposed Change

Approval conditional on whether your testing shows that this actually addresses the problem, of course.
Comment 3 Jeff Miller 2011-11-10 13:23:48 PST
I am using a WKView in an NSPopover, and I can confirm this patch works.
Comment 4 Timothy Hatcher 2011-11-10 13:34:38 PST
Committed r99894