{ "id": "113099", "key": "TIMOB-13626", "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": "15113", "description": "2013 Sprint 08 BB", "name": "2013 Sprint 08 BB", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-22T18:55:56.000+0000", "created": "2013-04-19T00:21:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_scrollview", "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [ { "id": "27947", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "111878", "key": "TIMOB-13256", "fields": { "summary": "BlackBerry: ScrollView 'click' event is firing even when just scrolling", "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 } } } }, { "id": "37828", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "130941", "key": "TIMOB-17035", "fields": { "summary": "BlackBerry: ScrollView:EventListener-click event does 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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:44:34.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": "The click event needs to fire when a view detects a click only. Right now it fires on \"finger up\", even if the finger moved. In this case only the \"touchmove\" event should fire.\r\n\r\nh3. Test Case\r\n{code:javascript}\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}", "attachment": [], "flagged": false, "summary": "Blackberry: click event should not fire after finger move", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "248286", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile_blackberry/pull/29\n", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T01:39:14.000+0000", "updated": "2013-04-19T01:39:14.000+0000" }, { "id": "250533", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue. Now the event is fired only on a click & not on finger move.\r\nThus closing the issue.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201305031650\r\nTi BB SDK : 3.2.0.v20130506213759\r\nMac OSX : 10.8.2\r\nZ10 BB simulator : 10.0.10.261\r\nQ10 Simulator : 10.1.0.1020\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-07T10:25:32.000+0000", "updated": "2013-05-07T10:25:32.000+0000" }, { "id": "250766", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Also verified on build 3.1.1.v20130507184555 & works as expected.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-08T10:17:26.000+0000", "updated": "2013-05-08T10:17:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }