{ "id": "173699", "key": "TIMOB-27120", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2019-06-01T03:01:32.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "backgroundcolor", "engSchedule" ], "versions": [ { "id": "20412", "name": "Release 8.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" }, { "id": "20827", "name": "Release 8.2.0", "archived": false, "released": true, "releaseDate": "2019-09-19" }, { "id": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-09-10T15:42:35.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "As discussed today, the splash screen seems to flicker in recent versions of the SDK. See the below comment for details during the investigation", "attachment": [], "flagged": false, "summary": "Android: Splash screen flickers on start when setting global Ti.UI.backgroundColor", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "448803", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hknoechel],\r\n\r\nWhat's happening in your app is that a white child window is quickly opening and closing on startup. When that child window closes, it's bringing you back to the splash screen which can happen if you call it's {{close()}} method while its \"exitOnClose\" property is set {{false}} (this is the correct behavior). Once that white child window closes, your app then opens the main {{TabGroup}} window.\r\n\r\nNone of my other apps have this behavior. Are you sure you're not quickly opening/closing a window on startup somewhere? Such as your login or intro windows?", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-04T04:44:25.000+0000", "updated": "2019-06-04T04:44:25.000+0000" }, { "id": "450576", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sorry for the late reply. No we don't - there is only a TabGroup opening. And even for non-logged-in states (e.g. log in) it flickers. Even if I comment out all logic in our index.js and add a {{Ti.UI.createWindow().open()}} it flickers.\r\n\r\n*EDIT*: Oh dear...It was a {{Ti.UI.backgroundColor = 'xxxxx'}} causing the issues. No idea where that regression came from, but removing it fixes all flickering.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-08-19T14:57:03.000+0000", "updated": "2019-08-19T15:47:02.000+0000" }, { "id": "450587", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for narrowing it down [~hknoechel].\r\n\r\nSetting the {{Ti.UI.backgrounColor}} property (or {{Ti.UI.backgroundImage}}) will replace the root window's splash screen image. I do know that there is a bug on Google's end where opening a child window while the splash is in mid-transition will restart the existing transition on cold start (see: [TIMOB-27328]). This sounds like a similar issue where replacing the root drawable is triggering an invalidation/request-layout which in turn is restarting the activity transition animation.\r\n\r\nThe problem is how to work-around it. How we worked-around it in [TIMOB-27328] was to call the Java {{overridePendingTransition()}} method, but that only works when called immediately after {{startActivity()}}. I don't really have a solution for this particular issue at the moment... other than to avoid it entirely and don't set the {{Ti.UI.backgroundColor}} property.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-08-19T21:14:55.000+0000", "updated": "2019-08-19T21:14:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }