Bug 264531 - hideContentUntilPendingUpdate callbacks can be processed too late after the transaction and cause flickering
Summary: hideContentUntilPendingUpdate callbacks can be processed too late after the t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-09 15:42 PST by Matt Woodrow
Modified: 2023-11-13 14:35 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Woodrow 2023-11-09 15:42:53 PST
<rdar://118083889>

The callbacks for DispatchAfterEnsuringDrawing get processed at the end of the transaction, after we've already told the client that we've committed the transaction.

In some cases, this can cause them to be included as a separate CA commit, and cause flickering.
Comment 1 Matt Woodrow 2023-11-09 15:46:44 PST
Pull request: https://github.com/WebKit/WebKit/pull/20268
Comment 2 EWS 2023-11-13 14:34:59 PST
Committed 270672@main (923ed5177ec0): <https://commits.webkit.org/270672@main>

Reviewed commits have been landed. Closing PR #20268 and removing active labels.