{ "id": "136761", "key": "TIMOB-17746", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-12-31T14:44:47.000+0000", "created": "2014-09-18T02:41:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "SplitWindow", "TCSupportTriage", "iPad", "orientationChange" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T21:57:18.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": "h4. Problem Description\r\nThe entire screen goes blank after a few rotation changes. \r\n\r\nRun the attached app.js as iPad simulator and rotate left, rotate right a few times. The entire window is lost (goes blank) on rotation change.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project (classic titanium)\r\n2. Paste this to app.js:\r\n{code}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n \r\nvar tabWindow1 = Ti.UI.createWindow({\r\n backgroundColor: 'red'\r\n});\r\n \r\nvar tabWindow2 = Ti.UI.createWindow({\r\n backgroundColor: 'pink'\r\n});\r\n \r\ntabWindow1.addEventListener('focus', function(e) {\r\n Ti.API.info('tabWindow1 FOCUS');\r\n});\r\n \r\ntabWindow1.addEventListener('blur', function(e) {\r\n Ti.API.info('tabWindow1 BLUR');\r\n});\r\n \r\ntabWindow2.addEventListener('focus', function(e) {\r\n Ti.API.info('tabWindow2 FOCUS');\r\n});\r\n \r\ntabWindow2.addEventListener('blur', function(e) {\r\n Ti.API.info('tabWindow2 BLUR');\r\n});\r\n \r\nvar tab1 = Ti.UI.createTab({\r\n tintColor: 'black',\r\n title: 'Tab 1',\r\n window: tabWindow1\r\n});\r\n \r\nvar tab2 = Ti.UI.createTab({\r\n tintColor: 'black',\r\n title: 'Tab 2',\r\n window: tabWindow2\r\n});\r\n \r\ntabGroup.addTab(tab1);\r\ntabGroup.addTab(tab2);\r\n \r\n \r\nvar detailWindow = Ti.UI.createWindow({\r\n backgroundColor: 'gray'\r\n});\r\n \r\nvar navWindow = Ti.UI.iOS.createNavigationWindow({\r\n window: detailWindow\r\n});\r\n \r\nvar splitWindow = Ti.UI.iPad.createSplitWindow({\r\n detailView: navWindow,\r\n masterView: tabGroup,\r\n});\r\n \r\nsplitWindow.addEventListener('visible',function(e){\r\n if (e.view == 'detail') {\r\n e.button.title = \"Popover\";\r\n detailWindow.leftNavButton = e.button;\r\n }\r\n else if (e.view == 'master') {\r\n detailWindow.leftNavButton = null;\r\n }\r\n});\r\n \r\nsplitWindow.open();\r\n{code}\r\n3. Run it in device. ", "attachment": [ { "id": "51377", "filename": "app.js", "author": { "name": "slim.mckins", "key": "slim.mckins", "displayName": "Slim McKinsley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-18T02:41:33.000+0000", "size": 1355, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS8: iPad SplitWindow - Everything Gets Lost Off Screen on Orientation Change (Regression)", "creator": { "name": "slim.mckins", "key": "slim.mckins", "displayName": "Slim McKinsley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "slim.mckins", "key": "slim.mckins", "displayName": "Slim McKinsley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version 3.4.0.v20140916181713\r\nBuilding for target: simulator\r\nBuilding using iOS SDK: 8.0\r\nBuilding for iOS Simulator: iPad Retina", "comment": { "comments": [ { "id": "326625", "author": { "name": "slim.mckins", "key": "slim.mckins", "displayName": "Slim McKinsley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "From my testing, it looks like this has been fixed in Ti SDK 3.4.0.GA, although this ticket is not updated to reflect that. Can QA please confirm?", "updateAuthor": { "name": "slim.mckins", "key": "slim.mckins", "displayName": "Slim McKinsley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-01T19:01:04.000+0000", "updated": "2014-10-01T19:01:04.000+0000" }, { "id": "326664", "author": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "updateAuthor": { "name": "beaurepair", "key": "beaurepair", "displayName": "Beau Gibson", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-10-01T22:47:55.000+0000", "updated": "2014-10-01T22:47:55.000+0000" }, { "id": "403937", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Not reproducible using the refactored {{Ti.UI.iOS.SplitWindow}} these days.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-31T14:44:47.000+0000", "updated": "2016-12-31T14:44:47.000+0000" }, { "id": "416550", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced anymore, with reference to the above comment.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T21:57:18.000+0000", "updated": "2017-03-31T21:57:18.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }