{ "id": "136530", "key": "TIMOB-17684", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-26T18:39:21.000+0000", "created": "2014-09-13T01:40:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-21T20:25:10.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": "h6.Issue description\r\nIf the device is in landscape mode when the user goes into multitask mode on iOS (Double Tap Home Button) the splash screen snapshot is shown rotated sideways in the portrait orientation (As seen in the Screen shoot attached).\r\n\r\nWhen using the Ti.App.setForceSplashAsSnapshot(true); property and the 3.3.0.GA TiSDK and iOS 7 SDK on iOS 7 device when the user goes into multitask mode on iOS (Double Tap Home Button) the splash screen snapshot is shown in the orientation that the app is in (screen shoot attached to illustrate this). \r\n\r\nh6.Steps to reproduce \r\n# Launch App \r\n# In portrait mode double tap home button. \r\n# Notice the splash screen image shown is in the correct portrait orientation \r\n# Rotate it to landscape mode \r\n# Multitask by double tapping the home button \r\n# Notice that the splash screen image is shown rotated sideways. It appears to be stuck in portrait mode. \r\n\r\nh6.Sample code\r\nReproduced at iOS8 Ipad Simulator.\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\n\r\n// create tab group\r\nvar tabGroup = Titanium.UI.createTabGroup();\r\nTi.App.setForceSplashAsSnapshot(true);\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab1 = Titanium.UI.createTab({ \r\n icon:'KS_nav_views.png',\r\n title:'Tab 1',\r\n window:win1\r\n});\r\n\r\nvar label1 = Titanium.UI.createLabel({\r\n\tcolor:'#999',\r\n\ttext:'Click',\r\n\tfont:{fontSize:20,fontFamily:'Helvetica Neue'},\r\n\ttextAlign:'center',\r\n\twidth:'auto'\r\n});\r\n\r\nwin1.add(label1);\r\n\r\nlabel1.addEventListener('click', function(e) {\r\n alert(e);\r\n});\r\n \r\nvar win2 = Titanium.UI.createWindow({ \r\n title:'Tab 2',\r\n backgroundColor:'#fff'\r\n});\r\nvar tab2 = Titanium.UI.createTab({ \r\n icon:'KS_nav_ui.png',\r\n title:'Tab 2',\r\n window:win2\r\n});\r\n\r\ntabGroup.addTab(tab1); \r\ntabGroup.addTab(tab2); \r\ntabGroup.open();\r\n{code}\r\n\r\nh6.Additional details\r\nSince our docs says it only works at device there is an attached sample app to illustrate: 3.4_Splash_SnapShot_Sideways.zip \r\n\r\nA picture is attached which shows the issue called: SplashSnapshotSideways.png \r\n\r\nThis was also reproduced with iPad (Gen 3) running 8.0 Beta 5 using\r\n\r\n- http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.App-property-forceSplashAsSnapshot", "attachment": [ { "id": "51231", "filename": "3.4_Splash_SnapShot_Sideways.zip", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T01:40:34.000+0000", "size": 7028509, "mimeType": "application/zip" }, { "id": "51232", "filename": "iOS7 Simulator.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T01:43:36.000+0000", "size": 300530, "mimeType": "image/png" }, { "id": "51229", "filename": "iOS8 Simulator.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T01:40:34.000+0000", "size": 746762, "mimeType": "image/png" }, { "id": "51230", "filename": "SplashSnapshotSideways.png", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-13T01:40:34.000+0000", "size": 1119059, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS8: iPad Snapshot Splash is rotated sideways when in Landscape mode", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Studio 3.4.0.201409112242 \r\nSDK 3.4.0.v20140912120914 \r\nCLI 3.4.0-rc2 ", "closedSprints": [ { "id": 219, "state": "closed", "name": "2014 Sprint 19 SDK", "startDate": "2014-09-18T21:06:27.559Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T13:58:58.022Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "324041", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR's merged\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6097\r\nhttps://github.com/appcelerator/titanium_mobile/pull/6099", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-09-16T20:14:18.000+0000", "updated": "2014-09-16T20:14:18.000+0000" }, { "id": "324121", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409131030\r\nTitanium SDK build: 3.4.0.v20140916151649 \r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2 \r\nXcode6 GM Seed\r\niOS Device iPad4 (8.0 GM Seed), iPad Retina Simulator (8.0)\r\n\r\nBuilt an app to both simulator and device, double clicked the home button to go into multitask mode while in landscape mode and the splash screen image was shown in landscape orientation.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-17T00:17:51.000+0000", "updated": "2014-09-17T00:17:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }