[Webkit-unassigned] [Bug 142347] New: [GTK] Contents not shown when entering AC mode unless the window is resized

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 5 09:16:52 PST 2015


            Bug ID: 142347
           Summary: [GTK] Contents not shown when entering AC mode unless
                    the window is resized
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk, Regression
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com

This can be easily reproduced with the simple tests case joanie posted in bug #142333.

<div style="-webkit-transform: translate3d(0, 0, 0);">foo</div>

Just open that in MiniBrowser, not always but very often the foo text is not shown. Resize the window and it appears. 

The problem is once again that we are now creating the redirected X window in realize method. When entering AC mode we resize the redirected window to the drawing area size. since the size hasn't changed from the drawing area point of view, the web process is not notified. The WebProcess always uses the window size, instead of the root layer size, to make sure it's in sync, see the comment in LayerTreeHostGtk::compositeLayersToContext(). So, we need to enforce a resize when we change the size of the redirected window when entering AC mode.

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/20150305/bdeee291/attachment-0002.html>

More information about the webkit-unassigned mailing list