{ "id": "79829", "key": "TIMOB-5173", "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": "12075", "description": "", "name": "Sprint 2011-35", "archived": true, "released": true, "releaseDate": "2011-09-05" }, { "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-09-02T14:14:34.000+0000", "created": "2011-08-30T10:07:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "exception", "orientation" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-09-12T13:52:33.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" } ], "description": "Exception is throw when trying to get window proxy for light weight window. Attached source should trigger the exception when the open event fires and the orientation is set.\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({backgroundColor:'blue'});\r\nvar label = Ti.UI.createLabel({text:\"this is some text\"});\r\n\r\nwin.add(label);\r\n\r\nwin.addEventListener('open', function() {\r\n\tTi.API.info(\">>>>>>>>>>>>>>>>>>>>>>>>>>> window opened\");\r\n\tTi.UI.orientation = Ti.UI.PORTRAIT;\r\n});\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: window proxy is not set correctly on light weight window", "creator": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "165694", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.v20110909152148 on\nHero 2.1\nNexus One 2.2.2\nLG Slate 3.1\niOS Simulator 4.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-12T13:52:33.000+0000", "updated": "2011-09-12T13:52:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }