Bug 240105
| Summary: | webview can not scroll when using WebKit2UseRemoteLayerTreeDrawingArea | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | dreamer_swift |
| Component: | Compositing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 12 | ||
dreamer_swift
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)
Yes, this is not a supported configuration right now.
dreamer_swift
Any plans for supporting RemoteLayerTreeDrawing in macos?
dreamer_swift
(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)
It requires a large amount of refactoring work, so maybe, at some point. Why is this of interest to you?
dreamer_swift
(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
<rdar://problem/93147780>