{ "id": "61557", "key": "TIMOB-925", "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": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:41.000+0000", "created": "2011-04-15T02:39:20.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:41.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}
see http://helpdesk.appcelerator.net/tickets/2392
\ncode to reproduce:
\nvar inner1 = Ti.UI.createWindow({ title:'Window1' }); \nvar inner2 = Ti.UI.createWindow({ title:'Window2' }); \nvar nav = Ti.UI.iPhone.createNavigationGroup({ window: inner1 });
\n
\n\n\n
\nvar win = Ti.UI.createWindow(); \nwin.add(nav); \nwin.open();
\n
\n\n\n
\nsetTimeout(function(){ \nTi.API.info('opening'); \nnav.open(inner2); \n}, 1000);
\n
\n\n\n
\nsetTimeout(function(){ \nTi.API.info('closing'); \ninner2.close(); \n}, 2000);
\n
Part of the issue is that nav.open() calls must use a\ncorresponding nav.close(), NOT window.close() (due to both\nnavigation stack management and internal gunk that makes nav\ncontrollers not play nice with the windowing system).
\nThere are still problems with nav.close(). Keeping this open to\nsignify them.
(from [c7b713fdc61dd903e3dbef420f76eb1663f07bb1])\nCloses #925: Ti.UI.iPhone.NavigationGroup.close() now\nmanages the view stack. \nhttp://github.com/appcelerator/titanium_mobile/commit/c7b713fdc61dd...
This does not seem to work. Using both the 1.4.x nightly and the\n1.5.0 nightly the navigation group will return to the upper level\non navGroup.close(subWindow) but a 2nd time through navigation and\ncalling close ends up stuck in a black screen with no way out.
We need sample code to reproduce this issue.