[Webkit-unassigned] [Bug 240105] New: webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 4 20:21:37 PDT 2022


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

            Bug ID: 240105
           Summary: webview can not scroll when using
                    WebKit2UseRemoteLayerTreeDrawingArea
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Intel)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Compositing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dreamer_swift at icloud.com
                CC: simon.fraser at apple.com

webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea


RemoteLayerTreeDrawingArea
    bool usesDelegatedScrolling() const override { return true; }
    bool usesDelegatedPageScaling() const override { return true; }

usesDelegatedScrolling return true, but ui side not impl scrollview and scroll function

==================================================================================

void PageClientImpl::requestScroll(const FloatPoint& scrollPosition, const IntPoint& scrollOrigin, ScrollIsAnimated)
{
}

WebCore::FloatPoint PageClientImpl::viewScrollPosition()
{
    return { };
}

==================================================================================
so the function "scrollingTree().setNeedsApplyLayerPositionsAfterCommit();" is not called when scroll event fired

-- 
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/20220505/d89c0cbe/attachment.htm>


More information about the webkit-unassigned mailing list