{ "id": "88107", "key": "TIMOB-8069", "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": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-04T12:43:48.000+0000", "created": "2012-03-16T16:10:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_scrollview", "qe-testadded" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2012-04-04T12:43:48.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": "Horizontal scrollViews are losing their click events. This seems to be an issue when passing commonJS modules through to other modules. Attached is an example.", "attachment": [ { "id": "26305", "filename": "Archive.zip", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2012-03-16T16:10:53.000+0000", "size": 2457879, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Click events missing on scrollViews in 2.0", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": "iOS 5.1\r\nTi SDK 2.0.0.v20120316074737 (CI Build 3/16)", "comment": { "comments": [ { "id": "186974", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test Code\r\n{code}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\n\r\nvar scrollView = Ti.UI.createScrollView({\r\n\twidth:200,\r\n\theight:200,\r\n\tcontentWidth:\"auto\",\r\n\tcontentHeight:\"auto\",\r\n\tbackgroundColor:'red'\r\n})\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext:\"Hi There\",\r\n\tbackgroundColor:'blue'\r\n})\r\n\r\nlabel.addEventListener('click',function(e){\r\n\tTi.API.info('Label Clicked');\r\n})\r\n\r\nscrollView.addEventListener('click',function(e){\r\n\tif (e.source == label)\r\n\t{\r\n\t\tTi.API.info(\"ScrollView got label click\");\r\n\t}\r\n\telse {\r\n\t\tTi.API.info('ScrollView Clicked');\r\n\t}\r\n})\r\n\r\nscrollView.add(label);\r\nwin.add(scrollView);\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-18T13:21:29.000+0000", "updated": "2012-03-18T13:21:29.000+0000" }, { "id": "187144", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing bug. Horizontal scrollViews are working fine with their click events.\r\nVerified fix on:\r\n\r\nSDK build: 2.0.0.v20120319003254\r\nTitanium Studio, build: 2.0.0.201203182248\r\nDevice: iphone4(iOS 5.1)", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-19T12:35:52.000+0000", "updated": "2012-03-19T12:35:52.000+0000" }, { "id": "189856", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add/remove labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T12:43:20.000+0000", "updated": "2012-04-04T12:43:20.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }