{ "id": "90351", "key": "TIMOB-8753", "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": { "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-02-25T17:29:20.000+0000", "created": "2012-04-17T10:03:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "exalture", "tbs-2.1.0" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2017-03-21T22:30:13.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If a view has both \"click\" and \"touch\" listeners, the click\r\nevents do not fire.\r\n\r\n{code}\r\n\r\nvar win =Ti.UI.createWindow();\r\n\r\nvar view = Ti.UI.createView({\r\n\twidth: 100, height: 100,\r\n\tbackgroundColor: \"blue\"\r\n});\r\n\r\n// This will not fire if the \"touchstart\" listener\r\n// bellow is enabled.\r\nview.on(\"click\", function() {\r\n\tview.backgroundColor = \"red\";\r\n});\r\n\r\n// If this listener is commented out, the click\r\n// events will fire properly.\r\nview.on(\"touchstart\", function() {\r\n\tview.backgroundColor = \"yellow\";\r\n});\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: View \"click\" events do not fire when touch listeners are present.", "creator": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "239660", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Tested with 3.1.0, I can see both Yellow background on touch and then it turns to Red.", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-02-25T17:29:20.000+0000", "updated": "2013-02-25T17:29:20.000+0000" }, { "id": "414578", "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:30:13.000+0000", "updated": "2017-03-21T22:30:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }