{ "id": "124143", "key": "TIMOB-16118", "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": "2013-12-23T18:25:42.000+0000", "priority": null, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:19.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 pulling from the left-most side of a navigation window or closing a context (navigation window child) the navigation bar disappears immeidately due to `setupWindowDecorations` in TiUIWindowProxy.\r\n\r\nL932 is the culprit here, animated is effectively set to NO while it should be YES.\r\n\r\nMaking this change fixes the issue.", "attachment": [], "flagged": false, "summary": "iOS: NavigationWindow navigation bar does not animate correctly when closing context", "creator": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "285827", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for suggesting the fix. It is much appreciated. It would speed up the process if you can provide us a test case that reproduces the problem and it would help us to evaluate the suggested fix.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T06:47:33.000+0000", "updated": "2013-12-26T06:47:33.000+0000" }, { "id": "286184", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "We have not been able to reproduce this issue with iOS 7.0.3 and Titanium 3.2.0.GA SDK. Can you please take a look at the code below and let us know how your use case differs from the code below? We need a simple test case to troubleshoot this issue further.\r\n\r\nh5. Test Environment\r\nMac OSX 10.8.5,\r\nTitanium SDK 3.2.0 GA \r\nTitanium CLI 3.2.0 \r\niOS Simulator 7.0.3\r\n\r\nh5. Test Code\r\n\r\n{code}\r\nvar win2 = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'red',\r\n\ttitle : 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n\twindow : win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'blue',\r\n\ttitle : 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n\ttitle : 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function() {\r\n\twin1.openWindow(win3, {\r\n\t\tanimated : true\r\n\t});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n\ttitle : 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function() {\r\n\twin1.closeWindow(win3, {\r\n\t\tanimated : true\r\n\t});\r\n\t//win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open(); \r\n{code}", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-29T20:13:37.000+0000", "updated": "2013-12-30T04:12:06.000+0000" }, { "id": "286257", "author": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "body": "Sorry for the delayed response. You can see the issue by making *win2* have the *navBarHidden* prop set to *true*. Everything else can remain the same. For brevity here is the updated test-case:\n\n{code:javascript}\nvar win2 = Titanium.UI.createWindow({\n backgroundColor : 'red',\n title : 'Red Window',\n navBarHidden : true\n});\n\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\n window : win2\n});\n\nvar win3 = Titanium.UI.createWindow({\n backgroundColor : 'blue',\n title : 'Blue Window'\n});\n\nvar button = Titanium.UI.createButton({\n title : 'Open Blue Window'\n});\nbutton.addEventListener('click', function() {\n win1.openWindow(win3, {\n animated : true\n });\n});\n\nwin2.add(button);\nvar button2 = Titanium.UI.createButton({\n title : 'Close Blue Window'\n});\nbutton2.addEventListener('click', function() {\n win1.closeWindow(win3, {\n animated : true\n });\n //win3.close() will also work!!\n});\n\nwin3.add(button2);\nwin1.open();\n{code}", "updateAuthor": { "name": "animecyc", "key": "animecyc", "displayName": "Seth Benjamin", "active": true, "timeZone": "America/New_York" }, "created": "2013-12-30T15:49:23.000+0000", "updated": "2013-12-30T15:49:23.000+0000" }, { "id": "286429", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as we can reproduce the issue with navBarHidden property set to true.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-02T00:00:27.000+0000", "updated": "2014-01-02T00:00:27.000+0000" }, { "id": "319446", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces on both SDK version 3.2.0 and 3.4.0 (Unreleased)\r\n\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.4.0.GA \r\nTitanium SDK version 3.2.0.GA\r\n\r\niOS SDK: 7.1 \r\niOS iPhone: 7.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-20T10:13:56.000+0000", "updated": "2014-08-20T10:13:56.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }