{ "id": "141300", "key": "TIMOB-18163", "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": null, "resolutiondate": null, "created": "2014-12-09T18:05:29.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:51.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h6.Issue Description\r\nIn iOS7 only (tested with iOS 8 without seeing this) when a user initiates multi-tasking (double tap home button to see all running apps) with an alert showing, if the user returns to the app, the alert disappears but the app is unusable, due to the semi-transparent \"shield\" remaining from the alert. \r\n\r\nh6.Steps to reproduce\r\n1. Launch the application \r\n2. Tap on the button (an alert should be displayed) \r\n3. Background the application by doing double-tap on the Home button. \r\n\r\nh6.Expected behavior: \r\nWhen selecting the app again on the recently used apps screen, the alert will be shown again. \r\n\r\nh6.Current behavior: \r\nThe app shows the alert for a second before it disappears, making it impossible to use the app unless the user sends the app to the background and then to the foreground again.\r\n\r\nh6.Tested on\r\nTested on iPad Air and iPhone Simulators with Ti SDK 3.4.1.GA \r\n\r\nh6.Sample Code\r\n{code}\r\nTitanium.UI.setBackgroundColor('#000');\r\nvar win1 = Titanium.UI.createWindow({\r\n\ttitle : 'Window',\r\n\tbackgroundColor : '#fff'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n\ttitle : 'Click Me!!!',\r\n\twidth : 200,\r\n\theight : 100\r\n});\r\n\r\nvar alert = Titanium.UI.createAlertDialog({\r\n\tpersistent : true,\r\n\tmessage : \"Should be persistent always but I'm not working properly when double-clicking the home button on iPad!!!\",\r\n\tok : 'Okay',\r\n\ttitle : 'Am I persistent?'\r\n});\r\n\r\nbutton.addEventListener('click', function() {\r\n\talert.show();\r\n});\r\n\r\nwin1.add(button);\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS7: Alert with persistent: true locks up app when returning from multi-tasking", "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": "iOS7\r\nTiSDK 3.4.1.GA", "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }