[Webkit-unassigned] [Bug 187646] New: [WPE] Provide API to configure the default page background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 08:28:32 PDT 2018


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

            Bug ID: 187646
           Summary: [WPE] Provide API to configure the default page
                    background
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit WPE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aperez at igalia.com
                CC: bugs-noreply at webkitgtk.org

In the GTK+ port there is the following in the API:

  void
  webkit_web_view_set_background_color (WebKitWebView *web_view,
                                        const GdkRGBA *rgba);

but in WPE there is no equivalent function. Having something similar
would be handy in certain scenarios, to avoid flashing white frames
while content is being loaded. For example:

  1. A device boots with a splash screen, which has a dark background.
  2. Right after boot, a program using WPE is launched, and starts
     loading some content. This is designed to have the same
     background color as the splash screen.
  3. The content takes some time to complete loading, and during
     this time WebKit may render a few frames which are white (or
     almost completely white), while the styling for the content
     is not yet available.
  4. The Web content finishes loading, and goes back to using the
     same dark background as the splash screen.

This way, step (3.) causes the device screen to produce a white
flash, even if the Web content is loaded quite fast.

-- 
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/20180713/dc461df7/attachment.html>


More information about the webkit-unassigned mailing list