{ "id": "97705", "key": "TIMOB-10054", "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-03-27T08:53:08.000+0000", "created": "2012-07-20T02:41:19.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "parity", "qe-ios070112" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:16:17.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": "Click event of view not fired when view clicked immediately after dismissing an alert.\r\n\r\nThis is not a regression. The issue occurs as far as 1.8.2\r\n\r\nSteps to Reproduce:\r\n1. Create an application with code below and launch the app\r\n2. Click on the label 'Click Me'. An alert is shown\r\n3. Dismiss the alert and immediately click on the red view. (the issue does not occur if view is not clicked instantly)\r\n\r\nActual: The click event does not fire for the view\r\nExpected: An alert should appear and info logged in console on click of view\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar view = Titanium.UI.createView({\r\n\tbackgroundColor : 'red',\r\n\theight : 50,\r\n\ttop: 100\r\n});\r\nvar label=Ti.UI.createLabel({\r\n\ttext:\"Click Me\",\r\n\ttop:0\r\n})\r\nview.addEventListener('click', function(e){\r\n\talert('clicked');\r\n\tTi.API.info('clicked');\r\n});\r\nlabel.addEventListener('click', function(e){\r\n\talert('clicked label');\r\n\t//Ti.API.info('clicked label');\r\n});\r\nwin.add(label);\r\nwin.add(view);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: View: Click event of view not fired when view clicked immediately after dismissing an alert", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 2.1.1.201207171343\r\nTitanium SDK: 2.1.1.v20120718121609\r\nDevice: iPhone 4S (v5.1), iPhone Simulator (v5.0)", "comment": { "comments": [ { "id": "244268", "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: 6.0 , 5.1\r\n", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-27T08:53:08.000+0000", "updated": "2013-06-20T12:56:36.000+0000" }, { "id": "414558", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:16:17.000+0000", "updated": "2017-03-21T22:16:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }