{ "id": "119699", "key": "TIMOB-15083", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-09-10T01:42:11.000+0000", "created": "2013-09-09T11:27:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "qe-3.1.3" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-17T17:59:23.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "iOS: Orientation: App started in landscape mode does not rotate to portrait in first attempt.\n\nSteps to reproduce:\n1. Hold the device in landscape mode and run the app.\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor : 'blue'\n});\nwin.orientationModes =[Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT];\nvar label = Ti.UI.createLabel({\ntext : \"I am TIMOB-4888 test.\"\n});\n\nwin.add(label);\nwin.open();\n{code}\n2. Rotate the device to portrait.\n\nExpected:\nApp should rotate to portrait mode.\n\nActual:\nApp doesn't rotate to portrait. Rotate the device to landscape then again portrait, app rotates to portrait in 2nd attempt. ", "attachment": [], "flagged": false, "summary": "iOS7: Orientation: App started in landscape mode does not rotate to portrait in first attempt", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : iPod touch 1 5th Generation, iOS version: 7\r\nSDK: 3.1.3.v20130908095038\r\nCLI version : 3.1.2\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2-beta\r\nAppcelerator Studio, build: 3.1.3.201309072408\r\nXCode : 5 ", "comment": { "comments": [ { "id": "270515", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving to mark invalid. This is caused by the info.plist confusing the OS by insisting on portrait while the window asks for landscape. Once the info.plist's orientations had been updated to allow for landscape on boot, the issue no longer happened.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-10T01:40:55.000+0000", "updated": "2013-09-10T01:40:55.000+0000" }, { "id": "270516", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Info.plist needs to reflect window orientation on boot for test to be valid.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-10T01:42:11.000+0000", "updated": "2013-09-10T01:42:11.000+0000" }, { "id": "413513", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-17T17:59:23.000+0000", "updated": "2017-03-17T17:59:23.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }