WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
240105
webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea
https://bugs.webkit.org/show_bug.cgi?id=240105
Summary
webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea
dreamer_swift
Reported
2022-05-04 20:21:37 PDT
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
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2022-05-04 20:30:59 PDT
Yes, this is not a supported configuration right now.
dreamer_swift
Comment 2
2022-05-04 21:08:07 PDT
Any plans for supporting RemoteLayerTreeDrawing in macos?
dreamer_swift
Comment 3
2022-05-04 21:08:26 PDT
(In reply to Simon Fraser (smfr) from
comment #1
)
> Yes, this is not a supported configuration right now.
Any plans for supporting RemoteLayerTreeDrawing in macos?
Simon Fraser (smfr)
Comment 4
2022-05-04 21:26:34 PDT
It requires a large amount of refactoring work, so maybe, at some point. Why is this of interest to you?
dreamer_swift
Comment 5
2022-05-04 21:50:57 PDT
(In reply to Simon Fraser (smfr) from
comment #4
)
> It requires a large amount of refactoring work, so maybe, at some point. Why > is this of interest to you?
I would like to add a native video layer to some node, such as a matel layer, RemoteLayerTreeDrawingArea provide the whole layer tree for me to do this. if RemoteLayerTreeDrawingArea is not supported right now, do you have any suggestions about it?
Radar WebKit Bug Importer
Comment 6
2022-05-11 20:22:13 PDT
<
rdar://problem/93147780
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug