{ "id": "77621", "key": "TIMOB-4622", "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": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-27T14:48:26.000+0000", "created": "2011-07-08T08:12:54.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-27T14:48:34.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": "Window focus events do not fire on windows in a navigation group when navigating BACK using the auto-generated back button. Sample code below:\r\n\r\n{code}\r\nvar win \t\t= Ti.UI.createWindow();\r\nvar rootWin \t= Ti.UI.createWindow();\r\n\r\nrootWin.addEventListener('focus', function()\r\n{\r\n\tTi.API.info(\"rootWin FOCUSED\");\r\n});\r\n\r\nvar btnOpenWin = Ti.UI.createButton({\r\n\ttitle\t: \"open new window\",\r\n\twidth\t: 200,\r\n\theight\t: 35\r\n});\r\n\r\nbtnOpenWin.addEventListener('click', function()\r\n{\r\n\tvar win2 = Ti.UI.createWindow();\r\n\tnavGroup.open(win2, {animated: true});\r\n});\r\n\r\nrootWin.add(btnOpenWin);\r\nvar navGroup \t= Ti.UI.iPhone.createNavigationGroup({\r\n\twindow: rootWin\r\n});\r\n\r\nwin.add(navGroup);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Window focus not firing in a navigation group", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": "iOS 4.3.3", "comment": { "comments": [ { "id": "162070", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull request https://github.com/appcelerator/titanium_mobile/pull/338 pending.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-05T19:08:05.000+0000", "updated": "2011-08-05T19:08:05.000+0000" }, { "id": "164377", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Passed as expected on:\niPod 3rd Gen 4.0.2\niPad 2 4.3.2\niPhone 4 4.2.10\n\nSDK:\nversion=1.8.0\ntimestamp=08/26/11 14:53\ngithash=8e978eb...\n", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-29T12:39:25.000+0000", "updated": "2011-08-29T12:39:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }