-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Framework might call scheduleForcedFrame when the engine is in pause or detached state. In this case, engine will drop the schedule frame request without calling back framework to draw the rendering tree. This become problematic because framework is waiting frame to be scheduled and blocking any future schedule frame which results in no future frame will ever be drawn.
One use case is rotating screen when app is in the background. Framework will like to update the rendering tree before the app is actually brought into the front.
Currently, we work around this issue by adding a check in scheduleforcedframe to abort if the frame is not enabled which makes it essentially the same as scheduleframe.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version