{ "id": "120985", "key": "TIMOB-15448", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-08-13T03:09:26.000+0000", "created": "2013-10-09T08:27:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios7", "qe-3.2.1" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "32990", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "120663", "key": "AC-2340", "fields": { "summary": "Titanium 3.1.3GA > IOS > Clicking on a map annotation's title or subtitle doesn't trigger a click event", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33090", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "121204", "key": "TIMOB-15545", "fields": { "summary": "iOS7: Clicking on map view annotation does not fire event", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48391", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "149127", "key": "TIMOB-19215", "fields": { "summary": "Events on Map Annotation do not fire", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T22:04:21.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": "h5. Problem \r\nWhen clicking on an annotation in a mapview, no event is generated for SDK 7.x/8.x but it’s working well for SDK 6.1.\r\n\r\nFor more details visit http://developer.appcelerator.com/question/157471/mapview-click-event-listener-not-working-ios7\r\n\r\nh5. Test Code\r\n\r\n{code}\r\nvar win2 = Ti.UI.createWindow({\r\n\tbarColor : '#ff0000',\r\n\textendEdges : [Ti.UI.EXTEND_EDGE_ALL],\r\n});\r\n\r\nvar mountainView = Titanium.Map.createAnnotation({\r\n\tlatitude : 37.390749,\r\n\tlongitude : -122.081651,\r\n\ttitle : \"Appcelerator Headquarters\",\r\n\tsubtitle : 'Mountain View, CA',\r\n\tpincolor : Titanium.Map.ANNOTATION_RED,\r\n\tanimate : true,\r\n\tleftButton : '/images/arrow.png',\r\n\tmyid : 1 // Custom property to uniquely identify this annotation.\r\n});\r\n\r\nvar mapview = Titanium.Map.createView({\r\n\tmapType : Titanium.Map.STANDARD_TYPE,\r\n\tregion : {\r\n\t\tlatitude : 37.390749,\r\n\t\tlongitude : -122.081651,\r\n\t\tlatitudeDelta : 0.01,\r\n\t\tlongitudeDelta : 0.01\r\n\t},\r\n\tanimate : true,\r\n\tregionFit : true,\r\n\tuserLocation : true,\r\n\tannotations : [mountainView]\r\n});\r\n\r\nwin2.add(mapview);\r\n// Handle click events on any annotations on this map.\r\nmapview.addEventListener('click', function(evt){\r\n var clicksource = evt.clicksource;\r\n \r\n alert(clicksource);\r\n if (clicksource == 'title' || clicksource == 'rightButton'){ \r\n Ti.API.info('Item clicked'); \r\n }\r\n});\r\n\r\nwin2.open();\r\n\r\n{code}\r\n\r\nh5. Steps to reproduce\r\n\r\nPlease follow my steps to reproduce this bug:-\r\n\r\n# Create new project \r\n# Replace app.js code to my test code\r\n# Run with IOS SDK 6.1 \r\n# Click on annotation pin. Annotation appears with title and subtitle\r\n# Click on title or subtitle\r\n# Its shows alert message \r\n# Now change to iOS SDK 7.x/8.x and follow steps 4 to 6\r\n# For iOS 7/8, if you click on title or subtitle, alert message will not display\r\n", "attachment": [], "flagged": false, "summary": "iOS: No event generated on click of map annotation title or subtitle", "creator": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Mac OS X 10.8.5, Simulator 6.1 and Simulator 7, Ti SDK 3.1.3, 3.1.1 \r\n\r\n*More:*\r\nAppcelerator Studio, build: 3.2.1.201401311225\r\nSDK build: 3.2.0.GA, 3.2.1.v20140203160859\r\nCLI: 3.2.1-beta3\r\nAlloy: 1.3.1-cr\r\nXcode: 5.0.2\r\nDevice: ipad 2 (7.0.4)", "closedSprints": [ { "id": 50, "state": "closed", "name": "2014 Sprint 09 Tooling", "startDate": "2014-04-28T15:43:24.381Z", "endDate": "2014-05-10T03:44:00.000Z", "completeDate": "2014-05-12T13:36:16.254Z", "originBoardId": 113 } ], "comment": { "comments": [ { "id": "277330", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "So is this a bug that is going to be fixed anytime soon? hard to determine from the comments here... is there a workaround suggested.", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2013-10-30T11:31:19.000+0000", "updated": "2013-10-30T11:31:19.000+0000" }, { "id": "277353", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~aaron@clearlyinnovative.com] We are investigating and will let you know an approximate ETA.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-30T15:53:44.000+0000", "updated": "2013-10-30T15:53:44.000+0000" }, { "id": "277359", "author": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "created": "2013-10-30T16:15:47.000+0000", "updated": "2013-10-30T16:15:47.000+0000" }, { "id": "278279", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The basic problem is how mapView fires the click event.\nOn iOS it is fired when the annotation is selected or deselected, not when you click somewhere on the map.\n\nOn iOS7 clicking on an annotation that is selected does not deselect the annotation (as it does on older versions of iOS). Hence it does not fire the click event.\n\nTo fix this we would actually have to break existing behavior and redefine the events supported by the mapView. \nRight now as a workaround please use the leftbutton or rightbutton properties of the annotation and listen to the click event with the appropriate clicksource. \n\nWe will address this in the next release.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T22:19:47.000+0000", "updated": "2013-11-05T22:19:47.000+0000" }, { "id": "281503", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Is there any progress on this issue? We require this feature for a customer's app.", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2013-11-26T20:39:49.000+0000", "updated": "2013-11-26T20:39:49.000+0000" }, { "id": "281511", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~vjoshi] Apologies, not yet. It will be addressed in version 3.3.0 of the SDK.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-26T20:53:36.000+0000", "updated": "2013-11-26T20:53:36.000+0000" }, { "id": "291068", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Issue is still reproducible on iOS 7. Tested on:\n\nAppcelerator Studio, build: 3.2.1.201401311225\nSDK build: 3.2.0.GA, 3.2.1.v20140203160859\nCLI: 3.2.1-beta3\nAlloy: 1.3.1-cr\nXcode: 5.0.2\nDevice: ipad 2 (7.0.4)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-04T02:34:59.000+0000", "updated": "2014-02-04T02:34:59.000+0000" }, { "id": "303719", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "After investigation, this has more side effects than we previously thought. We need to move this to the next release. In the meantime, use the workarounds as suggested by Vishal.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-06T22:17:13.000+0000", "updated": "2014-05-06T22:17:13.000+0000" }, { "id": "355931", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Still an issue in 4.0.0.GA. No events fired when you tap on the title, subtitle, leftButton/View or rightButton/View.\r\n\r\nSimple example:\r\nhttps://gist.github.com/FokkeZB/1d2c98867f621798a5fa", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-25T08:46:30.000+0000", "updated": "2015-06-25T08:47:32.000+0000" }, { "id": "359766", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-13T03:08:59.000+0000", "updated": "2015-08-13T03:08:59.000+0000" }, { "id": "359806", "author": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "body": "TIMOB-19215 doesn't appear to be available publicly. \r\n\r\nIs there a way for the 16 or so non appc-employees watching this ticket to be able to track the new one?", "updateAuthor": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-13T13:22:58.000+0000", "updated": "2015-08-13T13:22:58.000+0000" }, { "id": "359808", "author": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "body": "this issue has been going on two years? and now we cannot track it any longer...", "updateAuthor": { "name": "aaron@clearlyinnovative.com", "key": "aaron@clearlyinnovative.com", "displayName": "Aaron K. Saunders", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-13T13:25:50.000+0000", "updated": "2015-08-13T13:25:50.000+0000" }, { "id": "359810", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~aaron@clearlyinnovative.com] [~adampax] it has been resolved and I've asked for the ticket to be made public.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-08-13T13:40:56.000+0000", "updated": "2015-08-13T13:41:30.000+0000" }, { "id": "360195", "author": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "There is still an issue with click event detection for \"title\" element. Tested on Iphone 6 with Ti.MAP version 2.3.3. and Titanium v 4.1.0 GA.\r\n\r\nUpdate: leftPane and leftView element clicks also dont throw events.", "updateAuthor": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T14:35:10.000+0000", "updated": "2015-08-18T17:04:20.000+0000" }, { "id": "360209", "author": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "body": "[~nradaev] The new ticket TIMOB-19215 says the issue has been resolved in SDK 4.1.1. You will need to wait until 4.1.1 is released or test with a [continuous build|http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Titanium_SDK_Continuous_Builds]", "updateAuthor": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-18T17:15:09.000+0000", "updated": "2015-08-18T17:15:09.000+0000" }, { "id": "360213", "author": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Retested with 4.1.1 v20160816214204 and confirmed that issues described in my comment above +still present+.", "updateAuthor": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-08-18T17:31:28.000+0000", "updated": "2015-08-18T17:31:28.000+0000" }, { "id": "360219", "author": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "body": "You may want to post your findings on that ticket as well.", "updateAuthor": { "name": "adampax", "key": "adampax", "displayName": "Adam Paxton", "active": true, "timeZone": "America/New_York" }, "created": "2015-08-18T18:09:03.000+0000", "updated": "2015-08-18T18:09:03.000+0000" }, { "id": "416281", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate, with reference to the above link, which was fixed in August 2015.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T22:04:21.000+0000", "updated": "2017-03-29T22:04:21.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }