{ "id": "62279", "key": "TIMOB-1647", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11251", "name": "Sprint 2011-16", "archived": true, "released": true, "releaseDate": "2011-04-25" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2011-04-21T18:03:15.000+0000", "created": "2011-04-15T02:58:19.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "defect", "group", "ios", "ipad", "nav" ], "versions": [], "issuelinks": [], "assignee": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-09T10:55:25.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": "{html}

Using 1.4 on 3.2 when a window sets a left & right nav\nbutton when that window is closed via the nav, those buttons are\nnot destroyed from view. below code demonstrates.

\n

// app.js //

\n

var win1 = Ti.UI.createWindow({

\n
\nbackgroundColor: 'white',\ntitle: 'Nav Group'\n
\n

}); var label1 = Ti.UI.createLabel({

\n
\ntext: 'Open Child Window',\nleft: 10,\ntop: 10\n
\n

}); win1.add(label1);

\n

var group = Ti.UI.iPhone.createNavigationGroup({

\n
\nwindow: win1\n
\n

});

\n

var main = Ti.UI.createWindow();
\nmain.add(group);

\n

main.open();

\n

label1.addEventListener('click',function() {

\n
\nvar win2 = Ti.UI.createWindow({\n    title: 'Child Window',\n    backgroundColor: 'white'\n}); \n\nvar nextButton = Ti.UI.createButton({\n    title: 'Next'\n});\n\nvar backButton = Ti.UI.createButton({\n    title: 'Back'\n});\n\nwin2.rightNavButton = nextButton;\n
\n

// win2.leftNavButton = backButton;

\n
\nbackButton.addEventListener('click',function() {\n    group.close(win2);\n});\ngroup.open(win2);\n
\n

});

{html}", "attachment": [], "flagged": false, "summary": "Navigation Group on iPad does not destroy custom left & right nav buttons", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126270", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Watch \nhttps://github.com/appcelerator/titanium_mobile/tree/ios_window_ref...\nfor codefixes on this.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:58:20.000+0000", "updated": "2011-04-15T02:58:20.000+0000" }, { "id": "126271", "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:58:21.000+0000", "updated": "2011-04-15T02:58:21.000+0000" }, { "id": "132623", "author": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I could not reproduce this bug on the iPad using the latest SDK. Verified on Reggie's machine as well.\n\nTested with 1.6.0 as well, the bug is simply not reproducible.", "updateAuthor": { "name": "jacobrelkin", "key": "jacobrelkin", "displayName": "Jacob Relkin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-21T18:03:15.000+0000", "updated": "2011-04-21T18:03:15.000+0000" }, { "id": "182591", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as we are not able to reproduce using master (1.9.0 Feb 9 2012 09:46 rd47ce8a4)", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-09T10:55:25.000+0000", "updated": "2012-02-09T10:55:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }