{ "id": "83262", "key": "TIMOB-6399", "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": "12093", "description": "", "name": "Sprint 2012-01", "archived": true, "released": true, "releaseDate": "2012-01-15" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "12677", "description": "Release 1.8 Service Pack 1", "name": "Release 1.8.1", "archived": true, "released": true, "releaseDate": "2012-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-02-10T00:22:46.000+0000", "created": "2011-11-30T17:33:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity", "qe-and112911nr" ], "versions": [], "issuelinks": [], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-03-03T23:17:42.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": "Description:\r\nWhile testing using our orientation test plan, I noted that two tests were failing to limit the available orientations. These were specifying LANDSCAPE_RIGHT and UPSIDE_PORTRAIT. Landscape left and portrait worked as expected, limiting the UI orientation to those specified.\r\n\r\nTry the following code with with either of the listed orientations:\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor:'white'});\r\n\r\nvar img = Ti.UI.createImageView({image:'KS_nav_ui.png'});\r\n\r\nwin.add(img);\r\n\r\nwin.orientationModes=[Ti.UI.UPSIDE_PORTRAIT];\r\n\r\nwin.open();\r\n{code}\r\n\r\n\r\nSteps to reproduce:\r\n1) Use the sample code above\r\n2) Install on android device\r\n3) Rotate the device to unsupported orientations\r\n\r\nResult:\r\nUI rotates to all orientations\r\n\r\nExpected:\r\nUI remains in specified orientation\r\n\r\nNote:\r\nSeems to also occur with 1.7.5 GA", "attachment": [], "flagged": false, "summary": "Android: orientation - v8/rhino - Some orientation modes are not functioning correctly", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Droid 3 (2.2.2), Galaxy Tab 10.1 (3.1), Xoom (3.2.1), SDK 1.8.0.1.v20111123202050, Titanium Studio, build: 1.0.7.201111282022", "comment": { "comments": [ { "id": "174707", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also occurs on the nook with both v8 and Rhino and SDK 1.8.0.1.v20111203093857", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-03T14:16:05.000+0000", "updated": "2011-12-03T14:16:05.000+0000" }, { "id": "176387", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also seeing the same behavior with Nexus S (2.3.4) and Droid (2.3.4) with Rhino/V8 1.8.0.1.v20111216124633", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-16T14:58:54.000+0000", "updated": "2011-12-16T14:58:54.000+0000" }, { "id": "176390", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug also valid in:\r\nSDK: 1.8.0.1.v20111216124633\r\nAndroid Runtimes: V8/Rhino\r\nDevices: Xoom (3.2.1), Galaxy Tab 10.1 (3.1)", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-16T15:10:52.000+0000", "updated": "2011-12-16T15:10:52.000+0000" }, { "id": "179679", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nSDK build: 1.9.0.v20120117144634\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.8.201201131907\r\nOS: Mac OS X Lion (10.7.1)\r\nDevice: Droid 3 (2.3.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-17T16:26:48.000+0000", "updated": "2012-01-17T16:26:48.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }