{ "id": "170616", "key": "TIMOB-25612", "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": "2017-12-13T16:48:39.000+0000", "priority": null, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:47.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When *'largeTitleEnabled'* property is set to true for iOS 11, the animation which takes place between the *backButtonTitle* of next window & the title of current window (hidden window) is not smooth.\r\n\r\nLarge title of previous window flickers when animation happens back to previous window. It goes this way:\r\n1- Window A has *largeTitleEnabled : true*\r\n2- Window B has *largeTitleEnabled : false* \r\n3- Open Window B from Window A, title transition animation goes smooth here.\r\n4- Now close Window B & notice the flickering in *title of Window A*\r\n\r\nBut this flickering doesn't happens in inbuilt apps like Settings, etc.\r\n\r\nPlease see attached video to see the difference in title & backbutton transition between 2 windows in *inbuilt Settings* app & *Titanium Samples* app.\r\n\r\nHere's the sample code for this:\r\n\r\n\r\n{code:java}\r\nvar winA = Ti.UI.createWindow({\r\n\tbackgroundColor : '#444',\r\n\tlargeTitleEnabled : true,\r\n\ttitle : \"Window A\"\r\n});\r\n\r\nvar winB = Ti.UI.createWindow({\r\n\tbackgroundColor : '#444',\r\n\tlargeTitleEnabled : false, // even leaving this property to its default value cause mis-behaviour in title transition, try this code by deleting this line as well, it will mis-behave\r\n\ttitle : \"Window B\"\r\n});\r\n\r\nvar button = Ti.UI.createButton({ \r\n\ttitle : ' Open Window A ',\r\n\tbackgroundColor : \"#0ba\",\r\n\tcolor : '#fff'\r\n});\r\n\r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({\r\n\twindow : winA\r\n});\r\n\r\nbutton.addEventListener('click', function () {\r\n\tnavWindow.openWindow(winB);\r\n});\r\n\r\nwinA.add(button);\r\n\r\nnavWindow.open();\r\n{code}\r\n", "attachment": [ { "id": "63798", "filename": "iphone_x_1.mov", "author": { "name": "prashant_saini", "key": "prashant_saini", "displayName": "Prashant Saini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-13T16:48:17.000+0000", "size": 9481703, "mimeType": "video/quicktime" } ], "flagged": false, "summary": "iOS 11 : navigationBar title close/open animation is not proper in Titanium apps than inbuilt apps", "creator": { "name": "prashant_saini", "key": "prashant_saini", "displayName": "Prashant Saini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "prashant_saini", "key": "prashant_saini", "displayName": "Prashant Saini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 9\r\nTi SDK 7.0.0.GA\r\niPhone X simulator", "comment": { "comments": [ { "id": "432112", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please provide a sample code/app which generates the issue, for us to test. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-13T21:08:41.000+0000", "updated": "2017-12-13T21:08:41.000+0000" }, { "id": "432138", "author": { "name": "prashant_saini", "key": "prashant_saini", "displayName": "Prashant Saini", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, I have added the sample code, it's the basic boilerplate code for navigationWindow system which can easily reproduce the error.", "updateAuthor": { "name": "prashant_saini", "key": "prashant_saini", "displayName": "Prashant Saini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-12-14T02:46:47.000+0000", "updated": "2017-12-14T02:46:47.000+0000" }, { "id": "432194", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I can see the issue in animation when large title in window is enabled. Moving to TIMOB. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-15T02:22:15.000+0000", "updated": "2017-12-15T02:22:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }