New issue
Advanced search Search tips

Issue 879792 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug



Sign in to add a comment

Switching to virtcon blocks threads on surface redraws

Project Member Reported by kmarshall@chromium.org, Aug 31

Issue description

As of rev 48e9d031,
 the following error spew is produce every 500ms whenever a blinking insertion cursor is present on a text field:

[01013.948] [986814:1765396677:0831/232554.821711:WARNING:scenic_window_canvas.cc(100)] Release fence from previous frame timed out after 500ms
[01014.460] [986814:1765396677:0831/232555.333479:WARNING:scenic_window_canvas.cc(100)] Release fence from previous frame timed out after 500ms
[01014.976] [986814:1765396677:0831/232555.850104:WARNING:scenic_window_canvas.cc(100)] Release fence from previous frame timed out after 500ms
[01015.493] [986814:1765396677:0831/232556.366718:WARNING:scenic_window_canvas.cc(100)] Release fence from previous frame timed out after 500ms


 
That looks like a pretty serious issue, since it implies that we're blocking for 500ms at that point!
Summary: Switching to virtcon blocks threads on surface redraws (was: Blinking text cursor produces frame sync timeout warnings)
OK, refined the repro steps:
1) Give input focus to a text field. There should be a blinking cursor.
2) Press WIN key to switch to virtcon.
3) Observe error spew.

We might want to consider suppressing or enabling redraws based on whether Scenic is visible.

Sign in to add a comment