[Webkit-unassigned] [Bug 199488] New: WKWebView fails to render when another view uses CoreImage filters
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 3 19:17:41 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=199488
Bug ID: 199488
Summary: WKWebView fails to render when another view uses
CoreImage filters
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dasau at microsoft.com
In 10.15 we noticed a regression where WKWebView was not rendering in our application and just shows a blank view. In 10.14.5 WKWebView is rendering with the same code. The issue is that when any subview in your window uses CoreImage filters, it breaks future WKWebView that are added to the window from rendering. I am not sure what change in WebKit caused this to stop working, but I can repro by running the latest WebKit code on my 10.14.5 machine. This does not repro when you change the order and first call -[WKWebView loadRequest:] before adding the web view to the window.
NSView *ciLayerView = [[NSView alloc] initWithFrame:NSMakeRect(0, 0, 1, 1)];
ciLayerView.wantsLayer = YES;
ciLayerView.layerUsesCoreImageFilters = YES;
[[self view] addSubview:ciLayerView];
dispatch_async(dispatch_get_main_queue(), ^{
WKWebView *webView = [[WKWebView alloc] initWithFrame:NSMakeRect(100, 100, 400, 400)];
[self.view addSubview:webView];
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"https://www.bing.com"]]];
});
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190704/cdc80615/attachment.html>
More information about the webkit-unassigned
mailing list