{ "id": "76912", "key": "TIMOB-4497", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-06-12T18:35:55.000+0000", "created": "2011-06-27T05:45:26.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-12T18:35:55.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": "When the following code is run, the click event will not fire. However, it will fire if the touchstart and touchend events are uncommented.\r\n\r\nIn addition to this, be aware of the related issues TIMOB-4498 and TIMOB-4499\r\n\r\n{code:lang=javascript}\r\nTi.UI.backgroundColor = \"white\";\r\nvar win = Ti.UI.createWindow({\r\n exitOnClose: true\r\n});\r\n\r\nvar mapview = Ti.Map.createView({\r\n mapType: Ti.Map.STANDARD_TYPE,\r\n region:{latitude:33.74511, longitude:-84.38993, latitudeDelta:0.5, longitudeDelta:0.5},\r\n animate:true,\r\n regionFit:true,\r\n userLocation:true\r\n});\r\nwin.add(mapview);\r\nwin.open();\r\n\r\nmapview.addEventListener('click', function(){\r\n Ti.API.info(\"******* click event fired!!! ************\");\r\n});\r\n// mapview.addEventListener('touchstart', function(){\r\n // Ti.API.info(\"******* touchstart event fired!!! ************\");\r\n// });\r\n// mapview.addEventListener('touchend', function(){\r\n // Ti.API.info(\"******* touchend event fired!!! ************\");\r\n// });\r\n{code}", "attachment": [], "flagged": false, "summary": "mapview click event only fire when touchstart and touchend listeners are used", "creator": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": "* Titanium 1.7.1 (2011/06/17 00:13 293a6d...)\r\n* Android 2.1 (APIs)\r\n* emulator", "comment": { "comments": [ { "id": "421761", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the time passed and lack of progress since the opening of the ticket. Any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-12T18:35:55.000+0000", "updated": "2017-06-12T18:35:55.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }