{ "id": "114426", "key": "TIMOB-13874", "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": "15116", "description": "2013 Sprint 11 BB", "name": "2013 Sprint 11 BB", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-28T22:36:42.000+0000", "created": "2013-05-15T21:33:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.3.0", "qe-testadded", "sdk-bb" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "37933", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "115052", "key": "TIMOB-14011", "fields": { "summary": "BlackBerry: Implement the 'isLandscape' method in gestures", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-28T22:37:15.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": "This is a regression.It still works in our beta release sdk 3.2.0.v20130412191647\r\n\r\nDescription:\r\n1. Create an app for BB with the following code\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\t//Titanium.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\n\r\nAlso, add the following permissions in the tiapp.xml\r\n{code}\r\n\r\n        auto\r\n        \r\n            access_shared\r\n            record_audio\r\n            use_camera\r\n            access_internet\r\n            play_audio\r\n            post_notification          \r\n            set_audio_volume\r\n            read_device_identifying_information\r\n        \r\n    \r\n{code}\r\n\r\n2. Build & run for BB device\r\n\r\nActual Result:\r\n1. The orientation does not change \r\n\r\nExpected Result:\r\n1. The orientation should change to the appropriate orientation as the device is rotated", "attachment": [ { "id": "38771", "filename": "orientation_change.zip", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-20T23:17:55.000+0000", "size": 3829963, "mimeType": "application/zip" } ], "flagged": false, "summary": "BlackBerry : Orientation change does not work in sdk 3.1.1", "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.1.201305150313\r\nTi BB SDK : 3.1.1.v20130514180723\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "comment": { "comments": [ { "id": "252982", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "project attached.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-20T23:18:19.000+0000", "updated": "2013-05-20T23:18:19.000+0000" }, { "id": "253013", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Josh as you pointed out the auto orient in the bar xml file stays false for me.\n{code}\n\n false\n \n none\n false\n\n{code}", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-21T00:39:23.000+0000", "updated": "2013-05-21T00:39:23.000+0000" }, { "id": "253364", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If Chris can review the code change and someone setup for BlackBerry\r\ncan perform the functional testing.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T01:51:38.000+0000", "updated": "2013-05-22T01:51:38.000+0000" }, { "id": "253423", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "3_1_X pull request: https://github.com/appcelerator/titanium_mobile/pull/4314", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-05-22T17:06:34.000+0000", "updated": "2013-05-22T17:06:34.000+0000" }, { "id": "253530", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the orientation is working as expected.\r\nThus closing the issue.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130522143723\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T22:56:46.000+0000", "updated": "2013-05-22T22:56:46.000+0000" }, { "id": "253706", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-open to fix labels.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-23T19:32:47.000+0000", "updated": "2013-05-23T19:32:47.000+0000" }, { "id": "306542", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopened\r\n Appcelerator Studio, build: 3.3.0.201405211748\r\nTitanium SDK, build: 3.3.0.v20140524224144 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-alpha4 \r\nnpm@1.3.2 \r\ntitanium@3.3.0-alpha5 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\n\r\n Orientation indicates portrait only even when device is rotated to landscape mode\r\n\r\n@[~penrique] I will close this ticket and reopen TIMOB-14011", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T21:41:46.000+0000", "updated": "2014-05-28T22:36:25.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }