{ "id": "93896", "key": "TIMOB-9801", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "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": "2013-04-11T11:52:58.000+0000", "created": "2012-06-26T03:59:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-17T10:11:07.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": "Black area appears after modal window closes along with change in orientation\r\n\r\nThis is not a Regression.It even occurs on 2.0.2\r\n\r\nSteps to Reproduce:\r\n\r\n1. Install the app on device and launch it.\r\n2. Press the \"Press Me\" button.\r\n3. Rotate the device as top is pointing right.\r\n4. Keep pressing the Close button and rotate the device to portrait mode and then release the button.\r\n\r\nExpected Result:\r\nThe modal window should be closed\r\n\r\nActual result:\r\nBlack area appears on the first window. And, the first window continues to appear in the landscape mode.\r\n\r\napp.js\r\n{code}\r\nvar _window = Titanium.UI.createWindow();\r\n\t_window.backgroundColor='white';\r\n\t\t\t\r\n\t\t\tvar button = Ti.UI.createButton({\r\n\t\t\ttitle : 'Press me'\r\n\t\t});\r\n\t\tbutton.addEventListener('click', function() {\r\n\t\t\tvar button2 = Ti.UI.createButton({\r\n\t\t\t\ttitle : 'close'\r\n\t\t\t});\r\n\t\t\tvar win = Ti.UI.createWindow({\r\n\t\t\t\tmodal : true,\r\n\t\t\t\tbackgroundColor : '#c96'\r\n\t\t\t});\r\n\t\t\tbutton2.addEventListener('click', function() {\r\n\t\t\t\twin.close();\r\n\t\t\t});\r\n\t\t\twin.add(button2);\r\n\t\t\twin.open();\r\n\r\n\t\t\twin.open();\r\n\r\n\t\t});\r\n\t\t_window.add(button);\r\n\r\n\t\t\r\n\t\t _window.open();\r\n{code}", "attachment": [ { "id": "28725", "filename": "Screenshot.png", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-06-26T03:59:05.000+0000", "size": 9583, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: Window - Black area appears after modal window closes along with change in orientation", "creator": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Tested with Titanium SDK: 2.1.0.v20120625134154\r\nTested with Titanium  Studio: 2.1.0.201206221045\r\nPlatform & version: iPhone 3G (5.0.1) device \r\nHost Operating System: OSX 10.7.3\r\n", "comment": { "comments": [ { "id": "247051", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version: 5.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-11T11:52:58.000+0000", "updated": "2013-06-20T12:47:43.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }