{ "id": "87541", "key": "TIMOB-7923", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14157", "description": "Sprint 2012-20 API", "name": "Sprint 2012-20 API", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-17T09:25:44.000+0000", "created": "2012-03-08T00:05:44.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_window", "parity", "qe-testadded" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [ { "id": "20528", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "100406", "key": "TIMOB-10747", "fields": { "summary": "TiAPI: Ti.Gesture is for user input via hardware, not for the software response", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-07-17T09:25:44.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": "iOS does not support the Ti.UI.Window.orientation property to determine the current screen orientation.\r\nIt does support the deprecated Ti.UI.orientation property, which provides the same information, but for parity, this should move to Ti.UI.Window.", "attachment": [], "flagged": false, "summary": "iOS: Support Ti.UI.Window.orientation", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 3, "state": "closed", "name": "Release 3.0.0", "startDate": "2012-09-27T05:26:46.636Z", "endDate": "2012-10-08T20:05:00.000Z", "completeDate": "2012-12-20T17:03:19.403Z" } ], "comment": { "comments": [ { "id": "201332", "author": { "name": "mike@teamworkpm.net", "key": "mike@teamworkpm.net", "displayName": "Mike Butler", "active": true, "timeZone": "Europe/London" }, "body": "Documentation says Ti.UI.orientation is deprecated, but Ti.UI.Window is undefined on iOS and thus unusable for me. Starting new apps and I have to use a deprecated property - that just doesn't seem right, so this is a +1 for getting this bug sorted.\r\n\r\nThanks,\r\n\r\n Mike.", "updateAuthor": { "name": "mike@teamworkpm.net", "key": "mike@teamworkpm.net", "displayName": "Mike Butler", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-03T06:47:58.000+0000", "updated": "2012-07-03T06:47:58.000+0000" }, { "id": "221165", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\n{code}\nvar win = Ti.UI.createWindow();\nwin.open();\n\nTi.API.info(\"********** win.orientation = \" + win.orientation);\n{code}\n\nRun the above test case and check the output in the console.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T00:42:37.000+0000", "updated": "2012-09-27T00:42:37.000+0000" }, { "id": "221167", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3061", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T00:44:22.000+0000", "updated": "2012-09-27T00:44:22.000+0000" }, { "id": "221703", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-02T01:15:07.000+0000", "updated": "2012-10-02T01:15:07.000+0000" }, { "id": "229739", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 3.0.0.v20121130200208 on iPhone 4 5.1.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T00:32:00.000+0000", "updated": "2012-12-04T00:32:00.000+0000" }, { "id": "262144", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening just to updated label.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T09:05:01.000+0000", "updated": "2013-07-17T09:05:01.000+0000" }, { "id": "262145", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated label.\r\nClosing as fixed.\r\nVerified with:\r\n\r\nStudio: 3.1.2.201307121617\r\nTitanium SDK: 3.1.2.v20130710144553\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.2.14\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:iPhone Simulator(v6.0) iphone4(v5.1),Nexus7(v4.1)\r\nXcode: 4.5.1\r\n\r\nOrientation property working fine.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-17T09:25:44.000+0000", "updated": "2013-07-17T09:25:44.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }