[Webkit-unassigned] [Bug 178923] New: Find a better way to prevent flicker on enter element fullscreen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 26 21:42:28 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=178923

            Bug ID: 178923
           Summary: Find a better way to prevent flicker on enter element
                    fullscreen
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremyj-wk at apple.com

element fullscreen swapping wkebview and the place holder view and changing the style of the WKWebView is pretty bad.

        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
            _repaintCallback = VoidCallback::create([self](WebKit::CallbackBase::Error) {
                dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
                    [self _manager]->willEnterFullScreen();
                });
            });
            _page->forceRepaint(_repaintCallback.copyRef());
        });

This is currently required to make sure web view is completely laid out before entering fullscreen.

-- 
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/20171027/ec62cfdb/attachment.html>


More information about the webkit-unassigned mailing list