{ "id": "78740", "key": "TIMOB-4888", "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": "12077", "description": "", "name": "Sprint 2011-37", "archived": true, "released": true, "releaseDate": "2011-09-19" }, { "id": "12470", "description": "", "name": "Release 1.7.4", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-16T11:19:42.000+0000", "created": "2011-08-03T18:08:16.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_orientation", "qe-testadded" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [ { "id": "13907", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "82067", "key": "TIMOB-5891", "fields": { "summary": "iOS: Screen does not rotate to landscape on first launch if tiapp orientation is set to portrait", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14030", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "83249", "key": "TIMOB-6391", "fields": { "summary": "iOS: Window: iPad only, opening and closing a modal window with split view cause the view to be displaced", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:46: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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When you hold the device in landscape and the launch the app it fires up in portrait as it should but it does not rotate to landscape as it should. It does rotate to landscape after you rotate the device to portrait and then back to landscape.\r\n\r\nIf launching the app on a device that is in landscape, the app should launch in portrait and then rotate to landscape. You can see this using the mail app.\r\n\r\nStep 1: run the code below\r\nStep 2: hold the device in landscape before launching the app (this is the same for the simulator, you just need to rotate it to landscape before the app launches)\r\nStep 3: launch the app\r\nStep 4: notice that the app does not rotate to landscape after it launches\r\nStep 5: rotate the device to portrait and then back to landscape\r\nStep 6: notice that the app rotates to landscape\r\n\r\n{code:title=\"app.js\"}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'blue',\r\n\torientationModes: [Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT]\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext: \"I am a string\"\r\n});\r\nwin.add(label);\r\n\r\nwin.open();\r\n{code}\r\n\r\nh3. Associated Helpdesk Ticket\r\nhttp://appc.me/c/APP-724825", "attachment": [], "flagged": false, "summary": "iOS: app does not rotate to landscape if it is launched while the device is in landscape", "creator": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 1.7.2\r\niOS Simulator 4.3, iPhone 4 iOS 4.3.1", "comment": { "comments": [ { "id": "165924", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "As per Blain, tiapp.xml orientation attributes must be changed to the following for a proper test case:\r\n\r\n {code}\r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n \r\n Ti.UI.PORTRAIT\r\n Ti.UI.UPSIDE_PORTRAIT\r\n Ti.UI.LANDSCAPE_LEFT\r\n Ti.UI.LANDSCAPE_RIGHT\r\n \r\n\r\n{code}", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-13T16:02:51.000+0000", "updated": "2011-09-13T17:16:20.000+0000" }, { "id": "166106", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "resolved https://github.com/appcelerator/titanium_mobile/pull/464", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-14T16:08:02.000+0000", "updated": "2011-09-14T16:08:02.000+0000" }, { "id": "166231", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fix verified on iPhone 4 4.2.10, iPod 3rd gen 4.0.2, and iPad 4.3.5.\n\nSDK used for testing: 1.8.0v20110915101349", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-09-15T14:56:10.000+0000", "updated": "2011-09-15T14:56:10.000+0000" }, { "id": "170085", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "verified fixed with SDK 1.7.4.v20111021114614 on iPhone 4 (iOS 5), iPod touch 4th gen (iOS 4.3.5)", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-21T12:53:43.000+0000", "updated": "2011-10-21T12:53:43.000+0000" }, { "id": "170164", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening as I failed to try the simulator. Verified fixed with SDK 1.7.4.v20111021181815, iPod Touch 3rd gen (iOS 4.0.2), iPad2 (iOS 5.0). Verified not functioning on simulator when quickly switching to landscape just before launch, or when launch from simulator home, the bug occurs. \r\n\r\nLowering severity since this is only affecting the simulator.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-23T10:49:31.000+0000", "updated": "2011-10-23T10:49:31.000+0000" }, { "id": "170250", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "With TiApp only specifying iPhone orientation \"portrait\" with no iPad orientation set in Tiapp, the applications on the first launch with device in landscape will load with the portrait splash as expected, but the UI will not rotate to landscape after load until the device is rotated. On subsequent launches it works as expected. This is a more important issue for pre-4.0 devices as each launch is a \"first launch\".", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-24T13:40:56.000+0000", "updated": "2011-10-24T13:40:56.000+0000" }, { "id": "172548", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Having to note, that despite it being logical, rotating the simulator does not always translate into a physical rotation. In other words, if the device UI is in portrait yet on its side when launching the app, the OS gives no landscape rotation event. You can verify this by doing the same test with Safari. The safari app also won't rotate on the sim if launched on its side.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-14T11:02:45.000+0000", "updated": "2011-11-14T11:02:45.000+0000" }, { "id": "172946", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issues are linked in commits and fix-version.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-16T11:19:27.000+0000", "updated": "2011-11-16T11:19:27.000+0000" }, { "id": "173713", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Update:\r\nFor Blain's comment above: Safari in all three simulators (iPad, iPhone, iPhone retina) does not rotate after launch, this does not match actual device behavior, see below.\r\n\r\nBaseline Apple iOS behavior: On three devices (iPad 2 4.3.5, iPod 4.0.1, iPhone 4s 5.01) held in landscape: When launching safari on iPad, the UI is always landscape, and safari launches landscape. On the other two devices, the main screen ui is in portrait even while the device in landscape. Launching safari begins in portrait, then rotates to landscape on load.\r\n\r\nInvestigation: Using an app with Ti.UI.PORTRAIT set in TiApp.xml, but with all orientations allowed in the app.js. Devices all held in landscape to launch the apps: Expected result is splash in portrait, and UI rotates to landscape on launch. Actual results:\r\n\r\niPod (4.0.1):\r\n1.7.6.v20111114104114: App loads with portrait splash, does not rotate. This occurs on the first launch only. Susequent launches rotate to landscape as expected.\r\n1.8.0.1.v20111121164257: App loads with portrait splash, rotates as expected.\r\n\r\niPad 2 (4.3.5):\r\n1.7.6.v20111114104114: App loads with portrait splash, does not rotate. This occurs on the first launch only. Susequent launches rotate to landscape as expected.\r\n1.8.0.1.v20111121164257: App loads with portrait splash, rotates as expected.\r\n\r\niPhone 4s (5.01):\r\n1.7.6.v20111114104114: App loads with portrait splash, rotates as expected.\r\n1.8.0.1.v20111121164257: App loads with portrait splash, rotates as expected.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-22T09:58:16.000+0000", "updated": "2011-11-22T09:58:16.000+0000" }, { "id": "175277", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Verified fix on:\r\n\r\nOS: Mac OS X Lion\r\nTitanium Studio, build: 1.0.7.201112061404\r\nSDK build: 1.8.0.1.v20111207151125\r\nDevice: iphone 4S Sprint (5.0.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T16:32:45.000+0000", "updated": "2011-12-07T16:32:45.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }