{ "id": "171964", "key": "AC-5810", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-07-25T06:28:22.000+0000", "created": "2018-07-24T08:48:25.000+0000", "labels": [ "alertDialog", "bug", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-07-25T06:37:27.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "For the following code:\r\n\r\n*index.xml*\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n*index.js*\r\n{code:javascript}\r\n$.win.open();\r\nfunction onClickButton() {\r\n\tvar dialog = Ti.UI.createAlertDialog({\r\n\t\ttitle: \"Hello World!\",\r\n\t\tmessage: \"hi\",\r\n // buttonNames: ['OK']\r\n ok: \"OK\"\r\n\t});\r\n\tdialog.addEventListener(\"click\", function () {\r\n\t\talert(\"You clicked!\");\r\n\t});\r\n\tdialog.show();\r\n}\r\n{code}\r\n\r\nOn 6.3.0.GA, the alert dialog with the message \"You clicked!\" would correctly appear if you:\r\n 1. Click the background surrounding the dialog\r\n 2. Press the back hardware button\r\n 3. Click the \"OK\" button (provided you of course you have a button with the dialog)\r\n\r\nHowever, for 7.2.0.GA, (1) and (2) does not work.\r\nHowever (3) does work (i.e. when clicking the \"OK\" button)\r\n\r\nI have not tested this on iOS with the new SDK version.\r\n", "attachment": [], "flagged": false, "summary": "Android: Click event not triggering for alert dialog for SDK 7+ when tapping outside the dialog", "creator": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK: 7.0.0.GA and greater", "comment": { "comments": [ { "id": "439445", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~yahya12], We have tested the issue. We aren't able to reproduce it. We have tested on SDK 7.2.0.GA in both Android and iOS. Can you provide the full code that you are trying? Thanks. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-07-24T16:23:15.000+0000", "updated": "2018-07-24T16:23:15.000+0000" }, { "id": "439465", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~yahya12] Instead of using the {{ok}} property, does it work with using {{buttonNames: ['OK']}} instead? We should still validate this.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-25T06:23:04.000+0000", "updated": "2018-07-25T06:23:04.000+0000" }, { "id": "439467", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the ticket updates [~yahya12]. This specific one has been fixes as part of TIMOB-25977 for 7.3.0.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-25T06:28:23.000+0000", "updated": "2018-07-25T06:28:23.000+0000" }, { "id": "439468", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "Same applies with buttonNames as well.", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-25T06:31:32.000+0000", "updated": "2018-07-25T06:31:32.000+0000" }, { "id": "439469", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "Good to know it's been fixed. When is 7.3.0 planning to be released aprox?", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-25T06:31:59.000+0000", "updated": "2018-07-25T06:31:59.000+0000" }, { "id": "439470", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Next week. You can use it already by installing it via {{appc ti sdk install -b 7_3_X}}.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-25T06:34:20.000+0000", "updated": "2018-07-25T06:34:20.000+0000" }, { "id": "439472", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "Is that the release candidate or general release? ", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-25T06:35:48.000+0000", "updated": "2018-07-25T06:35:48.000+0000" }, { "id": "439473", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's the pre-RC version. RC is planned for this week, GA next week.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-25T06:36:54.000+0000", "updated": "2018-07-25T06:36:54.000+0000" }, { "id": "439474", "author": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "body": "Cheers. Thanks a lot!", "updateAuthor": { "name": "yahya12", "key": "yahya12", "displayName": "Yahya Uddin", "active": true, "timeZone": "Europe/London" }, "created": "2018-07-25T06:37:27.000+0000", "updated": "2018-07-25T06:37:27.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }