{ "id": "62185", "key": "TIMOB-1553", "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": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-25T13:30:46.000+0000", "created": "2011-04-15T02:55:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_navgroup", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-11T13:59:13.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" } ], "description": "Sample code from pastebin: http://pastebin.com/QeeGwMtF\r\n\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTi.UI.setBackgroundColor('#000');\r\n\r\n\r\n// refresh button\r\nvar refreshButton = Ti.UI.createButton({\r\n\tsystemButton: Titanium.UI.iPhone.SystemButton.REFRESH\r\n});\r\n\r\n// add button\r\nvar addButton = Ti.UI.createButton({\r\n\tsystemButton: Titanium.UI.iPhone.SystemButton.ADD\r\n});\r\n\r\n\r\n\r\n// create navgroup\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar win1 = Ti.UI.createWindow({\r\n\ttitle: 'test',\r\n leftNavButton: refreshButton,\r\n rightNavButton: addButton\r\n});\r\n\r\nvar nav = Ti.UI.iPhone.createNavigationGroup({\r\n window: win1\r\n});\r\n\r\nwin.add(nav);\r\n\r\nwin.open();\r\n\r\n\r\naddButton.addEventListener('click', function() {\r\n\tvar addWindow = Ti.UI.createWindow();\r\n\tnav.open(addWindow, {\r\n\t\tanimated: true\r\n\t});\r\n});\r\n{code}\r\n\r\nClick the + button, then click Back, and see the leftNavButton fade-in twice.", "attachment": [], "flagged": false, "summary": "iOS: Navigating back in a navigationGroup makes the leftNavButton fade-in twice", "creator": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "subtasks": [], "reporter": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "environment": null, "comment": { "comments": [ { "id": "126020", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is a Helpdesk ticket reporting this problem: http://developer.appcelerator.com/helpdesk/view/75911

\n

Here is a simple runnable example:

\n
\n  var win = Titanium.UI.createWindow();\n    var win1 = Titanium.UI.createWindow({\n        backgroundColor:\"red\",\n        title:\"Red Window\"\n    });\n\n    var navBtn = Ti.UI.createButton({title:'button'});\n    win1.leftNavButton = navBtn;\n\n    var nextBtn = Ti.UI.createButton({\n        title:'go to next window',\n        width:200,\n        height:50\n    });\n    win1.add(nextBtn);\n\n    var nav = Titanium.UI.iPhone.createNavigationGroup({\n       window: win1\n    });\n    win.add(nav);\n    win.open();\n\n    nextBtn.addEventListener('click', function(){\n        var win2 = Titanium.UI.createWindow({\n            backgroundColor:\"blue\",\n            title:\"Blue Window\"\n        });\n        nav.open(win2,{animated:true});\n    });\n
\n

Tested on 1.6 Resease
\niPad and iPhone simulator 4.2

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:52.000+0000", "updated": "2011-04-15T02:55:52.000+0000" }, { "id": "126021", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Moving navigation issues to Sprint 16.

{html}", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:55:53.000+0000", "updated": "2011-04-15T02:55:53.000+0000" }, { "id": "170953", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Bug is still valid, occurs in:\r\nTiMOB sdk version: 1.8.0.v20111028154620\r\nStudio version: 1.0.6.201110251616\r\nOS version: Mac OS X Lion\r\nDevices tested on: ipad 4.3.5, iphone simulator 4.3\r\n\r\nNote: Verified this bug does not appear in TiMOB sdk 1.7.4", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-10-31T14:36:25.000+0000", "updated": "2011-10-31T14:36:25.000+0000" }, { "id": "177765", "author": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "body": "Any updates?", "updateAuthor": { "name": "mofle", "key": "mofle", "displayName": "Sindre Sorhus", "active": true, "timeZone": "Europe/Oslo" }, "created": "2012-01-02T06:40:37.000+0000", "updated": "2012-01-02T06:40:37.000+0000" }, { "id": "200112", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue has been fixed as a part of some other fix. It is very possible that this fix is available in releases prior to 2.1.0 release.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-25T13:30:27.000+0000", "updated": "2012-06-25T13:30:27.000+0000" }, { "id": "200954", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\n\r\nTitanium Studio, build: 2.1.0.201206251749\r\nTitanium SDK: 2.1.0.v20120628121617\r\nDevices: 3GS 4.3, 4S 5.0.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-29T15:26:23.000+0000", "updated": "2012-06-29T15:26:23.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }