{ "id": "155268", "key": "TIMOB-20497", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-07-04T19:43:09.000+0000", "created": "2016-03-02T09:30:35.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "issuelinks": [ { "id": "50734", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "155098", "key": "TIMOB-20453", "fields": { "summary": "5.3.0 Regression: \"rendering artifact\" between launch image and first view", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50735", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151883", "key": "TIMOB-19694", "fields": { "summary": "CLI: Create template to configure launchScreen.storyboard", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updated": "2016-07-04T19:43:09.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "With TIMOB-19694 we have implemented support for Storyboard Launch Files and TIMOB-20453 should fix the \"rendering artifact\" when you do *not* use the Storyboard Launch Files in Titanium 5.2.0 and later.\r\n\r\nHowever, if you *do* use a Storyboard Launch File, you will still see a \"rendering artifact\", in particular when you need to perform some heavy stuff before you open the first Window.\r\n\r\nApple's very [idea|https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html] of using a Storyboard Launch File is that you can use actual UI components to mimic an \"empty state\" version of your app UI which then seamlessly transitioned into your actually UI.\r\n\r\nIn Titanium this is not possible because the root view controller can be seen shortly between the Storyboard Launch File and the app's first view (window).\r\n\r\nI've tried to set the root view's backgroundColor to clear (transparent) but it will simply show as black. So somehow we need to find a way to either continue to see the Storyboard Launch File until the app's first view has been opened or not let iOS dismiss the Launch File before we have opened the first view.\r\n\r\n*Sample Code*\r\n\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'green'\r\n});\r\n\r\n// simulating a delay when you need to do heavy stuff before opening the first window\r\nsetTimeout(function() {\r\n win.open();\r\n}, 3000);\r\n{code}\r\n", "attachment": [ { "id": "58391", "filename": "between.mov", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-03-02T09:31:58.000+0000", "size": 851530, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "Remove \"rendering artifact\" between launch storyboard and first view", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.2.0.GA", "comment": { "comments": [ { "id": "389901", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Closing as duplicate of TIMOB-20453.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-04T19:43:09.000+0000", "updated": "2016-07-04T19:43:09.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }