{ "id": "104801", "key": "TIMOB-11740", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "15096", "description": "2013 Sprint 04 BB", "name": "2013 Sprint 04 BB", "archived": true, "released": true, "releaseDate": "2013-02-25" }, { "id": "14814", "description": "2013 Sprint 04", "name": "2013 Sprint 04", "archived": true, "released": true, "releaseDate": "2013-02-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-02-21T22:48:26.000+0000", "created": "2012-11-10T17:00:38.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "25376", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "97708", "key": "TIMOB-10055", "fields": { "summary": "BlackBerry: Implement orientations", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "25190", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "93396", "key": "TIMOB-9605", "fields": { "summary": "BlackBerry: Implement important Titanium.UI.Window functionality", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-23T23:15:26.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": "Implement orientation modes for windows.\r\n\r\nh3. Acceptance Test\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n\torientationModes:[Titanium.UI.LANDSCAPE,Titanium.UI.PORTRAIT]\r\n});\r\n\r\nvar label = Ti.UI.createLabel({text: 'Foobar'});\r\nwin.add(label);\r\n\r\nwin.open();\r\n{code}\r\n\r\n1. Run the above test case.\r\n2. Try rotating the device. The UI should flip to the new orientation.\r\n3. Verify all orientations (landscape & portrait) work. Note: reverse portrait not supported by BB.\r\n4. Only use PORTRAIT for orientation modes and run app again.\r\n5. Verify only PORTRAIT orientation is allowed.\r\n6. Only use LANDSCAPE for orientation modes and run app again.\r\n7. Verify only LANDSCAPE orientation is allowed.\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: Titanium.UI.Window - orientationModes", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Simulator BB OS 10.0.9.386 \r\nOsX Mountain Lion\r\n\r\nTi SDK\r\n\r\nversion=2.2.0\r\nmodule_apiversion=2\r\ntimestamp=10/19/12 11:58\r\ngithash=6bf86d6", "comment": { "comments": [ { "id": "236807", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Leaving this one on hold until Ti.UI.Window gets refactored. Right know it is trying to apply the lightweight/heavyweight window concept like android. But we're going to move away from that approach and use the native _AbstractPane_ control.", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-31T22:26:19.000+0000", "updated": "2013-01-31T22:26:19.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }