{ "id": "94449", "key": "TIMOB-9944", "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": "13870", "description": "", "name": "Sprint 2012-16 API", "archived": true, "released": true, "releaseDate": "2012-08-13" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-12-21T05:28:52.000+0000", "created": "2012-07-05T09:08:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "community", "module_tableview", "qe-review", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "21919", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103132", "key": "TIMOB-11385", "fields": { "summary": "Android: TableView - RunTime Error as a result of clicking a tableView row ", "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": "27879", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "112821", "key": "TIMOB-13580", "fields": { "summary": "iOS: ScrollViews inside TableViewRow supressing all click events", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-04-17T18:19:26.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": "{code}\r\n/*\r\n * A simple project based on Single Window Application Template:\r\n * to test minimal cases\r\n */\r\n\r\n//bootstrap and check dependencies\r\nif (Ti.version < 1.8 ) {\r\n\talert('Sorry - this application template requires Titanium Mobile SDK 1.8 or later');\t \t\r\n}\r\n\r\n// This is a single context application with mutliple windows in a stack\r\n(function() {\t\r\n\tvar self = Titanium.UI.createWindow({\r\n title: 'Window',\r\n backgroundColor: 'white',\r\n }); \r\n\r\n\r\n var row;\r\n var data = [];\r\n \r\n for(i=0;i<10;i++) {\r\n var l = Ti.UI.createLabel({text: \"Test row \" + i, left: '10dp', right: '30dp' });\r\n var r = Ti.UI.createTableViewRow({rownumber: i, hasCheck: false, backgroundColor: '#eeeeee', className: 'datarow'});\r\n r.add(l);\r\n data.push(r);\r\n }\r\n \r\n var tv = Ti.UI.createTableView({\r\n data: data,\r\n backgroundColor: 'transparent',\r\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n minRowHeight: '52dp',\r\n top: '30dp', bottom: '60dp'\r\n });\r\n\r\n tv.addEventListener('click', function(e){\r\n Ti.API.info(\"Row number \" + e.row.rownumber + \" clicked\");\r\n e.row.hasCheck = !e.row.hasCheck;\r\n });\r\n \r\n self.add(tv);\r\n self.open();\r\n})();\r\n{code}\r\n\r\nRun the above code\r\nClick row 1\r\nScroll up \"using row 6\" so that row 1 disappears from view and 2 is top\r\nClick row 4\r\nA check will appear in row 6 and event will fire saying row 6 clicked\r\n", "attachment": [], "flagged": false, "summary": "iOS: Scroll click event hanging over in event firing for iOS tableview", "creator": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "environment": "iOS 5.0\r\nSimulator + iPad hardware\r\nWorks as expected on Android 4.0", "comment": { "comments": [ { "id": "201565", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "I would really appreciate some sort of patch for this ASAP. It effects a medical app we have out and essentially this bug results in a mis-calculation of a score.\r\n\r\nThanks\r\n", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-05T09:11:05.000+0000", "updated": "2012-07-05T09:11:05.000+0000" }, { "id": "202382", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "A further test case that causes problems is the addition of layout vertical to the containing window.\r\nIn the example below commenting out the top and bottom values \"fixes\" the problem\r\nun-commneting the {code}//layout: 'vertical'{code} will cause the same issue despite the top and bottom remaining commented out\r\n\r\n{code}\r\n(function() {\t\r\n\tvar self = Titanium.UI.createWindow({\r\n title: 'Window',\r\n backgroundColor: 'white',\r\n //layout: 'vertical'\r\n }); \r\n\r\n\r\n var row;\r\n var data = [];\r\n \r\n for(i=0;i<10;i++) {\r\n var l = Ti.UI.createLabel({text: \"Test row \" + i, left: '10dp', right: '30dp' });\r\n var r = Ti.UI.createTableViewRow({rownumber: i, hasCheck: false, backgroundColor: '#eeeeee', className: 'datarow'});\r\n r.add(l);\r\n data.push(r);\r\n }\r\n \r\n var tv = Ti.UI.createTableView({\r\n data: data,\r\n backgroundColor: 'transparent',\r\n style: Ti.UI.iPhone.TableViewStyle.GROUPED,\r\n minRowHeight: '52dp',\r\n //top: '30dp', bottom: '60dp'\r\n });\r\n\r\n tv.addEventListener('click', function(e){\r\n Ti.API.info(\"Row number \" + e.row.rownumber + \" clicked\");\r\n e.row.hasCheck = !e.row.hasCheck;\r\n });\r\n \r\n self.add(tv);\r\n self.open();\r\n})();\r\n{code}", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-10T11:23:37.000+0000", "updated": "2012-07-10T11:23:37.000+0000" }, { "id": "202763", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi Neville,\r\n\r\nCould you please provide info about the Ti SDK that you are using? Does this issue also occur in 2.1.0.GA (if you are not using it) or the latest CI build?", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-07-11T15:04:42.000+0000", "updated": "2012-07-11T15:04:42.000+0000" }, { "id": "202766", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Sorry, yes it was on 2.1.0 GA, but I also tested on 2.0.1 and occurs in that too. Haven't tried 1.8.x", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-11T15:10:06.000+0000", "updated": "2012-07-11T15:10:06.000+0000" }, { "id": "208643", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Sorry, is there any news on this. It's a pretty serious bug. More than medium I would suggest.", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-20T03:34:37.000+0000", "updated": "2012-07-20T03:34:37.000+0000" }, { "id": "210842", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "For some reason, I am still having issues trying to recreate this, even in 2.1. Is there any hints or technique in triggering this?", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-31T14:36:16.000+0000", "updated": "2012-07-31T14:36:16.000+0000" }, { "id": "210851", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "That is odd. It issue occurs very consistently for me. Certainly on the iPhone simulator. I'll try again on the iPad hardware. Does that mean when you follow the steps above, it doesn't occur for you?", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-07-31T14:51:46.000+0000", "updated": "2012-07-31T14:51:46.000+0000" }, { "id": "213191", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tested on IOS Sim (4.3, 5.0, 5.1), iPAD3 (5.1.1) and iPod touch (4.3.5) with 2.1.1 GA and current master. Can not reproduce the issue with either of the attached test cases.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-07T12:45:27.000+0000", "updated": "2012-08-07T12:45:27.000+0000" }, { "id": "213245", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "I still get this issue. I have just re-built using SDK 2.1.1 GA on OSX 10.6 IOS Sim 5.0\r\nHere is the video http://www.youtube.com/watch?v=AtpqJLQFV4c\r\nAnd using this code. Different to above as was trying to narrow down further.\r\n\r\n{code}\r\n(function() {\r\n\tvar self = Titanium.UI.createWindow({\r\n title: 'Window',\r\n backgroundColor: 'white',\r\n }); \r\n\r\n\r\n var row;\r\n var data = [];\r\n \r\n for(i=0;i<10;i++) {\r\n var l = Ti.UI.createLabel({text: \"Test row \" + i, left: '10dp', right: '30dp' });\r\n var r = Ti.UI.createTableViewRow({\r\n height: 55, rownumber: i, hasCheck: false, backgroundColor: '#eeeeee', className: 'datarow'});\r\n r.add(l);\r\n data.push(r);\r\n }\r\n \r\n var tv = Ti.UI.createTableView({\r\n data: data,\r\n backgroundColor: 'transparent',\r\n height: 'auto'\r\n });\r\n\r\n tv.addEventListener('click', function(e){\r\n Ti.API.info(\"Row number \" + e.row.rownumber + \" clicked\");\r\n e.row.hasCheck = !e.row.hasCheck;\r\n });\r\n \r\n self.add(tv);\r\n self.open();\r\n})();\r\n{code}", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-08-07T15:59:05.000+0000", "updated": "2012-08-07T15:59:05.000+0000" }, { "id": "213324", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Thanks for the video. Seems to be a valid issue", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-08T10:21:01.000+0000", "updated": "2012-08-08T10:21:01.000+0000" }, { "id": "213378", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pull pending https://github.com/appcelerator/titanium_mobile/pull/2698", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-08-08T13:29:00.000+0000", "updated": "2012-08-08T13:29:00.000+0000" }, { "id": "213940", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull merged.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-10T19:36:02.000+0000", "updated": "2012-08-10T19:36:02.000+0000" }, { "id": "214420", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix with:\r\nTitanium Studio, build: 2.1.1.201207271312\r\nTitanium SDK: 2.2.0.v20120813184911\r\nDevices:\r\niPhone 4s 5.0.1\r\niPad1 5.1.1\r\nSimulator 5.1\r\n\r\nNote:in Console\r\n[INFO] Row number # clicked reflects # of Row actually clicked:)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-14T13:56:02.000+0000", "updated": "2012-08-14T13:56:02.000+0000" }, { "id": "217945", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening to edit label", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-06T22:33:36.000+0000", "updated": "2012-09-06T22:33:36.000+0000" }, { "id": "228369", "author": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "body": "Nice to see a fix, but months after PR still not in released SDKs. Is there a reason for the delay?\r\n\r\nThanks\r\n", "updateAuthor": { "name": "ndastur", "key": "ndastur", "displayName": "Neville Dastur", "active": true, "timeZone": "Europe/London" }, "created": "2012-11-24T19:15:10.000+0000", "updated": "2012-11-24T19:15:10.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }