{ "id": "82543", "key": "TIMOB-6128", "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": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-16T12:13:50.000+0000", "created": "2011-11-08T15:08:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8", "regression" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2011-12-07T16:02:39.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": "1) Create a new project and place the following in the app.js\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar img = Ti.UI.createImageView({image:'grouch.jpg'});\r\n\r\nwin.add(img);\r\n\r\nwin.orientationModes = [\r\n Ti.UI.LANDSCAPE_LEFT,\r\n Ti.UI.LANDSCAPE_RIGHT\r\n];\r\n\r\nwin.open();\r\n{code}\r\n2) Place the attached grouch.jpg in the Resources folder\r\n3) Launch the application\r\n\r\nExpected results: Image is shown in landscape mode only\r\nActual results: Image is shown in portrait and landscape mode. Same behavior as not defining the orientationModes.\r\n\r\nNotes:\r\nSame behavior occurs if rhino tag is put in the tiapp.xml", "attachment": [ { "id": "24097", "filename": "grouch.jpg", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-08T15:08:54.000+0000", "size": 52018, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Android: OrientationModes - Setting OrientationModes does nothing", "creator": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "version=1.8.0, timestamp=11/07/11 10:20, githash=8911fc4. Nexus One 2.2.2\r\n", "comment": { "comments": [ { "id": "172273", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "unable to reproduce on droid2 with v8 or rhino. Please confirm behavior still persists with latest branch of master.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-11-10T21:17:04.000+0000", "updated": "2011-11-10T21:17:04.000+0000" }, { "id": "172913", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "issue still occurs on HW windows", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2011-11-16T09:30:20.000+0000", "updated": "2011-11-16T09:30:20.000+0000" }, { "id": "175263", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111207090257\r\nXoom (3.2.1) - v8\r\nSamsung Tab 10.1 (3.1) - rhino", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T16:02:39.000+0000", "updated": "2011-12-07T16:02:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }