{ "id": "100157", "key": "TIMOB-10710", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14127", "description": "Sprint 2012-19 API", "name": "Sprint 2012-19 API", "archived": true, "released": true, "releaseDate": "2012-09-24" }, { "id": "14271", "description": "2012 Sprint 19", "name": "2012 Sprint 19", "archived": true, "released": true, "releaseDate": "2012-09-24" } ], "resolution": null, "resolutiondate": null, "created": "2012-08-29T16:15:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_alertdialog", "module_optiondialog", "parity", "qe-and100112", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "20454", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "84416", "key": "TIMOB-6994", "fields": { "summary": "iOS: UI - AlertDialog needs to be displayed after locking & unlocking the phone", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "21333", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "101626", "key": "TIMOB-11033", "fields": { "summary": "iOS: Implement persistent support for Ti.UI.OptionDialog", "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": null, "updated": "2018-02-28T20:04:16.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": null, "attachment": [], "flagged": false, "summary": "Android: Add persistent property support to Titanium.UI.AlertDialog and Titanium.UI.OptionDialog", "creator": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "218760", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\r\n\r\n--- AlertDialog ---\r\n{code}\r\n// this sets the background color of the master UIView (when there are no windows/tab groups on it)\r\nTitanium.UI.setBackgroundColor('#000');\r\n \r\nvar tabGroup = Titanium.UI.createTabGroup();\r\n \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\ntabGroup.addTab(tab1); \r\n \r\ntabGroup.open();\r\n\r\n \r\nvar alertDialog = Titanium.UI.createAlertDialog({\r\n title : \"Title\",\r\n message : \"Message\",\r\n buttonNames : [\"Yes\", \"No\"],\r\n persistent: false\r\n});\r\nalertDialog.show();\r\n{code}\r\n1. Run the code above. Click home key and go back to the app, and you should NOT see the dialog.\r\n\r\n--- OptionDialog ---\r\n{code}\r\nTi.UI.setBackgroundColor('white');\r\nvar win = Ti.UI.createWindow({\r\n title: 'Click window to test',\r\n backgroundColor: 'white',\r\n exitOnClose: true,\r\n fullscreen: false\r\n});\r\n\r\nvar opts = {\r\n cancel: 2,\r\n options: ['Confirm', 'Help', 'Cancel'],\r\n selectedIndex: 2,\r\n destructive: 0,\r\n persistent: false,\r\n title: 'Delete File?'\r\n};\r\n\r\nwin.addEventListener('click', function(e){\r\n var dialog = Ti.UI.createOptionDialog(opts).show();\r\n});\r\nwin.open();\r\n{code}\r\n\r\n1. Run code. Click on screen. Press home key. Go back to app. Dialog should disappear.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-12T18:44:17.000+0000", "updated": "2012-09-20T16:44:06.000+0000" }, { "id": "222562", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue. \"Normal alert\" does not go away after backgrounding the app.\r\nTested on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium SDK, build: 3.0.0.v20121007054913\r\nDevice: Samsung Galaxy III (4.0.4)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-08T18:51:57.000+0000", "updated": "2012-10-08T18:51:57.000+0000" }, { "id": "245691", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this issue as \"Normal alert\" does not go away after backgrounding the app.\r\n\r\nTested With:\r\nSDK - 3.1.0.v20130403114957, 3.0.2.GA\r\nStudio - 3.1.0.201304011603\r\nDevice - Samsung Galaxy Note (v2.3.6)\r\nOS - OSX 10.8", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-04T11:02:42.000+0000", "updated": "2013-04-04T11:02:42.000+0000" }, { "id": "387342", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works fine for me, \"persistent\" property works as expected. Closing ticket until further info.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-01T21:52:42.000+0000", "updated": "2016-06-01T21:52:42.000+0000" }, { "id": "399801", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening the issue as \"Normal alert\" doesn't go away after you background the app. \r\n\r\n*Tested with:*\r\nStudio 4.8.0.201610171310\r\nTi SDK 6.0.0.v20161024184632\r\nAppc NPM \r\nAppc CLI 6.0.0-61\r\nTi CLI 5.0.10\r\nDevice - Nexus 4 (4.2.1), Galaxy S4 (4.4.4), Nexus 6 (6.0.1)", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-25T17:32:37.000+0000", "updated": "2016-10-25T17:32:37.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }