{ "id": "114966", "key": "TIMOB-13994", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2013-10-14T20:20:32.000+0000", "created": "2013-05-26T19:20:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "triage" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T18:18:28.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": "*Problem*\r\nThe 'click', 'touchcancel', 'touchend', 'touchmove' and 'touchstart' events don't fire for a NavigationGroup. These are all documented as available:\r\n\r\nhttp://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPhone.NavigationGroup\r\n\r\n*Note*\r\nThe 'dblclick', 'doubletap', 'longpress', 'pinch', 'singletap' and 'swipe' events actually work.\r\n\r\n*Steps to reproduce*\r\n1. Run test case in iOS simulator\r\n2. Click and swipe anywhere in the navigation bar\r\n3. Observe that none of the added events are firing\r\n\r\n*Test case*\r\n{code:javascript}\r\nvar win1 = Titanium.UI.createWindow();\r\n\r\nvar win2 = Titanium.UI.createWindow({\r\n\tbackgroundColor : 'white',\r\n\ttitle : 'Nav Window'\r\n});\r\n\r\nvar nav = Titanium.UI.iPhone.createNavigationGroup({\r\n\twindow : win2\r\n});\r\n\r\nnav.addEventListener('click', function() {\r\n\tTi.API.info(\"click\");\r\n});\r\nnav.addEventListener('touchcancel', function() {\r\n\tTi.API.info(\"touchcancel\");\r\n});\r\nnav.addEventListener('touchend', function() {\r\n\tTi.API.info(\"touchend\");\r\n});\r\nnav.addEventListener('touchmove', function() {\r\n\tTi.API.info(\"touchmove\");\r\n});\r\nnav.addEventListener('touchstart', function() {\r\n\tTi.API.info(\"touchstart\");\r\n});\r\n\r\nwin1.add(nav);\r\nwin1.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: NavigationGroup touch and click events don't work", "creator": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 3.1 GA, 3.2 CI\r\niOS 6 simulator", "comment": { "comments": [ { "id": "275035", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "NavigationGroup is deprecated as of 3.1.3, and will be removed in 3.2.0", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T20:20:32.000+0000", "updated": "2013-10-14T20:20:32.000+0000" }, { "id": "414856", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:18:28.000+0000", "updated": "2017-03-22T18:18:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }