{ "id": "111501", "key": "TIMOB-13151", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-09T22:38:01.000+0000", "created": "2013-03-21T18:52:36.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:25.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Note:This is a regression it works in build 3.1.0.v20130305173300\r\nDescription:\r\n1.Use the code snippet below & build/run the app for BB simulator/device\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'green'});\r\n\t\r\n\twin.orientationModes = [\r\n\t\tTitanium.UI.PORTRAIT,\r\n\t\tTitanium.UI.UPSIDE_PORTRAIT,\r\n\t\tTitanium.UI.LANDSCAPE_LEFT,\r\n\t\tTitanium.UI.LANDSCAPE_RIGHT,\r\n\t\tTitanium.UI.FACE_UP,\r\n\t\tTitanium.UI.FACE_DOWN\r\n\t]; \r\n\t\r\nvar lbl = Ti.UI.createLabel({\r\n\ttext:'Orientation modes',\r\n\tcolor:'white',\r\n\tfont:{fontSize:15}\r\n});\r\n\t\r\nwin.add(lbl);\r\nwin.open();\r\n{code}\r\n2.Change the orientation of the device\r\n\r\nActual Results:\r\n1.Changing the orientation of the device does not change the apps orientation it stays at portrait\r\n\r\nExpected result:\r\n1.The app should change the orientation\r\n", "attachment": [], "flagged": false, "summary": "Blackberry : Orientation modes not working with build 3.1.0.v20130320125153", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.v20130320125153\r\nTi BB SDK : 3.1.0.v20130319225749\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nBB simulator : 10.0.9.2372\r\nDev alpha B 10 device\r\n", "comment": { "comments": [ { "id": "243520", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "After adding the auto property :\n{code}\n\n auto\n\n{code}\n\nto the tiapp.xml allows the orientation change.\nVerified it.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T20:50:16.000+0000", "updated": "2013-03-21T20:50:16.000+0000" }, { "id": "243526", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "If the property was added then this is not a regression. But, this issue definitely need more discussion", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-03-21T21:01:40.000+0000", "updated": "2013-03-21T21:01:40.000+0000" }, { "id": "246792", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. Adding the property to the tiapp.xml fixes the orientation issue.\r\nThus closing.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.0.201304051530\r\nTi BB SDK : 3.2.0.v20130409153013\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nBB simulator : 10.0.10.261\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-10T00:03:00.000+0000", "updated": "2013-04-10T00:03:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }