{ "id": "115833", "key": "TIMOB-14190", "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": "15492", "description": "2013 Sprint 12 JS", "name": "2013 Sprint 12 JS", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "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": "2013-06-13T23:53:01.000+0000", "created": "2013-06-12T17:47:28.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-3.1.1", "qe-testadded", "regression", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T18:38:37.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.\r\n\r\nDescription:\r\n1. Create an app for BB & replace the app.js with the code below:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\nbackgroundColor: 'green',\r\nlayout:'vertical'\r\n});\r\n\t\r\nwin.orientationModes = [\r\nTitanium.UI.PORTRAIT,\r\n//Titanium.UI.UPSIDE_PORTRAIT,\r\nTitanium.UI.LANDSCAPE_LEFT,\r\nTitanium.UI.LANDSCAPE_RIGHT,\r\nTitanium.UI.FACE_UP,\r\nTitanium.UI.FACE_DOWN\r\n]; \r\n\r\nvar lbl1 = Ti.UI.createLabel({\r\ntext:'Orientation',\r\ncolor:'white',\r\nfont:{fontSize:12}\r\n});\r\n\r\nwin.add(lbl1);\r\nwin.open();\r\n{code}\r\n2. Build & run the app on BB device\r\n3. Launch the app & change the orientation from portrait to landscape\r\n\r\nActual result:\r\n1. Thought the orientation changes to landscape the window does not resize accordingly & does not fill the width", "attachment": [ { "id": "39764", "filename": "20130612_103906.jpg", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T17:47:28.000+0000", "size": 2463186, "mimeType": "image/jpeg" }, { "id": "39765", "filename": "20130612_103921.jpg", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T17:47:28.000+0000", "size": 1996720, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "BlackBerry: Window does not resize itself on orientation change from portrait to landscape", "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.201306112235\r\nTi BB SDK : 3.1.1.v20130611153550\r\nMac OSX : 10.8.3\r\nAlloy : 1.1.3-cr\r\nCLI - 3.1.1-cr\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "comment": { "comments": [ { "id": "257803", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/104", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-13T23:45:34.000+0000", "updated": "2013-06-13T23:45:34.000+0000" }, { "id": "257920", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the window or view orients itself properly.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201306112235\r\nTi BB SDK : 3.1.1.v20130613185544\r\nMac OSX : 10.8.3\r\nAlloy : 1.1.3-cr\r\nCLI - 3.1.1-cr\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-06-14T17:54:59.000+0000", "updated": "2013-06-14T17:54:59.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }