{ "id": "65426", "key": "TIMOB-4121", "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": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-08-15T08:17:01.000+0000", "created": "2011-05-17T11:00:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-02-10T00:50:30.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": "10202", "name": "Android", "description": "Android Platform" } ], "attachment": [], "flagged": false, "summary": "Android: Orientation Change Doesn't Fire from Outside Tab Group", "creator": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "environment": null, "comment": { "comments": [ { "id": "134161", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Workaround\nIf you place the orientation code listener inside of each window, it will fire properly. (You could also fire a global event from the below sub.js's orientation change event to get back to having code in the app.js handle the orientation changes.)\n{code:title=app.js}\nvar tabGroup = Ti.UI.createTabGroup();\ntabGroup.addTab(Ti.UI.createTab({\n title: 'Tab 1',\n window: Ti.UI.createWindow({ backgroundColor: 'red', url: 'sub.js' })\n}));\ntabGroup.addTab(Ti.UI.createTab({\n title: 'Tab 2',\n window: Ti.UI.createWindow({ backgroundColor: 'blue', url: 'sub.js' })\n}));\ntabGroup.open();\n{code}\n{code:title=sub.js}\nTi.Gesture.addEventListener('orientationchange', function(e) {\n Ti.UI.createAlertDialog({\n message: e.orientation\n }).show();\n});\n{code}", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-05-24T12:17:46.000+0000", "updated": "2011-05-24T12:17:46.000+0000" }, { "id": "162263", "author": { "name": "kclark", "key": "kclark", "displayName": "Kincy Clark", "active": true, "timeZone": "America/Los_Angeles" }, "body": "please confirm this is still a bug in 1.7.2", "updateAuthor": { "name": "kclark", "key": "kclark", "displayName": "Kincy Clark", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-09T16:52:40.000+0000", "updated": "2011-08-09T16:52:40.000+0000" }, { "id": "162266", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "h2. Associated Helpdesk Tickets\r\n[VRM-23287-385|http://appc.me/c/VRM-23287-385]", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-08-09T16:54:55.000+0000", "updated": "2011-08-09T16:54:55.000+0000" }, { "id": "162805", "author": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "body": "Just tested with 1.7.2 on my Android Epic 4G running Android 2.2, and it works. I also verified that it was broken in 1.7.1.", "updateAuthor": { "name": "dtoth", "key": "dtoth", "displayName": "Dawson Toth", "active": true, "timeZone": "America/New_York" }, "created": "2011-08-15T08:17:01.000+0000", "updated": "2011-08-15T08:17:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }