{ "id": "130941", "key": "TIMOB-17035", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-27T23:23:55.000+0000", "created": "2014-05-27T23:17:24.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_scrollview", "qe-3.3.0", "qe-testadded", "regression" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "37828", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "113099", "key": "TIMOB-13626", "fields": { "summary": "Blackberry: click event should not fire after finger move", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:44.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "h5. To reproduce\r\n1. Create the default app and replace app.js with the code below\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n \r\nvar scrollView = Ti.UI.createScrollView({\r\n backgroundColor: 'white',\r\n layout: 'vertical',\r\n contentWidth: Ti.UI.FILL,\r\n contentHeight: Ti.UI.SIZE\r\n});\r\n \r\nfor(var i = 0; i < 20; i++) {\r\n var btn = Ti.UI.createButton({\r\n top: 10,\r\n title: 'Hello'\r\n });\r\n scrollView.add(btn);\r\n}\r\n \r\nwin.add(scrollView);\r\n \r\nscrollView.addEventListener('click', function(e){\r\n Ti.API.info(JSON.stringify(e));\r\n});\r\n \r\nwin.open();\r\n{code}\r\n\r\n2. Build for BB device \r\n3. Scroll view outside labels and observe the console output\r\n\r\nh5. Actual result\r\nno output\r\nh5. Expected result\r\nsimilar to this \r\n{code}\r\n[INFO] {\"x\":694,\"y\":598,\"source\":{}}\r\n{code} \r\noutput in the console which indicates the coordinates of your touch on the scrollview\r\n\r\nh5. Note\r\nchanging 'click' to 'touchstart'\r\n\r\nwill fire\r\n{code}\r\n[INFO] {\"type\":\"touchstart\",\"x\":294,\"y\":401,\"source\":{}}\r\n[INFO] {\"type\":\"touchstart\",\"x\":290,\"y\":439,\"source\":{}}\r\n[INFO] {\"type\":\"touchstart\",\"x\":292,\"y\":397,\"source\":{}}\r\n{code}", "attachment": [], "flagged": false, "summary": "BlackBerry: ScrollView:EventListener-click event does not fire", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac osx 10.9.3 Mavericks \r\nAppcelerator Studio, build: 3.3.0.201405211748\r\nTitanium SDK, build: 3.3.0.v20140524224144 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-alpha4 \r\nnpm@1.3.2 \r\ntitanium@3.3.0-alpha5 \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)", "comment": { "comments": [ { "id": "306560", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed with the PR from TIMOB-14251", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T23:23:55.000+0000", "updated": "2014-05-27T23:23:55.000+0000" }, { "id": "309184", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested using\r\nMac osx 10.9.3 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201406111952\r\nTitanium SDK, build: 3.3.0.v20140613161751\r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-rc \r\nnpm@1.3.2 \r\ntitanium@3.3.0-rc \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)\r\nEventListener-click event does fire\r\n{code}\r\n[INFO] {\"type\":\"click\",\"x\":284,\"y\":436,\"source\":{\"backgroundColor\":\"white\",\"layout\":\"vertical\",\"contentWidth\":\"UI.FILL\",\"contentHeight\":\"UI.SIZE\"}}\r\n[INFO] {\"type\":\"click\",\"x\":283,\"y\":436,\"source\":{\"backgroundColor\":\"white\",\"layout\":\"vertical\",\"contentWidth\":\"UI.FILL\",\"contentHeight\":\"UI.SIZE\"}}\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T20:29:15.000+0000", "updated": "2014-06-16T20:30:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }