{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/165","labels_url":"https://api.github.com/repos/flutter/flutter/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/165/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/165/events","html_url":"https://github.com/flutter/flutter/issues/165","id":115970872,"number":165,"title":"We should pump one frame at app startup even if the screen is off","user":{"login":"FlutterIssues","id":15744020,"avatar_url":"https://avatars.githubusercontent.com/u/15744020?v=3","gravatar_id":"","url":"https://api.github.com/users/FlutterIssues","html_url":"https://github.com/FlutterIssues","followers_url":"https://api.github.com/users/FlutterIssues/followers","following_url":"https://api.github.com/users/FlutterIssues/following{/other_user}","gists_url":"https://api.github.com/users/FlutterIssues/gists{/gist_id}","starred_url":"https://api.github.com/users/FlutterIssues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlutterIssues/subscriptions","organizations_url":"https://api.github.com/users/FlutterIssues/orgs","repos_url":"https://api.github.com/users/FlutterIssues/repos","events_url":"https://api.github.com/users/FlutterIssues/events{/privacy}","received_events_url":"https://api.github.com/users/FlutterIssues/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flutter/flutter/labels/affects:%20dev%20experience","name":"affects: dev experience","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/1","html_url":"https://github.com/flutter/flutter/milestones/Blue%20Sky","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/1/labels","id":1402982,"number":1,"title":"Blue Sky","description":"Support everything that's needed to make solid cross-platform mobile apps.\r\n- Internationalisation\r\n- Accessibility\r\n- Performance\r\n- Security\r\n- Comprehensive widget feature set\r\n- Localisation","creator":{"login":"FlutterIssues","id":15744020,"avatar_url":"https://avatars.githubusercontent.com/u/15744020?v=3","gravatar_id":"","url":"https://api.github.com/users/FlutterIssues","html_url":"https://github.com/FlutterIssues","followers_url":"https://api.github.com/users/FlutterIssues/followers","following_url":"https://api.github.com/users/FlutterIssues/following{/other_user}","gists_url":"https://api.github.com/users/FlutterIssues/gists{/gist_id}","starred_url":"https://api.github.com/users/FlutterIssues/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FlutterIssues/subscriptions","organizations_url":"https://api.github.com/users/FlutterIssues/orgs","repos_url":"https://api.github.com/users/FlutterIssues/repos","events_url":"https://api.github.com/users/FlutterIssues/events{/privacy}","received_events_url":"https://api.github.com/users/FlutterIssues/received_events","type":"User","site_admin":false},"open_issues":142,"closed_issues":53,"state":"open","created_at":"2015-11-09T20:19:58Z","updated_at":"2015-12-05T08:45:49Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-11-09T21:29:29Z","updated_at":"2015-12-05T08:46:23Z","closed_at":"2015-12-05T08:45:49Z","body":"<a href=\"https://github.com/Hixie\"><img src=\"https://avatars.githubusercontent.com/u/551196?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [Hixie](https://github.com/Hixie)**\n_Thursday Sep 17, 2015 at 15:29 GMT_\n_Originally opened as https://github.com/flutter/engine/issues/1206_\n\n----\n\nAuthors are rarely going to test their apps with the screen off, but if we don't pump their app with the screen off, their App widget isn't going to be synced, their RenderObject tree isn't going to be laid out, and so forth, so if they try to do anything using the tree, it'll fail.\r\n\r\nSo we should either pump one frame to ensure that the app is always more or less in the same state, or we should document patterns and anti-patterns for how to do things that depend on app state and render tree layout, e.g. don't use a timer but use an animation frame callback, etc.\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/162161963","html_url":"https://github.com/flutter/flutter/issues/165#issuecomment-162161963","issue_url":"https://api.github.com/repos/flutter/flutter/issues/165","id":162161963,"user":{"login":"abarth","id":112007,"avatar_url":"https://avatars.githubusercontent.com/u/112007?v=3","gravatar_id":"","url":"https://api.github.com/users/abarth","html_url":"https://github.com/abarth","followers_url":"https://api.github.com/users/abarth/followers","following_url":"https://api.github.com/users/abarth/following{/other_user}","gists_url":"https://api.github.com/users/abarth/gists{/gist_id}","starred_url":"https://api.github.com/users/abarth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abarth/subscriptions","organizations_url":"https://api.github.com/users/abarth/orgs","repos_url":"https://api.github.com/users/abarth/repos","events_url":"https://api.github.com/users/abarth/events{/privacy}","received_events_url":"https://api.github.com/users/abarth/received_events","type":"User","site_admin":false},"created_at":"2015-12-05T08:46:23Z","updated_at":"2015-12-05T08:46:23Z","body":"See https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/binding.dart#L81"}}