{ "id": "92989", "key": "TIMOB-9464", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-10-31T20:37:29.000+0000", "created": "2012-06-08T06:01:16.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "core", "qe-and060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "56113", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "97759", "key": "TIMOB-10070", "fields": { "summary": "Android: Landscape Left/Right handling is backwards", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-10-31T20:37:29.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": "On Android platform, the application screen shows up even in those orientation mode that are not supported for the application.\r\n\r\nThis is not a regression. This issue occurs as far back as 1.8.2\r\n\r\nSteps to reproduce:\r\n1. Create a mobile application with the code below\r\n2. Launch the application with device in portrait\r\n3. Hold device so top is pointing left \r\n4. Hold device upside down \r\n5. Hold device so top is pointing right\r\n\r\nActual Result:\r\nAfter step 4, on galaxy tab the screen in shown in upside down orientation mode\r\nAfter step 5, the screen is shown in Landscape left mode\r\nBoth Upside down and Landscape left are not supported modes for this application\r\n\r\nExpected Result:\r\n1. After step 2, the screen should be in portrait mode\r\n2. For all further steps, the screen should be in Landscape right mode\r\n\r\nApp.js\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'white'\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext:'Appcelerator',\r\n height:'auto',\r\n width:'auto',\r\n color:'#900',\r\n font:{fontSize:24},\r\n textAlign:'center'\r\n\t});\r\n\r\nwin.add(label);\r\n\r\nwin.orientationModes = [\r\n Ti.UI.PORTRAIT,\r\n Ti.UI.LANDSCAPE_RIGHT\r\n];\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Orientation: Screen does not restrict to orientation modes supported in app.js", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.0.201206062004\r\nTitanium SDK: 2.1.0.v20120607180246\r\nAndroid Device: Galaxy Tab (3.2), Galaxy Nexus (4.0.2)\r\nOS: Mac OSX 10.7.3", "comment": { "comments": [ { "id": "240905", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-06T06:42:31.000+0000", "updated": "2013-03-06T06:42:31.000+0000" }, { "id": "429923", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate. See [TIMOB-10070].", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-31T20:37:29.000+0000", "updated": "2017-10-31T20:37:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }