{ "id": "112024", "key": "TIMOB-13286", "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": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-12-10T18:57:21.000+0000", "created": "2013-04-01T09:19:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "reprod" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-12-11T10:35:25.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": "Android: ScrollView: SingleTap event does not get fired.\r\n\r\nSteps to reproduce:\r\n1. Run timob_6711 under ScrollView module.\r\n2. Click press and Tap the red area.\r\n\r\nExpected:\r\nAn alert will be displayed saying \"singletap event fired\"\r\n\r\nActual:\r\nNo alert is displayed.", "attachment": [], "flagged": false, "summary": "Android: ScrollView: SingleTap event does not get fired.", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Device : Google Nexus 7, Android Version: 4.1\r\nSDK: 3.1.0.v20130331073351\r\nCLI version : 3.0.25-alpha\r\nOS : MAC OSX 10.7.5", "closedSprints": [ { "id": 1172, "state": "closed", "name": "2019 Sprint 25", "startDate": "2019-12-02T23:08:39.644Z", "endDate": "2019-12-15T23:08:00.000Z", "completeDate": "2019-12-16T05:54:54.518Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "288240", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Testcase:\n\n{code}\nvar win = Ti.UI.createWindow({\n backgroundColor : 'white'\n});\nvar scrollview = Ti.UI.createScrollView({\n\t\t\t\tlayout : 'vertical',\n\t\t\t\theight : '90%',\n\t\t\t\tcontentWidth : 'auto',\n\t\t\t\tcontentHeight : 'auto',\n\t\t\t\tshowVerticalScrollIndicator : true,\n\t\t\t\ttouchEnabled : true,\n\t\t\t\tbackgroundColor : 'red'\n\t\t\t});\n\t\t\t\nwin.add(scrollview);\nscrollview.addEventListener('singletap',function(){\n\talert('single tap occured');\n});\n\nscrollview.addEventListener('doubletap',function(){\n\talert('doubletap tap occured');\n});\n\nwin.open();\n\n{code}\n\nSingletap and doubletap events are not getting fired.\n\nEnvironment used:\nDevice : Google Nexus 7, Android Version: 4.4.2\nSDK: 3.2.1.v20140114125643\nCLI version : 3.2.1-beta\nOS : MAC OSX 10.9\nAlloy: 1.3.1-beta2\nACS: 1.0.11\nnpm:1.3.2\nAppcelerator Studio, build: 3.2.1.201401091743\ntitanium-code-processor: 1.1.0\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-15T07:56:54.000+0000", "updated": "2014-01-15T07:56:54.000+0000" }, { "id": "422972", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170623141152\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-27T18:46:34.000+0000", "updated": "2017-06-27T18:46:34.000+0000" }, { "id": "451732", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/11251\r\n{code}\r\n var win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n });\r\n var scrollview = Ti.UI.createScrollView({\r\n layout: 'vertical',\r\n height: '90%',\r\n contentWidth: 'auto',\r\n contentHeight: 'auto',\r\n showVerticalScrollIndicator: true,\r\n touchEnabled: true,\r\n backgroundColor: 'red'\r\n });\r\n\r\n win.add(scrollview);\r\n scrollview.addEventListener('click', function() {\r\n console.log('click');\r\n });\r\n\r\n scrollview.addEventListener('singletap', function() {\r\n console.log('single tap occured');\r\n });\r\n\r\n scrollview.addEventListener('doubletap', function() {\r\n console.log('doubletap tap occured');\r\n });\r\n\r\n win.open();\r\n{code}", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-09-30T22:54:47.000+0000", "updated": "2019-09-30T22:54:47.000+0000" }, { "id": "453136", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/11251", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-12-10T18:50:23.000+0000", "updated": "2019-12-10T18:50:23.000+0000" }, { "id": "453137", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master (did CR and FR) for 9.0.0", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-12-10T19:31:32.000+0000", "updated": "2019-12-10T19:31:32.000+0000" }, { "id": "453143", "author": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "body": "Fix verified in build: 9.0.0.v20191210172911. Single tap/double tap events fire as expected. Tested with multiple Pixel 3 simulators and Pixel 3a device. Ticket closed.", "updateAuthor": { "name": "ssaddique", "key": "ssaddique", "displayName": "Sohail Saddique", "active": true, "timeZone": "Europe/London" }, "created": "2019-12-11T10:34:51.000+0000", "updated": "2019-12-11T10:34:51.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }