{ "id": "170934", "key": "AC-5548", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-02-07T21:04:05.000+0000", "created": "2018-01-25T15:19:15.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-09T14:25:49.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Setting leftNavButton property on a window causes the effect seen on the gif", "attachment": [ { "id": "64839", "filename": "close.png", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-09T14:25:49.000+0000", "size": 1094, "mimeType": "image/png" }, { "id": "64750", "filename": "LeftNavButton-issue.gif", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-25T15:18:49.000+0000", "size": 39872, "mimeType": "image/gif" } ], "flagged": false, "summary": "iOS: leftNavButton on window renders after native control", "creator": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 7.0.0.GA", "comment": { "comments": [ { "id": "434063", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~bgarcia], \r\nThanks for sharing with us.Please attach a sample test code in here that reproduces the issue. Also, provide the SDK and CLI version you are testing on.\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2018-02-05T19:54:05.000+0000", "updated": "2018-02-06T05:07:53.000+0000" }, { "id": "434291", "author": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Why it's marked as duplicated without a reference to the original issue?\r\n\r\n\r\nhere is the snippet requested: \r\n{code:javascript}\r\nvar win2 = Titanium.UI.createWindow({\r\n backgroundColor: 'red',\r\n title: 'Red Window'\r\n});\r\n\r\nvar win1 = Titanium.UI.iOS.createNavigationWindow({\r\n window: win2\r\n});\r\n\r\nvar win3 = Titanium.UI.createWindow({\r\n backgroundColor: 'blue',\r\n title: 'Blue Window',\r\n leftNavButton:Ti.UI.createButton({image:\"/images/close.png\"})\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n win1.openWindow(win3, {animated:true});\r\n});\r\n\r\nwin2.add(button);\r\nvar button2 = Titanium.UI.createButton({\r\n title: 'Close Blue Window'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n win1.closeWindow(win3, {animated:false}); //win3.close() will also work!!\r\n});\r\n\r\nwin3.add(button2);\r\nwin1.open();\r\n{code}", "updateAuthor": { "name": "bgarcia", "key": "bgarcia", "displayName": "Brian García", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-02-09T14:25:25.000+0000", "updated": "2018-02-09T14:25:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }