{ "id": "92061", "key": "TIMOB-9193", "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" }, { "id": "13408", "description": "Sprint 2012-12 API", "name": "Sprint 2012-12 API", "archived": true, "released": true, "releaseDate": "2012-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-06-07T11:04:12.000+0000", "created": "2012-05-21T08:23:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "api", "module_window", "qe-testadded", "regression" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-09T14:45:48.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": "h2.Problem description\r\nWindows opened with a NavigationGroup don't fire their open or focus events at all. This is regression: was working well with v2.0.1.GA\r\n\r\nh2.Steps to reproduce and sample code\r\nCreate an app (see following sample) that opens a window with a NavigationGroup; two events should be fired ('focus' and 'open'), but they aren't.\r\n\r\napp.js\r\n{code}\r\nvar TheWindow=Ti.UI.createWindow({\r\n url:'win1.js',\r\n layout:'vertical',\r\n navBarHidden:false\r\n });\r\nvar ng=Ti.UI.iPhone.createNavigationGroup({window:TheWindow});\r\nvar NavBase = Ti.UI.createWindow();\r\nNavBase.add(ng);\r\nNavBase.open();\r\n{code}\r\nwin1.js\r\n{code}\r\nvar win1=Ti.UI.currentWindow;\r\n\r\nfunction OnFocus()\r\n{\r\n Ti.API.info('focus event');\r\n}\r\n\r\nfunction OnOpen()\r\n{\r\n Ti.API.info('open event');\r\n}\r\n\r\nwin1.addEventListener('focus',OnFocus);\r\nwin1.addEventListener('open',OnOpen);\r\nTi.API.info('set simple event listeners successfully');\r\n{code}\r\n\r\n\r\nExpected Result\r\n3 console log lines:\r\n set simple event listeners successfully\r\n open event\r\n focus event\r\n\r\nActual Result\r\n1 console log line:\r\n set simple event listeners successfully\r\n", "attachment": [], "flagged": false, "summary": "iOS: Windows opened with NavGroup don't fire open or focus events", "creator": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": "- Titanium SDK 2.1.0.v20120522114030\r\n- Titanium Studio 2.0.1.201204132053\r\n- iOS 5.0 simulator\r\n- Mac OSX 10.7.3", "comment": { "comments": [ { "id": "195440", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "HD ticket: http://support.appcelerator.com/tickets/APP-865215", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-05-21T08:28:16.000+0000", "updated": "2012-05-21T08:28:16.000+0000" }, { "id": "197839", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "This ticket was marked as resolved on June 7th at 2:04pm. On June 8th, I pulled down the last continuous build for the 2.1.0 branch (master) which was datestamped June 7th at 18:02 (2.1.0.v20120607180246). The problem still exists. What's the timing on resolved JIRA bugs vs. continuous builds? Should it have been in that one? If not, how will I know when a continuous build contains a given bug fix?", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-06-08T05:48:49.000+0000", "updated": "2012-06-08T05:48:49.000+0000" }, { "id": "197981", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "body": "Verified fixed in SDK 2.1.0.v20120608174150...using this test code. But my larger app still suffers from this problem. I wil try to present a new testcase.\r\n", "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-06-11T07:46:43.000+0000", "updated": "2012-06-11T08:36:11.000+0000" }, { "id": "198550", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.1.0.201206131907\r\nTi Mobile SDK 2.1.0.v20120613210250 hash rc8ddb29e\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.1", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-14T14:02:30.000+0000", "updated": "2012-06-14T14:02:30.000+0000" }, { "id": "198552", "author": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "bitshftr", "key": "bitshftr", "displayName": "Shawn Lipscomb", "active": true, "timeZone": "America/New_York" }, "created": "2012-06-14T14:09:59.000+0000", "updated": "2012-06-14T14:09:59.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }