Bug 244276 - RemoteScrollingCoordinator::scheduleTreeStateCommit() can result in extra rendering updates
Summary: RemoteScrollingCoordinator::scheduleTreeStateCommit() can result in extra ren...
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on: 257738
Blocks:
  Show dependency treegraph
 
Reported: 2022-08-23 15:06 PDT by Simon Fraser (smfr)
Modified: 2023-06-05 19:23 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2022-08-23 15:06:23 PDT
RemoteScrollingCoordinator::scheduleTreeStateCommit() can be called in the middle of a compositing update. Instead of just handling that scrolling tree commit in the current update (which is what would happen if it called into Page::scheduleRenderingUpdate()), it triggers another update after the current one, because it just calls the WebKit2-level drawingArea()->triggerRenderingUpdate().
Comment 1 Radar WebKit Bug Importer 2022-08-30 15:07:15 PDT
<rdar://problem/99353273>
Comment 2 Matt Woodrow 2023-05-23 19:01:08 PDT
Pull request: https://github.com/WebKit/WebKit/pull/14281
Comment 3 EWS 2023-05-24 21:40:30 PDT
Committed 264503@main (750b577cdf3f): <https://commits.webkit.org/264503@main>

Reviewed commits have been landed. Closing PR #14281 and removing active labels.
Comment 4 WebKit Commit Bot 2023-06-05 19:23:07 PDT
Re-opened since this is blocked by bug 257738